还是请教连接binance的问题,vnpy程序定期跑一段时间就会卡死 #22
speedfengjun
started this conversation in
General
Replies: 2 comments
-
实盘需要使用no_ui运行,至于接口连接重连可以在rest api和websocket api里面的except里面维护交易接口的连接状态,比如{self.gateway_name:True},no_ui的父进程里面定时读取这个状态如果是False(因为异常导致连接断开)就重启交易子进程交易然后再赋值状态为True |
Beta Was this translation helpful? Give feedback.
0 replies
-
是的,过一段时间就收不到on_tick了。有人碰到类似的问题吗,如何解决的? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions