8
Follow
0
Followers
Trợ giúp, GetDepth lấy dữ liệu thời gian tần suất và các vấn đề khác
Created 2022-09-23 22:53:38 Updated 2022-09-23 22:53:56
1
1180
Các vị thần, tôi xin hai câu hỏi:
1, Orderbook của sàn giao dịch Binance có khoảng thời gian đẩy 250 ms, 500 ms, 100 ms. Các nhà phát minh đã đóng gói hàm GetDepth tốt, khoảng thời gian lấy dữ liệu 100 ms là bao nhiêu?
2, nếu trong một chiến lược, một số dữ liệu được lấy bằng các hàm được đóng gói bởi nhà phát minh và một số dữ liệu khác được lấy bằng websocket, sẽ có xung đột nào? Có gì cần lưu ý không?
Xin hướng dẫn, cảm ơn các bạn.
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
