2026-04-19 03:33:54 +07:00
# Quickstart Guide
2026-06-25 14:49:30 +07:00
For end-users wanting full platform-specific steps, see the [TROUBLESHOOTING.md ](docs/TROUBLESHOOTING.md ).
2026-04-19 03:33:54 +07:00
2026-06-25 14:49:30 +07:00
## Install
2026-04-19 03:33:54 +07:00
2026-06-25 14:49:30 +07:00
Ask your LLM platform to install MT5-Quant:
2026-04-19 03:33:54 +07:00
2026-06-25 14:49:30 +07:00
> "Please install mt5-quant from https://github.com/masdevid/mt5-quant. Download the pre-built binary, run `scripts/setup.sh` to auto-detect Wine/MT5 paths, and register the MCP server."
2026-04-19 03:33:54 +07:00
2026-06-25 14:49:30 +07:00
The LLM will handle:
1. Download binary or `cargo build --release`
2. Run setup script to auto-detect Wine and MT5 paths
3. Write `config/mt5-quant.yaml` (gitignored)
4. Register MCP server with your platform
2026-04-19 03:33:54 +07:00
2026-06-25 14:49:30 +07:00
## Minimal Config
2026-04-19 03:33:54 +07:00
2026-06-25 14:49:30 +07:00
If manual config is needed, `config/mt5-quant.yaml` requires only:
2026-04-19 03:33:54 +07:00
```yaml
2026-06-25 14:49:30 +07:00
wine_executable : "/path/to/wine64"
terminal_dir : "/path/to/MetaTrader 5"
2026-04-19 03:33:54 +07:00
```
2026-06-25 14:49:30 +07:00
`setup.sh` auto-detects both.
2026-04-19 03:33:54 +07:00
2026-06-25 14:49:30 +07:00
## Verify
2026-04-19 03:33:54 +07:00
```
Run verify_setup
```
2026-06-25 14:49:30 +07:00
## Run Backtest
2026-04-19 03:33:54 +07:00
```
Run a backtest on MyEA from 2025.01.01 to 2025.03.31
```
2026-06-25 14:49:30 +07:00
The AI runs: compile → clean → backtest → extract → analyze.
2026-04-19 03:33:54 +07:00
---
2026-07-02 04:16:29 +07:00
**Next:** See [TOOLS.md ](docs/MCP_TOOLS.md ) for all 90 tools.