Merge pull request #2560 from hroff-1902/fix-informative

minor: Fix second part of freqtrade-strategies #51
This commit is contained in:
Matthias 2019-11-21 11:06:15 +01:00 committed by GitHub
commit 99eeb2e605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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