From bc922254419d5f5164b2ff4cc629901447edb6d6 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 28 Feb 2022 19:23:14 +0100 Subject: [PATCH] Add todo about leverage_prep --- freqtrade/freqtradebot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 45b9e75da..0026667d3 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -726,6 +726,7 @@ class FreqtradeBot(LoggingMixin): amount = safe_value_fallback(order, 'filled', 'amount') enter_limit_filled_price = safe_value_fallback(order, 'average', 'price') + # TODO: this might be unnecessary, as we're calling it in update_trade_state. interest_rate, isolated_liq = self.leverage_prep( leverage=leverage, pair=pair,