remove unused local variable persistance

This commit is contained in:
Matthias 2018-12-26 14:37:25 +01:00
parent 58f1abf287
commit 5ecdecd1eb

View File

@ -37,9 +37,9 @@ class FreqtradeBot(object):
def __init__(self, config: Dict[str, Any])-> None: def __init__(self, config: Dict[str, Any])-> None:
""" """
Init all variables and object the bot need to work Init all variables and objects the bot needs to work
:param config: configuration dict, you can use the Configuration.get_config() :param config: configuration dict, you can use Configuration.get_config()
method to get the config dict. to get the config dict.
""" """
logger.info( logger.info(
@ -55,7 +55,6 @@ class FreqtradeBot(object):
self.strategy: IStrategy = StrategyResolver(self.config).strategy self.strategy: IStrategy = StrategyResolver(self.config).strategy
self.rpc: RPCManager = RPCManager(self) self.rpc: RPCManager = RPCManager(self)
self.persistence = None
self.exchange = Exchange(self.config) self.exchange = Exchange(self.config)
self.wallets = Wallets(self.exchange) self.wallets = Wallets(self.exchange)
self.dataprovider = DataProvider(self.config, self.exchange) self.dataprovider = DataProvider(self.config, self.exchange)