gateio.get_max_leverage small fix
This commit is contained in:
parent
dbd2df6406
commit
3bfd9186f7
@ -61,3 +61,5 @@ class Gateio(Exchange):
|
|||||||
market = self.markets[pair]
|
market = self.markets[pair]
|
||||||
if market['limits']['leverage']['max'] is not None:
|
if market['limits']['leverage']['max'] is not None:
|
||||||
return market['limits']['leverage']['max']
|
return market['limits']['leverage']['max']
|
||||||
|
else:
|
||||||
|
return 1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user