If you use automation that requires a Jules API key, set it as **`Jules_API_KEY`**.
- **Cursor / local runs (recommended)**:
- Copy `.env.example` → `.env`
- Put your key in `.env` as `Jules_API_KEY=...`
-`.env` is ignored by git.
- **GitHub Actions**:
- Repo → **Settings → Secrets and variables → Actions → New repository secret**
- **Name**: `Jules_API_KEY`
- **Value**: (your key)
This repo includes a workflow (`.github/workflows/jules_secret_check.yml`) that will fail on PRs if the secret is missing, and will never print the secret value.
-`SL_SWING`: SL beyond last confirmed fractal swing (with `SwingSLBufferPoints`), fallback to ATR if swing is missing/invalid
-`SL_FIXED_POINTS`: SL = `FixedSLPoints`
- **TPMode**
-`TP_RR`: TP = `RR` × SL distance
-`TP_FIXED_POINTS`: TP = `FixedTPPoints`
-`TP_DONCHIAN_WIDTH`: TP = Donchian channel width × `DonchianTP_Mult` (fallback to ATR width if needed)
- **RiskPercent**
- If `RiskPercent > 0`, lots are calculated from SL distance so the **money at risk ≈ RiskPercent of Equity** (or Balance if you disable `RiskUseEquity`).
-`RiskClampToFreeMargin` can reduce lots if required margin is too high.