Fix second part of freqtrade-strategies #51

This commit is contained in:
hroff-1902 2019-11-21 04:59:38 +03:00
parent 5ce665f279
commit b8aa727edf
1 changed files with 2 additions and 2 deletions

View File

@ -109,8 +109,8 @@ class IStrategy(ABC):
# Class level variables (intentional) containing
# the dataprovider (dp) (access to other candles, historic data, ...)
# and wallets - access to the current balance.
dp: DataProvider
wallets: Wallets
dp: Optional[DataProvider] = None
wallets: Optional[Wallets] = None
def __init__(self, config: dict) -> None:
self.config = config