mirror of
https://github.com/lucasmos/GoldRegime_X.git
synced 2026-11-02 06:26:15 +00:00
- Full pipeline: process → optimize → train → export → live - Optuna optimizer with OOS-only Sharpe scoring and prob_threshold in search space - MT5 live bridge with adaptive risk management and staged TPs - M5/M15/H1 timeframe support with per-TF Kalman, HMM, and XGBoost configs - Telegram remote control, guardian health monitor, and daily audit reports - MQL5 EA (v2.00) with ONNX inference and cent account support Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
1.4 KiB
Bash
26 lines
1.4 KiB
Bash
# Gold Regime X — Environment Variables
|
|
# Copy this file to .env and fill in your credentials.
|
|
# NEVER commit .env to git (it's in .gitignore).
|
|
|
|
# ── Telegram Bot ──────────────────────────────────────────────────────────────
|
|
# 1. Open Telegram and search for @BotFather
|
|
# 2. Send /newbot, follow the prompts, copy the token below
|
|
TELEGRAM_BOT_TOKEN=8566397719:AAH7o9Lw7MQ3P6kEZDEYLjwwtTMOAvs0jNg
|
|
|
|
# 3. Send /start to your new bot, then visit:
|
|
# https://api.telegram.org/bot<TOKEN>/getUpdates
|
|
# Copy the "id" value from "chat" in the first result
|
|
TELEGRAM_CHAT_ID=557964386
|
|
|
|
# ── Remote Control Security ───────────────────────────────────────────────────
|
|
# Your personal Telegram numeric user ID (not username).
|
|
# Only messages from this ID will be accepted by --mode listen.
|
|
# Get it from: https://t.me/userinfobot or the getUpdates response above
|
|
ALLOWED_USER_ID=557964386
|
|
|
|
# ── Live Trading Defaults for Remote Control ──────────────────────────────────
|
|
# These values are used when you press "START TRADING" from Telegram.
|
|
LIVE_TF=H1
|
|
LIVE_BROKER=headway_cent
|
|
LIVE_BALANCE=15
|