1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-12 15:26:54 +08:00

docs improvement (#730)

This commit is contained in:
you-n-g
2021-12-07 21:45:29 +08:00
committed by GitHub
parent c276de4040
commit ae83f9056f
8 changed files with 115 additions and 241 deletions

View File

@@ -401,8 +401,8 @@ class PortAnaRecord(RecordTemp):
if executor_config["kwargs"].get("generate_portfolio_metrics", False):
_count, _freq = Freq.parse(executor_config["kwargs"]["time_per_step"])
ret_freq.append(f"{_count}{_freq}")
if "sub_env" in executor_config["kwargs"]:
ret_freq.extend(self._get_report_freq(executor_config["kwargs"]["sub_env"]))
if "inner_executor" in executor_config["kwargs"]:
ret_freq.extend(self._get_report_freq(executor_config["kwargs"]["inner_executor"]))
return ret_freq
def generate(self, **kwargs):