29 lines
957 B
Python
29 lines
957 B
Python
"""The MetaTrader 5 bridge (doc 07).
|
|
|
|
Connects the fast Python search to the gold-standard MT5 Strategy Tester.
|
|
Four responsibilities: (1) compile the EA, (2) auto-run a backtest from a
|
|
generated config, (3) parse the HTML report, (4) compare Python vs MT5.
|
|
|
|
Topology A (all-Windows) is implemented here — no SSH / scheduled-task
|
|
plumbing is needed; the official ``MetaTrader5`` package and local file paths
|
|
drive the terminal directly.
|
|
"""
|
|
from .compare import build_comparison_table, write_comparison
|
|
from .compile import compile_ea, default_metaeditor_path
|
|
from .ini_gen import TesterConfig, write_tester_ini
|
|
from .runner import run_tester, wait_for_report
|
|
from .set_gen import ParamMapping, write_set_file
|
|
|
|
__all__ = [
|
|
"compile_ea",
|
|
"default_metaeditor_path",
|
|
"TesterConfig",
|
|
"write_tester_ini",
|
|
"ParamMapping",
|
|
"write_set_file",
|
|
"run_tester",
|
|
"wait_for_report",
|
|
"build_comparison_table",
|
|
"write_comparison",
|
|
]
|