1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-03 02:50:58 +08:00

fix record_tmp bug

This commit is contained in:
Young
2020-11-22 03:17:50 +00:00
parent 89977320e3
commit c8d7d3ea2a
4 changed files with 30 additions and 14 deletions

View File

@@ -147,7 +147,7 @@ def backtest_analysis(pred, rid):
# backtest
par = PortAnaRecord(recorder, port_analysis_config)
par.generate()
analysis_df = par.load("port_analysis.pkl")
analysis_df = par.load(par.get_path("port_analysis.pkl"))
print(analysis_df)
return analysis_df