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

black format

This commit is contained in:
bxdd
2021-05-06 21:34:31 +08:00
parent 7540ecde11
commit bc3eada02d
2 changed files with 5 additions and 8 deletions

View File

@@ -112,7 +112,7 @@ if __name__ == "__main__":
"min_cost": 5,
},
}
with R.start(experiment_name="highfreq_backtest"):
R.log_params(**flatten_dict(task))
model.fit(dataset)
@@ -126,4 +126,4 @@ if __name__ == "__main__":
# backtest. If users want to use backtest based on their own prediction,
# please refer to https://qlib.readthedocs.io/en/latest/component/recorder.html#record-template.
par = PortAnaRecord(recorder, port_analysis_config, "day")
par.generate()
par.generate()