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

fix DelayTrainerRM

This commit is contained in:
lzh222333
2021-06-03 03:23:48 +00:00
parent 811d2c975e
commit 1320e53f81
2 changed files with 3 additions and 2 deletions

View File

@@ -350,7 +350,8 @@ class TrainerRM(Trainer):
**kwargs,
)
tm.wait(query=query)
if not self.is_delay():
tm.wait(query=query)
recs = []
for _id in _id_list:

View File

@@ -167,7 +167,7 @@ class OnlineManager(Serializable):
"""
Get the instance of `Collector <../advanced/task_management.html#Task Collecting>`_ to collect results from every strategy.
This collector can be a basis as the signals preparation.
Args:
**kwargs: the params for get_collector.