0
Follow
0
Followers
Related Recommendations
3.4 Visual programming quick start3.3 How to implement strategies in M language3.2 Getting started with the M language3.1 Quantitative trading programming language evaluationMake Post-Only order and bulk orders on BitMEX through IO2.4 How to write a trading strategy on FMZ Quant platform2.3 Common API explanations2.2 How to configure the FMZ Quant trading system2.1 Introduction to the quantitative trading toolFMZ intermediate tutorial
Comment
All comments (7)
var records_H1 = exchange.GetRecords(PERIOD_H1)
var records_M5 = exchange.GetRecords(PERIOD_M5)
Log("1小时 K线", reocrds_H1)
Log("5分钟 K线", records_M5)
可以这样 同时获取不同周期的K线,回测和实盘都一样支持。
7 years ago
如果我想获取 2,3,4,6,12小时和2,3,5,7日线 怎么写呢? (例子:PERIOD_D5)我这么写了,模拟盘提示没有这些变量,然后我(例子:PERIOD_D1*5)这样模拟盘可以跑,但是实盘就会提示不支持的周期(例子: period not support),往小梦老师讲解下
7 years ago
- 1

