From f336e7fc5b7c338f23ac2b2571d18fc726deb811 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Wed, 16 Feb 2022 07:16:21 -0600 Subject: [PATCH] exchange.get_balances futures shorts taken out --- freqtrade/exchange/exchange.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 09bf0ea5a..4f1202211 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -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: