records = exchange.GetRecords(PERIOD_D1) # 获取K线数组,如何获取周线数组

Author: 13547009666, Created: 2021-03-09 22:22:39, Updated:

records = exchange.GetRecords(PERIOD_D1) # 获取K线数组,如何获取周线数组? 使用records = exchange.GetRecords(PERIOD_W1)语句获取取的周线数据与实盘的不一致。


More

13547009666 谢谢,还有请问遍历交易所所有合约代码是怎么写?

小草 https://www.fmz.com/api#exchange.getrecords 周K线可以自己获取日线后合成