mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-15 00:36:55 +08:00
return the detailed order indicator
This commit is contained in:
@@ -61,10 +61,9 @@ def collect_data_loop(start_time, end_time, trade_strategy: BaseStrategy, trade_
|
|||||||
for _executor in all_executors
|
for _executor in all_executors
|
||||||
if _executor.generate_report
|
if _executor.generate_report
|
||||||
}
|
}
|
||||||
all_indicators = {
|
all_indicators = {}
|
||||||
"{}{}".format(
|
for _executor in all_executors:
|
||||||
*Freq.parse(_executor.time_per_step)
|
key = "{}{}".format( *Freq.parse(_executor.time_per_step))
|
||||||
): _executor.get_trade_indicator().generate_trade_indicators_dataframe()
|
all_indicators[key] = _executor.get_trade_indicator().generate_trade_indicators_dataframe()
|
||||||
for _executor in all_executors
|
all_indicators[key + "_obj"] = _executor.get_trade_indicator()
|
||||||
}
|
|
||||||
return_value.update({"report": all_reports, "indicator": all_indicators})
|
return_value.update({"report": all_reports, "indicator": all_indicators})
|
||||||
|
|||||||
Reference in New Issue
Block a user