exchange.get_balances futures shorts taken out

This commit is contained in:
Sam Germain 2022-02-16 07:16:21 -06:00 committed by Matthias
parent f67e0bd6dd
commit f336e7fc5b

View File

@ -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: