Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/ENVIRONMENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Environment differences: demo vs production

| Field/Behavior | Demo (KALSHI_ENV=demo) | Production (KALSHI_ENV=prod) |
|-----------------------|---------------------------------------------|----------------------------------------|
| API host | api.demo.kalshi.com | api.kalshi.com |
| Positions and balances| Fake balances for testing | Real balances and positions |
| Trade settlement | Simulated | Real financial settlement |
| Rate limits | Lower in demo | Higher but enforced based on account |
| Use case | Experimentation, testing strategies | Live trading with real funds |

When switching to production, ensure that:
- Your API key and private key correspond to a live account.
- You understand the regulatory requirements for live trading.
- You test strategies extensively in demo first.