kungfu icon indicating copy to clipboard operation
kungfu copied to clipboard

策略隔天后,不能获取行情

Open daiab opened this issue 7 years ago • 4 comments

一个策略启动后,过一晚上,md_engine就不会调用on_bar或则on_ticker函数了。不知道是不是yjj中的engine_start/end_time的问题

daiab avatar Jan 17 '18 03:01 daiab

我有同样的问题 上午、下午、夜盘、次日 策略在任意时间段开启都能正常交易 但是不能延续到下一个时间段

jqlruc avatar Feb 24 '18 13:02 jqlruc

咬他

ghost avatar Mar 06 '18 00:03 ghost

I have not gone through yjj code. What I tested is, after onDisconnected of ctp is called, an ENGINE_OPEN message have to be sent to md engine. Then ctp api would be restarted and instruments would be subscribed again

omytea avatar Mar 28 '18 01:03 omytea

一样的我问题,我从27日开始运行basicusage策略,输出日期时间开盘,收盘价等,28日,就没有接收到其他信息。

GGZNZ avatar Mar 29 '18 12:03 GGZNZ