Skip to content

Commit

Permalink
adds Bitcoin Cash
Browse files Browse the repository at this point in the history
  • Loading branch information
delta575 committed Nov 12, 2017
1 parent 649a5bf commit a53af97
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
6 changes: 6 additions & 0 deletions trading_api_wrappers/bitfinex/constants_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,24 @@ class Symbol(_Enum):
ZECBTC = 'zecbtc'
XMRUSD = 'xmrusd'
XMRBTC = 'xmrbtc'
BCHUSD = 'bchusd'
BCHBTC = 'bchbtc'
BCHETH = 'bcheth'


# Bitfinex supported currencies
class Currency(_Enum):
USD = 'usd'
BTC = 'btc'
ETH = 'eth'
BCH = 'bch'


# Bitfinex supported symbols
class SymbolV2(_Enum):
BTCUSD = 'tBTCUSD'
BCHUSD = 'tBCHUSD'
BCHBTC = 'tBCHBTC'
LTCUSD = 'tLTCUSD'
ETHUSD = 'tETHUSD'
ETHBTC = 'tETHBTC'
Expand Down
6 changes: 5 additions & 1 deletion trading_api_wrappers/bitfinex/constants_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ class Path(object):

# Bitfinex supported symbols
class Symbol(_Enum):
BCHUSD = 'tBCHUSD'
BCHBTC = 'tBCHBTC'
BTCUSD = 'tBTCUSD'
LTCUSD = 'tLTCUSD'
ETHUSD = 'tETHUSD'
Expand All @@ -32,8 +34,10 @@ class Symbol(_Enum):

# Bitfinex supported currencies
class Currency(_Enum):
USD = 'usd'
BCH = 'bch'
BTC = 'btc'
ETH = 'eth'
USD = 'usd'


# Bitfinex supported precisions
Expand Down
1 change: 1 addition & 0 deletions trading_api_wrappers/kraken/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Path(object):

# Kraken supported symbols
class Symbol(_Enum):
BCHUSD = 'BCHUSD'
DASHEUR = 'DASHEUR'
DASHUSD = 'DASHUSD'
DASHXBT = 'DASHXBT'
Expand Down
5 changes: 5 additions & 0 deletions trading_api_wrappers/surbtc/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Path(object):


class Currency(_Enum):
BCH = 'BCH'
BTC = 'BTC'
CLP = 'CLP'
COP = 'COP'
Expand All @@ -31,6 +32,10 @@ class Currency(_Enum):


class Market(_Enum):
BCH_BTC = 'BCH-BTC'
BCH_CLP = 'BCH-CLP'
BCH_COP = 'BCH-COP'
BCH_PEN = 'BCH-PEN'
BTC_CLP = 'BTC-CLP'
BTC_COP = 'BTC-COP'
BTC_PEN = 'BTC-PEN'
Expand Down

0 comments on commit a53af97

Please sign in to comment.