mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Fix sequence of saving
This commit is contained in:
parent
dacb40a976
commit
075eb0a161
|
@ -409,11 +409,11 @@ class Backtesting:
|
|||
position_stacking=position_stacking,
|
||||
)
|
||||
|
||||
if self.config.get('export', False):
|
||||
store_backtest_result(self.config['exportfilename'], all_results)
|
||||
# Show backtest results
|
||||
stats = generate_backtest_stats(self.config, data, all_results,
|
||||
min_date=min_date, max_date=max_date)
|
||||
show_backtest_results(self.config, stats)
|
||||
if self.config.get('export', False):
|
||||
store_backtest_result(self.config['exportfilename'], all_results)
|
||||
store_backtest_stats(self.config['exportfilename'], stats)
|
||||
|
||||
# Show backtest results
|
||||
show_backtest_results(self.config, stats)
|
||||
|
|
Loading…
Reference in New Issue
Block a user