Files
mt_mt5_backertest/config/ea_configs.yaml
T
2026-07-06 03:32:12 +08:00

36 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
backtest_settings:
currency: USD
date_range:
from: 2018.01.01
to: 2026.06.04
deposit: 1000.0
execution_delay: 100
forward_date: ''
forward_mode: 2
leverage: 1:500
model: 0
optimization: 0
replace_report: true
shutdown_terminal: true
symbols:
- XAUUSD
timeframes:
- M5
visual: 0
eas:
- filename: MY-EA\without source code\The Gold Reaper MT5_4.3_fix.ex5
name: The Gold Reaper MT5_4.3_fix
execution:
kill_between: true
skip_existing: true
timeout_per_test: 300000
# mt5_settings: 路径支持占位符与自动检测(见 scripts/mt5_paths.py
# {PROJECT_ROOT} → 项目根目录绝对路径(推荐,确保项目拷到任意位置都能跑)
# 留空字符串 → 启动时自动扫描常见位置(Program Files / %APPDATA%/MetaQuotes/Terminal
# 绝对路径 → 直接使用(适配定制安装或便携版)
mt5_settings:
terminal_path: "" # 留空=自动检测; 或填 "C:\\Program Files\\MetaTrader 5 EXNESS\\terminal64.exe"
data_dir: "" # 留空=自动检测; 或填 "%APPDATA%\\MetaQuotes\\Terminal\\<hash>"
ini_dir: "{PROJECT_ROOT}/config/generated"
reports_dir: "{PROJECT_ROOT}/reports"