Add stake_currency to strategy interface

allows type-completion in editors
This commit is contained in:
Matthias 2021-08-31 07:18:32 +02:00
parent ab9a4375cc
commit da5f8c87ae

View File

@ -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 = ''