We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
报错: 2019-09-17 18:18:48,365 INFO: Register ctaEngine plugin named CtaMerticPlugin: <vnpy.trader.app.ctaStrategy.plugins.ctaMetric.base.CtaMerticPlugin object at 0x1a0fecf5c0>. 2019-09-17 18:18:48,367 INFO: Disable ctaEngine plugin: CtaMerticPlugin 2019-09-17 18:18:48,369 INFO: Register ctaEngine plugin named CtaStrategyInfoPlugin: <vnpy.trader.app.ctaStrategy.plugins.ctaStrategyInfo.sender.CtaStrategyInfoPlugin object at 0x1a0fecf4e0>. 2019-09-17 18:18:48,369 INFO: Disable ctaEngine plugin: CtaStrategyInfoPlugin 2019-09-17 18:18:48,370 INFO: Register ctaEngine plugin named BarManagerPlugin: <vnpy.trader.app.ctaStrategy.plugins.ctaBarManager.manager.BarManagerPlugin object at 0x1a142bbdd8>. 2019-09-17 18:18:53,380 INFO: OKEX SPOT REST API 连接成功 2019-09-17 18:18:53,816 INFO: OKEX OKEX 现货币对信息查询成功 2019-09-17 18:20:08,715 WARNING: the 1th attempt to connect websocket failed, next try at 1 seconds later [2019-09-17T18:20:08.727311]: Unhandled WebSocket Error:<class 'TimeoutError'> LastSentText: None LastReceivedText: None Exception trace: Traceback (most recent call last): File "/anaconda3/lib/python3.6/site-packages/vnpy_fxdayu-1.1.20-py3.6.egg/vnpy/api/websocket/WebsocketClient.py", line 131, in _connect self.host, sslopt={'cert_reqs': ssl.CERT_NONE}) File "/anaconda3/lib/python3.6/site-packages/vnpy_fxdayu-1.1.20-py3.6.egg/vnpy/api/websocket/WebsocketClient.py", line 118, in _createConnection return websocket.create_connection(*args, **kwargs) File "/anaconda3/lib/python3.6/site-packages/websocket/_core.py", line 494, in create_connection websock.connect(url, **options) File "/anaconda3/lib/python3.6/site-packages/websocket/_core.py", line 217, in connect options.pop('socket', None)) File "/anaconda3/lib/python3.6/site-packages/websocket/_http.py", line 120, in connect sock = _open_socket(addrinfo_list, options.sockopt, options.timeout) File "/anaconda3/lib/python3.6/site-packages/websocket/_http.py", line 186, in _open_socket raise error File "/anaconda3/lib/python3.6/site-packages/websocket/_http.py", line 170, in _open_socket sock.connect(address) TimeoutError: [Errno 60] Operation timed out 2019-09-17 18:21:24,996 WARNING: the 2th attempt to connect websocket failed, next try at 2 seconds later [2019-09-17T18:21:24.997181]: Unhandled WebSocket Error:<class 'TimeoutError'>
查看了依赖的库是完整的 { "apiKey": "eaeeb-b422-e6449325f63f", "apiSecret": "0C3B9FFCE122C9B379", "passphrase":"yalig", "future_leverage": 10, "swap_leverage": 1, "margin_token": 3, "sessionCount": 3, "trace": false, "symbols":["ETH-USDT"], "setQryEnabled":false, "setQryFreq":60, "note":"" }
配置参数如上, 但是没有行情推送
The text was updated successfully, but these errors were encountered:
No branches or pull requests
报错:
2019-09-17 18:18:48,365 INFO: Register ctaEngine plugin named CtaMerticPlugin: <vnpy.trader.app.ctaStrategy.plugins.ctaMetric.base.CtaMerticPlugin object at 0x1a0fecf5c0>.
2019-09-17 18:18:48,367 INFO: Disable ctaEngine plugin: CtaMerticPlugin
2019-09-17 18:18:48,369 INFO: Register ctaEngine plugin named CtaStrategyInfoPlugin: <vnpy.trader.app.ctaStrategy.plugins.ctaStrategyInfo.sender.CtaStrategyInfoPlugin object at 0x1a0fecf4e0>.
2019-09-17 18:18:48,369 INFO: Disable ctaEngine plugin: CtaStrategyInfoPlugin
2019-09-17 18:18:48,370 INFO: Register ctaEngine plugin named BarManagerPlugin: <vnpy.trader.app.ctaStrategy.plugins.ctaBarManager.manager.BarManagerPlugin object at 0x1a142bbdd8>.
2019-09-17 18:18:53,380 INFO: OKEX SPOT REST API 连接成功
2019-09-17 18:18:53,816 INFO: OKEX OKEX 现货币对信息查询成功
2019-09-17 18:20:08,715 WARNING: the 1th attempt to connect websocket failed, next try at 1 seconds later
[2019-09-17T18:20:08.727311]: Unhandled WebSocket Error:<class 'TimeoutError'>
LastSentText:
None
LastReceivedText:
None
Exception trace:
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/site-packages/vnpy_fxdayu-1.1.20-py3.6.egg/vnpy/api/websocket/WebsocketClient.py", line 131, in _connect
self.host, sslopt={'cert_reqs': ssl.CERT_NONE})
File "/anaconda3/lib/python3.6/site-packages/vnpy_fxdayu-1.1.20-py3.6.egg/vnpy/api/websocket/WebsocketClient.py", line 118, in _createConnection
return websocket.create_connection(*args, **kwargs)
File "/anaconda3/lib/python3.6/site-packages/websocket/_core.py", line 494, in create_connection
websock.connect(url, **options)
File "/anaconda3/lib/python3.6/site-packages/websocket/_core.py", line 217, in connect
options.pop('socket', None))
File "/anaconda3/lib/python3.6/site-packages/websocket/_http.py", line 120, in connect
sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
File "/anaconda3/lib/python3.6/site-packages/websocket/_http.py", line 186, in _open_socket
raise error
File "/anaconda3/lib/python3.6/site-packages/websocket/_http.py", line 170, in _open_socket
sock.connect(address)
TimeoutError: [Errno 60] Operation timed out
2019-09-17 18:21:24,996 WARNING: the 2th attempt to connect websocket failed, next try at 2 seconds later
[2019-09-17T18:21:24.997181]: Unhandled WebSocket Error:<class 'TimeoutError'>
查看了依赖的库是完整的
{
"apiKey": "eaeeb-b422-e6449325f63f",
"apiSecret": "0C3B9FFCE122C9B379",
"passphrase":"yalig",
"future_leverage": 10,
"swap_leverage": 1,
"margin_token": 3,
"sessionCount": 3,
"trace": false,
"symbols":["ETH-USDT"],
"setQryEnabled":false,
"setQryFreq":60,
"note":""
}
配置参数如上,
但是没有行情推送
The text was updated successfully, but these errors were encountered: