Exchange Gateways
The platform integrates 7 execution venues, each behind its own stateless gateway:
- Binance
- OKX
- Bybit
- Bitget
- Coinbase
- Kraken
- Paper (internal simulation/backtesting venue — no live funds)
Gateway pattern
Each live venue has its own gateway module (core/application/trading/*_exchange_gateway.py) behind a shared factory (vault_gateway_factory.py). This keeps two properties true regardless of how many venues are added:
- Credential isolation — a compromised or misconfigured integration for one exchange cannot leak or affect another; each gateway only ever sees the credentials for its own venue.
- Non-custodial by construction — the backend gateway is stateless with respect to credentials; signing happens in the desktop vault (see Security & Compliance). Adding a new exchange means adding a new stateless adapter, not extending a shared credential store.
Paper mode
Every account starts in paper mode by default (see Quickstart). The Paper gateway runs the identical decision/risk pipeline as live venues, so strategy behavior validated in paper mode is representative of live execution, not a separate simplified code path.