在实现服务自动启停的基础上,怎么计算一定时间周期的成交量。目前ctp侧提供的是当日累计成交量 #307
cyber-quant-pro
started this conversation in
General
Replies: 3 comments 1 reply
-
请尽可能多的考虑各种情况,如盘中临时修复问题导致服务重启,有夜盘的,没有夜盘的。。。。。。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
这个是你的策略实现问题啊 盘中重启那个我想想吧 |
Beta Was this translation helpful? Give feedback.
0 replies
-
不是我的策略的问题,是我看你也提供了BarData,里面的volume字段的定义是bar区间内的成交量。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在实现服务自动启停的基础上,怎么计算一定时间周期的成交量。
目前ctp侧提供的是当日累计成交量,对于有夜盘的品种,夜盘结束后,服务关掉了,第二天开盘后第一个ticket的成交量是累计成交量,此时就会丢失上一个ticket的累计成交量
Beta Was this translation helpful? Give feedback.
All reactions