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

交易服务器连接断开,原因4097 #10

Closed
Geeshang opened this issue May 19, 2022 · 1 comment
Closed

交易服务器连接断开,原因4097 #10

Geeshang opened this issue May 19, 2022 · 1 comment

Comments

@Geeshang
Copy link

Geeshang commented May 19, 2022

在用vn.py TtsGateway时,无法连接行情和交易服务器,出现标题的错误,请问是怎么回事,该如何解决?

@Geeshang
Copy link
Author

Geeshang commented May 20, 2022

找到原因了,openctp没问题,因为用vnpy时除了TtsGateway也同时把正式交易的CtpGateway接口引入了,估计是因为在非交易时间,是这个CtpGateway接口一直在报错, 而TtsGateway 是正常的,交易和行情服务器都可以连接成功。

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

1 participant