Refactor bot_start to separate function

to be reused further ...
This commit is contained in:
Matthias
2022-05-25 20:01:21 +02:00
parent 023f817179
commit 3e66275c98
5 changed files with 11 additions and 4 deletions

View File

@@ -633,7 +633,7 @@ def load_and_plot_trades(config: Dict[str, Any]):
exchange = ExchangeResolver.load_exchange(config['exchange']['name'], config)
IStrategy.dp = DataProvider(config, exchange)
strategy.bot_start()
strategy.ft_bot_start()
strategy.bot_loop_start()
plot_elements = init_plotscript(config, list(exchange.markets), strategy.startup_candle_count)
timerange = plot_elements['timerange']