- Forums
- Help
- I have a question about a websocket for a real disk called okx v3.
I have a question about a websocket for a real disk called okx v3.
Author:
pcoin004, Created: 2019-08-27 12:56:28, Updated:
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)
Why is it that the actual data received is at least 4s slower than with GetTicker?
More
- Please teach the gods, what software do you use to open db3 files???????
- FMZ (English) How to implement a review of a single signal
- java Float.parse Float ((str) is not working?
- How do you know the source code of FMZ's GETORDER or GETORDERS function? When rewriting this function using the native API, you always encounter an invalid signature ((shows HTTP error).
- Error with deribit
- 求一个简单的digifinex.vip简单对敲刷量脚本
- Traceback (most recent call last): File "", line 1021, in __init_botvs__ File "", line 189, in ", line 155, in main File "", line 19, in __init__ File "", line 579, in File "", l
- No module named matplotlib.pyplot how to do it? Where to install a third-party library?
- Is the simulated retest not supporting tokens and OKEX contracts?
- Please ask which of the towers has a recommendation link to FMZ level 3 and send me the trouble.
- If you have any questions about GetTicker, GetDepth?
- How to stop the robot in the code
- HttpQuery body
- Solved, thank you.
- I am on my knees to God to solve the problem!!!!!!!!!!
- Do you support external signal webhook?
- Template open method executed twice using digital currency trading library (futures support OKCoin futures/BitVC, support $.CTA function)
- GetAccount: 400: {"code":32002,"message":"Needed confirm futures exchange"}
- HttpQuery suspected bug feedback
- How to write a step-by-step tutorial for the FMZ Quantified Platform Strategy
The Little DreamGetTicker is packaged with the rest interface, which is actively requested, and the WS interface, which is pushed by the exchange.
The Little DreamThe WS protocol is pushed, try passing the read function parameters. Try, you can see the API documentation.
pcoin004However, it obviously feels a lot slower to refresh than the OKEX web page, which is not normal, right?