Files
ares/.env.example
T
romysaputrasihananda 7d094591b8 feat: live trading, multi-pair backtest, README, CI workflow
- Add live trading loop (live.rs) with MT5 pending order placement,
  state persistence, and per-symbol tokio task for multi-pair
- Extract backtest engine to backtest.rs and shared helpers to helpers.rs
- Multi-pair support via SYMBOLS env var (comma-separated)
- Add GitHub Actions workflow: Linux musl + Windows release binaries
- Add README with strategy docs, config reference, backtest results
- Clean up warnings, remove unused env vars, tighten .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 13:31:53 +07:00

43 lines
2.1 KiB
Bash

# MT5 bridge URL (required)
MT5_BASE_URL=http://localhost:8080
# ── Symbol & Timeframe ──────────────────────────────────────────────────────
# Single pair:
SYMBOL=XAUUSDm
# Multi pair (comma-sep, overrides SYMBOL):
# SYMBOLS=XAUUSDm,XAGUSDm
TIMEFRAME=M5
# ── Risk ─────────────────────────────────────────────────────────────────────
RISK_PCT=0.01
# ── Momentum Candle Thresholds ───────────────────────────────────────────────
BODY_PCT_MIN=0.5
CLOSE_PCT_MIN=0.8
# ── FVG Setup ────────────────────────────────────────────────────────────────
FVG_EXPIRY_CANDLES=10
MIN_FVG_PIPS=1
MIN_SL_PIPS=5
SL_BUFFER=0
MIN_RR=1.5
# TIMEOUT_CANDLES=0
# ── Friction ─────────────────────────────────────────────────────────────────
COMMISSION_PER_LOT=7
SLIPPAGE_POINTS=2
SPREAD_OVERRIDE=0
# ── EMA Trend Filter ─────────────────────────────────────────────────────────
EMA_PERIOD=20
# ── Backtest ─────────────────────────────────────────────────────────────────
BACKTEST_BALANCE=600
BACKTEST_CANDLES=50000
# DATE_FROM=2025-01-01
# DATE_TO=2025-12-31
# ── Live Trading ─────────────────────────────────────────────────────────────
# LIVE=true
# LIVE_POLL_SECS=30