8
Follow
0
Followers
各位大神,请教两个问题:
1,币安交易所的orderbook推送间隔时间,有250毫秒,500毫秒,100毫秒3种。发明者封装好的GetDepth函数,获取数据的时间间隔100ms还是多少?
2,如果一个策略中,某些数据用发明者封装的这些函数来获取,另外一些数据用websocket来获取,会不会有什么冲突?有什么要注意的?
求指导,谢谢。@各位大神@小小梦
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)MyLanguage DocFMZ PINE Script DocNotes & Explanation of Futures Reverse Doubling Algorithm StrategySolutions to Obtaining Docker Http Request Message
Comment
All comments (1)
1,币安交易所的orderbook推送间隔时间,有250毫秒,500毫秒,100毫秒3种。发明者封装好的GetDepth函数,获取数据的时间间隔100ms还是多少?
封装的GetDepth接口,是REST协议,发送请求获取数据,具体从请求到获取到数据时间不定通常为几百毫秒,具体和网络、交易所接口应答速度等因素有关。
2,如果一个策略中,某些数据用发明者封装的这些函数来获取,另外一些数据用websocket来获取,会不会有什么冲突?有什么要注意的?
这两种方式可以混用,不过要具体根据自己需求设计好。
4 years ago
- 1
