Why Connect?Connect is a modern RPC protocol that works over HTTP/1.1, HTTP/2, and HTTP/3. It provides the benefits of gRPC (streaming, strong typing) while remaining compatible with standard HTTP tooling.
When to Use Connect
| Use Case | Recommended API |
|---|---|
| Real-time market data | Connect Streaming |
| Order execution updates | Connect Streaming |
| Position changes | Connect Streaming |
| Trade capture reports | Connect Streaming |
| Request/response queries | REST API |
| Historical data queries | REST API |
Available Streams
| Service | Stream | Description |
|---|---|---|
| Market Data | CreateMarketDataSubscription | Real-time L2 order book updates |
| Orders | CreateOrderSubscription | Order status and execution updates |
| Positions | CreatePositionSubscription | Position and balance changes |
| Drop Copy | CreateDropCopySubscription | Execution feed for all accounts |
| Drop Copy | CreateTradeCaptureReportSubscription | Trade capture reports |
| Drop Copy | CreatePositionChangeSubscription | Position change events |
| Drop Copy | CreateInstrumentStateChangeSubscription | Instrument state changes |
Connect vs REST vs gRPC
| Feature | REST | Connect | gRPC |
|---|---|---|---|
| Protocol | HTTP/1.1 | HTTP/1.1, HTTP/2 | HTTP/2 |
| Streaming | No | Yes | Yes |
| Browser support | Yes | Yes | Limited |
| Code generation | Optional | Yes | Yes |
| Debugging | Easy | Easy | Requires tools |
Quick Start
Next Steps
Authentication
Learn how to authenticate Connect streams
Market Data Stream
Subscribe to real-time order book updates
Order Stream
Get real-time order and execution updates
Position Stream
Monitor position and balance changes