Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模拟行情的数据结构跟真实数据差异过大 #4

Open
Wilson-G opened this issue Oct 22, 2019 · 10 comments
Open

模拟行情的数据结构跟真实数据差异过大 #4

Wilson-G opened this issue Oct 22, 2019 · 10 comments

Comments

@Wilson-G
Copy link

QARC_Random --code rb1910 --date 20190619 --price 3800 --interval 1
用这样的命令开启模拟行情后,返回的字段和真实ctp推送的字段完全不一样,这样不利于大家在此基础上开发测试

@yutiansut
Copy link
Owner

明明是一致的 哪里不一样?

@yutiansut
Copy link
Owner

而且 这个开起来 是用QACTP --code rb1910 来接受并采样的 这就是最真实的ctp行情的样子 ctpbee推出来的信息 是从vnpy那集成 被修改过的样子

@yutiansut
Copy link
Owner

但是无论是 QARC_Start 还是 QARC_CTP都相应的对行情处理过 变成你所需要的的行情了

@yutiansut
Copy link
Owner

@Wilson-G

@Wilson-G
Copy link
Author

图片

模拟行情是这样的

@Wilson-G
Copy link
Author

实测行情是这样的
图片

@yutiansut
Copy link
Owner

实测行情 是vnpy魔改过的 不是真实交易所的结构

@yutiansut
Copy link
Owner

vnpy 包括ctpbee的结构 用QARC_Start 真实交易所的结构 模拟 /海风 用QARC_CTP

@Wilson-G
Copy link
Author

好的

@yutiansut
Copy link
Owner

通过start/ctp 这两个命令 你可以获得一样的结果

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants