Skip to content

Commit

Permalink
Merge pull request #34 from delta575/develop
Browse files Browse the repository at this point in the history
ads Bitcoin Cash
  • Loading branch information
delta575 committed Nov 12, 2017
2 parents 7c2e95b + a53af97 commit 004c59c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coverage==4.4.1
coverage==4.4.2
pytest==3.2.3
python-decouple==3.1
requests==2.18.4
Expand Down
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 004c59c

Please sign in to comment.