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