1
Follow
0
Followers
exchange.GetRecords()的文档说明:返回值为Record结构体数组,返回的K线数据会随时间累积,最多累积到2000根,然后会更新加入一根同时删除一根最早时间的K线柱(如队列进出)。
1、那么我利用exchange.SetMaxBarLen(2000),是不是可以在初次获取的时候就直接获取到最近2000根相应周期(15min)的bar的数据呢?
2、然后用var records = exchange.GetRecords(PERIOD_M15) var obv = TA.OBV(records) 是否就可以获取这2000根bar对应的obv的数值呢?
谢谢!
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
