仿真策略正常运行,但是无法进入on_calculate #54
Answered
by
delusionpig
delusionpig
asked this question in
Q&A
-
问题描述:CTA引擎下策略,回测正常运行,切换到仿真使用simnow进行仿真时,m1和m5频率下策略没有回调on_calculate,但是显示了回调了on_tick。 on_calculate\on_bar\on_tick分别添加了print,最终输出的只有on_tick执行了,其他一切正常,数据能够获取到,历史数据和实时数据都有 |
Beta Was this translation helpful? Give feedback.
Answered by
delusionpig
Apr 7, 2022
Replies: 1 comment 3 replies
-
正常交易时间一直没有调用on_calculate 和 on_bar,10:25的时候又进去了 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
wondertrader
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
正常交易时间一直没有调用on_calculate 和 on_bar,10:25的时候又进去了