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