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
Placeholder — not implemented yet. Selecting Shoonya as the active broker and starting a paper session will return a clear "not implemented" error. See shoonya_api.py for what to build when chosen.
Telegram (not wired into alerts yet)
Saved to config.json, same as IIC's. Not used for any live alerts yet — this just confirms the bot token + chat ID are wired correctly ahead of time.