From da5f8c87aee1bef44ca905908ebd951d067e43c9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 31 Aug 2021 07:18:32 +0200 Subject: [PATCH] Add stake_currency to strategy interface allows type-completion in editors --- freqtrade/strategy/interface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freqtrade/strategy/interface.py b/freqtrade/strategy/interface.py index c51860011..91963f223 100644 --- a/freqtrade/strategy/interface.py +++ b/freqtrade/strategy/interface.py @@ -120,6 +120,8 @@ class IStrategy(ABC, HyperStrategyMixin): # and wallets - access to the current balance. dp: Optional[DataProvider] = None wallets: Optional[Wallets] = None + # Filled from configuration + stake_currency: str # container variable for strategy source code __source__: str = ''