exchange.get_balances futures shorts taken out
This commit is contained in:
parent
f67e0bd6dd
commit
f336e7fc5b
@ -1179,9 +1179,7 @@ class Exchange:
|
||||
else:
|
||||
order_amount = 0
|
||||
|
||||
if side == 'short':
|
||||
currency: str = market['quote']
|
||||
else:
|
||||
if side == 'long' or side == 'buy':
|
||||
currency = market['base']
|
||||
|
||||
if currency in balances:
|
||||
|
Loading…
Reference in New Issue
Block a user