Type/to search
0
Follow
0
Followers
GetTicker और GetDepth के बारे में प्रश्न? कृपया मुझे सिखाओ! ! !
Help
Created 2019-08-26 18:46:07  
 3
 1772

कृपया मुझे बताएं कि क्या यह रिले डिस्क पर GetTicker, GetDepth फ़ंक्शन का उपयोग कर रहा है, और क्या यह rest या ws प्रोटोकॉल का उपयोग कर रहा है?

Related Recommendations
Comment
All comments (3)

    可能没变化不会推送,你自己要研究下

    7 years ago

    谢谢,您的回答,我用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
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)