0
Follow
0
Followers
GetTicker और GetDepth के बारे में प्रश्न? कृपया मुझे सिखाओ! ! !
Created 2019-08-26 18:46:07
3
1772
कृपया मुझे बताएं कि क्या यह रिले डिस्क पर GetTicker, GetDepth फ़ंक्शन का उपयोग कर रहा है, और क्या यह rest या ws प्रोटोकॉल का उपयोग कर रहा है?
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
Comment
All comments (3)
谢谢,您的回答,我用okex的v3 ws
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)
为什么实际接收到的数据间隔至少在4s以上,比用GetTicker还慢,这是什么原因呢?
7 years ago
- 1
