0
Follow
0
Followers
Gostaria de fazer uma pergunta sobre como chamar o websocket do OKEX v3 em tempo real? Por favor me ensine! ! ! ! ! ! ! ! !
Created 2019-08-27 12:56:28
3
2016
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)
Por que o intervalo de tempo entre os dados recebidos é de pelo menos 4s e mais lento do que com o GetTicker?
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
