0
Follow
0
Followers
Tôi muốn hỏi một câu hỏi về việc gọi websocket của OKEX v3 theo thời gian thực? Xin hãy dạy tôi! ! ! ! ! ! ! ! !
Created 2019-08-27 12:56:28
3
2017
param1 = {"op": "subscribe", "args": ["futures/ticker:ETH-USD-190927"]}
client1 = Dial( "wss://real.okex.com:8443/ws/v3|compress=gzip_raw&mode=recv&reconnect=true&payload=" + json.dumps(param1))
while 1:
tick = json.loads(client1.read())
Log(tick)
Sleep(100)
Tại sao dữ liệu thực tế nhận được ít nhất là 4s và chậm hơn so với GetTicker, đó là lý do gì?
Related Recommendations
Get Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization5.4 Why do we need an off-sample test5.3 How to read the strategy backtest performance report
