contractSize is a string comming from ccxt

This commit is contained in:
Matthias
2022-01-06 10:40:31 +01:00
parent c1d981749e
commit 431fcdd76f
3 changed files with 13 additions and 11 deletions

View File

@@ -939,7 +939,7 @@ def get_markets():
'active': True,
'spot': False,
'type': 'swap',
'contractSize': 0.01,
'contractSize': '0.01',
'precision': {
'amount': 8,
'price': 8
@@ -1010,7 +1010,8 @@ def get_markets():
'percentage': True,
'taker': 0.0006,
'maker': 0.0002,
'contractSize': 10,
# TODO-lev: `contractSize` should be numeric - this is an open bug in ccxt.
'contractSize': '10',
'active': True,
'expiry': None,
'expiryDatetime': None,