Commit be1bec83 authored by jichao's avatar jichao

导出模块完毕

parent 3ca6bae1
...@@ -99,7 +99,6 @@ class BacktestExecutor(RoboExecutor): ...@@ -99,7 +99,6 @@ class BacktestExecutor(RoboExecutor):
workdays = workday_range(self.start_date, self.end_date) workdays = workday_range(self.start_date, self.end_date)
for date in workdays: for date in workdays:
self._risk.get_risk_pool(date) self._risk.get_risk_pool(date)
# time.sleep(0.05) # 这里需要sleep,否则里面多进程太快,数据库连接容易超时
for date in workdays: for date in workdays:
self._pool.get_pool(date) self._pool.get_pool(date)
logger.info(f"build asset pool success, use[{(dt.now() - now).seconds}s]") logger.info(f"build asset pool success, use[{(dt.now() - now).seconds}s]")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment