Switching brokers also switches which runs/trade_log_<broker>.csv the dashboard reads — each broker keeps its own paper-trade history, nothing is mixed or lost.
Dhan Credentials
Client ID -> config.json. Token -> ~/.dhan_token (outside this synced folder), never shown back. Token expires every ~24h.
Fyers Credentials
App ID -> config.json. Secret -> ~/.fyers_secret (outside synced folder). Redirect URI is preset to Fyers' code-display page; it must match your Fyers app's registered redirect.
Fyers Daily Login (token expires each day)
1. Save App ID + Secret above first. 2. Generate the login URL, open it, log in. 3. Copy the auth_code from the redirect page, paste below, Exchange.
Shoonya Credentials
User ID + Vendor Code -> config.json. API Secret -> ~/.shoonya_secret (outside synced folder). Get all three from the Shoonya API portal (see below).
Shoonya Daily Login (token expires each day)
Save the fields above first. Then enter your login password + the current 6-digit TOTP from your authenticator app, and Login. No browser step — the token is minted directly.
Telegram alerts
Saved to config.json, same as IIC's. Powers session start/end, crash-resume, poll errors, hourly heartbeat, and the stale-token reminder — see DEPLOY_AWS.md.