33
Follow
64
Followers
有一个不明白的地方,我用回测,出现一个错误,TypeError: Cannot read property 'Volume' of undefined
后来发现是因为 GetRecords 获取的数据records,records.length 长度只有1 .
这样如何获取多个k线之前的
Open :开盘价
High :最高价
Low :最低价
Close :收盘价
Volume :交易量
我的程序,实盘没有问题,但是回测不行 ,但是找最佳参数又需要回测
解决方法: 多次循环后,获取的数量会逐步增加,我多虑了。
Related Recommendations
Comment
All comments (0)
No data
- 1
