Skip to content

Commit

Permalink
Remove "bittrex" venue
Browse files Browse the repository at this point in the history
  • Loading branch information
runeksvendsen committed Jan 8, 2024
1 parent ec5f232 commit 93c480b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 146 deletions.
1 change: 0 additions & 1 deletion crypto-venues.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ library
CryptoVenues.Venues.Bitfinex
CryptoVenues.Venues.Bitfinex.Mapping
CryptoVenues.Venues.Bitstamp
CryptoVenues.Venues.Bittrex
CryptoVenues.Venues.Coinbase
CryptoVenues.Venues.Common.ScientificOrder
other-modules:
Expand Down
6 changes: 0 additions & 6 deletions src/CryptoVenues/Types/ABook.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ import qualified OrderBook.Types as OB

import qualified Data.Aeson as Json
import Data.Aeson ((.=), (.:))
import Data.Proxy (Proxy(..))
import GHC.TypeLits (KnownSymbol, SomeSymbol(..)
, symbolVal, someSymbolVal
)
import Data.Maybe (fromMaybe)

-- | Just some order book
data ABook =
Expand Down Expand Up @@ -102,7 +97,6 @@ data MarketBookVenue =

marketBookVenue :: String -> Maybe MarketBookVenue
marketBookVenue "bitfinex" = Just . MarketBookVenue $ Proxy @"bitfinex"
marketBookVenue "bittrex" = Just . MarketBookVenue $ Proxy @"bittrex"
marketBookVenue "binance" = Just . MarketBookVenue $ Proxy @"binance"
marketBookVenue "bitstamp" = Just . MarketBookVenue $ Proxy @"bitstamp"
marketBookVenue "coinbase" = Just . MarketBookVenue $ Proxy @"coinbase"
Expand Down
3 changes: 0 additions & 3 deletions src/CryptoVenues/Venues.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import CryptoVenues.Fetch.MarketBook
import CryptoVenues.Venues.Coinbase as Coinbase ()
import CryptoVenues.Venues.Bitstamp as Bitstamp ()
import qualified CryptoVenues.Venues.Bitfinex as Bitfinex
import CryptoVenues.Venues.Bittrex as Bittrex ()
import CryptoVenues.Venues.Binance as Binance ()

import qualified Data.HashMap.Strict as HM
Expand All @@ -28,7 +27,6 @@ instance MarketBook "bitfinex" where
allVenues :: [AnyVenue]
allVenues =
[ AnyVenue (Proxy :: Proxy "bitfinex")
, AnyVenue (Proxy :: Proxy "bittrex")
, AnyVenue (Proxy :: Proxy "binance")
, AnyVenue (Proxy :: Proxy "bitstamp")
, AnyVenue (Proxy :: Proxy "coinbase")
Expand All @@ -47,4 +45,3 @@ venueLookup :: Text -> Maybe AnyVenue
venueLookup = (`HM.lookup` venueMap)



136 changes: 0 additions & 136 deletions src/CryptoVenues/Venues/Bittrex.hs

This file was deleted.

0 comments on commit 93c480b

Please sign in to comment.