Formatting

This commit is contained in:
Matthias
2024-04-16 20:54:12 +02:00
parent ba27c41c93
commit 54d9dbaea8

View File

@@ -57,8 +57,9 @@ def store_backtest_stats(
file_dump_json(latest_filename, {'latest_backtest': str(filename.name)}) file_dump_json(latest_filename, {'latest_backtest': str(filename.name)})
if market_change_data is not None: if market_change_data is not None:
filename_market_change = _generate_filename(recordfilename, f"{dtappendix}_market_change", '.feather') filename_mc = _generate_filename(recordfilename, f"{dtappendix}_market_change", '.feather')
market_change_data.reset_index().to_feather(filename_market_change, compression_level=9, compression='lz4') market_change_data.reset_index().to_feather(
filename_mc, compression_level=9, compression='lz4')
return filename return filename