0
Follow
0
Followers
Ist es möglich, einen Backtest einer Strategie mit unterschiedlichen K-Line-Bedingungen für die Periode durchzuführen?
Created 2019-04-17 20:24:51
7
2626
Wenn man die 5-Minuten-Bedingung unter der Voraussetzung einer Stunde ermittelt und ausführt, kann man sie in der Realität umsetzen, obwohl sie in der Simulation nicht funktioniert.
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

