Move startup to freqtradebot

This commit is contained in:
Matthias
2019-05-19 20:06:26 +02:00
parent 6dc2175e1f
commit 349c0619aa
2 changed files with 9 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ class Worker(object):
})
logger.info('Changing state to: %s', state.name)
if state == State.RUNNING:
self.freqtrade.rpc.startup_messages(self._config, self.freqtrade.pairlists)
self.freqtrade.startup()
if state == State.STOPPED:
# Ping systemd watchdog before sleeping in the stopped state