Add stake_currency to strategy interface
allows type-completion in editors
This commit is contained in:
parent
ab9a4375cc
commit
da5f8c87ae
@ -120,6 +120,8 @@ class IStrategy(ABC, HyperStrategyMixin):
|
|||||||
# and wallets - access to the current balance.
|
# and wallets - access to the current balance.
|
||||||
dp: Optional[DataProvider] = None
|
dp: Optional[DataProvider] = None
|
||||||
wallets: Optional[Wallets] = None
|
wallets: Optional[Wallets] = None
|
||||||
|
# Filled from configuration
|
||||||
|
stake_currency: str
|
||||||
# container variable for strategy source code
|
# container variable for strategy source code
|
||||||
__source__: str = ''
|
__source__: str = ''
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user