33
Follow
63
Followers
api文档这一句: 如果Period参数不能被60整除(即代表的周期是不可用分钟为单位的周期),系统底层则使用GetTrades的相关接口获取成交记录数据,合成所需的K线数据。
我是不是可以这么理解:
- 如果period是3,那么一个GetTrades 就足够了 ,但是如果period是 25,那么是不是需要好几次调用GetTrades,才能获取真实的数据。
- 如果period不能被60整除,GetRecords() 是不是必须放在轮询里,不断调用GetTrades,才能保证数据真实?
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet 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?
Comment
All comments (3)
- 1

