From c745f5828c533a350af692814e575e766eec43cc Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 28 Feb 2022 20:05:14 +0100 Subject: [PATCH] Update comments to clarify it's supposed to be a "offline" call --- freqtrade/exchange/exchange.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 4fd0b86d2..a47cf065a 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -2307,6 +2307,7 @@ class Exchange: gateio: https://www.gate.io/help/futures/perpetual/22160/calculation-of-liquidation-price okex: https://www.okex.com/support/hc/en-us/articles/ 360053909592-VI-Introduction-to-the-isolated-mode-of-Single-Multi-currency-Portfolio-margin + Important: Must be fetching data from cached values as this is used by backtesting! :param exchange_name: :param open_rate: Entry price of position @@ -2350,6 +2351,7 @@ class Exchange: nominal_value: float = 0.0, ) -> Tuple[float, Optional[float]]: """ + Important: Must be fetching data from cached values as this is used by backtesting! :param pair: Market symbol :param nominal_value: The total trade amount in quote currency including leverage maintenance amount only on Binance