From 5ecdecd1ebd852e1a6fb99b34973650878724f02 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 26 Dec 2018 14:37:25 +0100 Subject: [PATCH] remove unused local variable persistance --- freqtrade/freqtradebot.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index a096a37da..071cbaf2e 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -37,9 +37,9 @@ class FreqtradeBot(object): def __init__(self, config: Dict[str, Any])-> None: """ - Init all variables and object the bot need to work - :param config: configuration dict, you can use the Configuration.get_config() - method to get the config dict. + Init all variables and objects the bot needs to work + :param config: configuration dict, you can use Configuration.get_config() + to get the config dict. """ logger.info( @@ -55,7 +55,6 @@ class FreqtradeBot(object): self.strategy: IStrategy = StrategyResolver(self.config).strategy self.rpc: RPCManager = RPCManager(self) - self.persistence = None self.exchange = Exchange(self.config) self.wallets = Wallets(self.exchange) self.dataprovider = DataProvider(self.config, self.exchange)