Live/Paper switch in one account
Connect both a paper and a live Alpaca environment to a single bonfire account and switch which one your dashboard reads and trades against — without logging out or juggling two accounts.
How it works
- Connect each environment in Settings. You can hold paper and live credentials at the same time.
- Toggle the Paper/Live switch in the app. The dashboard's balances, positions, orders, and portfolio history immediately reflect the selected environment.
- Environments you haven't connected yet appear disabled, with a link to connect them.
The environment you pick is remembered as your active environment, so it's the default next time and for anything that runs on your behalf.
What the switch does not change
Your automated strategies keep running in the environment each subscription was created in — a strategy you run on paper stays on paper even while you're viewing live, and vice-versa. The toggle governs the dashboard and manual orders only. See ADR-0003.
Under the hood
- How the environment is chosen per request — ADR-0001 (
X-Bonfire-Env, defaulting to your active environment). - How credentials are stored — ADR-0002 (one encrypted row per
(user, environment)).
Links
- Steps / status: multi-env plan · TRACKER
- Issues: #349, #353