RegimeTrader
← Dashboard

Configuration

settings.json

Reference for the bot configuration file used by the current app.

The file lives attrading-bot/trading-bot/config/settings.jsonand the bot reloads it while running. Most users should not edit it directly because the dashboard now manages the main fields for them.

Important Change

Theaccountsection is intentionally blank by default. Live MT5 credentials are now entered through the dashboard Setup flow or Accounts page and stored locally on the bot machine.

json
{
  "account": {
    "login": "",
    "password": "",
    "server": ""
  },
  "risk": {
    "risk_per_trade_pct": 0.5,
    "max_daily_loss_pct": 5.0,
    "max_open_trades": 3,
    "max_daily_trades": 6,
    "max_drawdown_pct": 10.0,
    "max_spread_pips": 3.0,
    "trade_timeout_hours": 48,
    "min_rr_ratio": 2.0,
    "pause_after_consecutive_losses": 2,
    "close_on_shutdown": true
  },
  "scalping": {
    "adx_threshold": 18,
    "max_spread_pips": 1.5,
    "max_trades_per_hour": 2
  },
  "strategy": {
    "active": "auto",
    "min_score": 65,
    "min_score_scalping": 45,
    "timeframe_high": "H4",
    "timeframe_entry": "H1",
    "timeframe_trigger": "M15",
    "pairs": ["EURUSDm", "GBPUSDm", "AUDUSDm", "XAUUSDm"]
  },
  "ai": {
    "use_signal_filter": true,
    "signal_filter_fail_mode": "open",
    "use_sentiment_filter": true,
    "sentiment_fail_mode": "open",
    "min_sentiment_headlines": 3
  },
  "filters": {
    "use_news_filter": true,
    "news_buffer_minutes": 30,
    "min_atr_multiplier": 0.5
  },
  "notifications": {
    "telegram_token": "",
    "telegram_chat_id": ""
  },
  "dashboard": {
    "url": "https://regimetrader.devsamk.com",
    "api_key": ""
  },
  "_running": true
}

Note: Do not put your MT5 login in this file just because the fields exist. The current user flow is the dashboard credential form, which stores those secrets outside the tracked config.

Tip: Think ofsettings.jsonas advanced configuration. Think of Setup, Bot, Accounts, and Settings in the dashboard as the normal user controls.