Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
掘金社区
随便看看 发表在 问题反馈 2018-04-14 21:45:11
context.data返回的数据很奇怪
context.data返回的数据很奇怪Pinned highlighted
随便看看 发表在问题反馈 2018-04-14 21:45:11
如图,sr909数据 2009年的数据是从哪里来的。
这个是郑商所的规则。 09年和19年的代码是一样的, context.data去填充滑窗时如果count很大, 就会拿到09年的数据,建议滑窗大小改小或者使用主力合约去回测。
909就是表示2009年9月交割的合约. 这是郑商所的命名规则. 如果 2019年9月的合约开始交易了, 也会是叫做 909. 因此, 合约代码 每10年重复一次.
随便看看
热门标签
热门推荐
Looks like your connection to 掘金量化社区 - 量化交易者的交流社区 was lost, please wait while we try to reconnect.