Type/to search
1
Follow
0
Followers
火币websocket延迟问题
Help
Created 2019-10-18 23:04:16  
 1
 2424

exchanges.IO("websocket")
exchanges.IO("mode", 2)
取最新的websocket数据是不是用这两行命令?
我取了深度信息里带的时间戳,紧接着取了托管者时间戳,差值在几百毫秒
而rest差值在几十毫秒,这是不是不科学,还是我姿势有误?

Related Recommendations
Comment
All comments (1)

    正常,websocket的延时时固定的,比如1s推送两次,另外账户信息的推送遇到行情时也会延时。

    7 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)