support shutting down freqai

This commit is contained in:
Timothy Pogue
2022-09-03 13:24:14 -06:00
parent 63514b0443
commit dae3b3d86a
3 changed files with 38 additions and 11 deletions

View File

@@ -148,6 +148,8 @@ class FreqtradeBot(LoggingMixin):
self.check_for_open_trades()
self.strategy.ft_bot_cleanup()
self.rpc.cleanup()
Trade.commit()
self.exchange.close()