Interactive Brokers
Interactive Brokers is an online brokerage firm providing trading access to stocks, options, futures, currencies, bonds, and funds across 150+ markets worldwide. IBKR offers comprehensive REST APIs that enable developers and traders to programmatically access trading, portfolio management, market da
18 channels
across 1 AsyncAPI spec
· Provider profile
Channels
-
Unsolicited account updates. An initial message is sent on connect with details about all brokerage accounts the logged-in user has access to; supplemental messages are sent whenever account details cInteractive Brokers Client Portal API WebSocket
-
Unsolicited bulletin messages for urgent communications such as exchange issues, system problems, and other trading information.Interactive Brokers Client Portal API WebSocket
-
Unsolicited notification messages for brief trading-activity related notices.Interactive Brokers Client Portal API WebSocket
-
Subscribe to deep book (market depth) data. Sent as `sbd+{acctId}+{conId}+{exchange}` where `exchange` is optional; if omitted all available deep exchanges are assumed. Requires a valid market data suInteractive Brokers Client Portal API WebSocket
-
Streaming, top-of-book (level 1) market data for a single contract. Subscribe message is `smd+conId+{"fields":[...]}` where `conId` is the IBKR contract identifier and `fields` is an array of market dInteractive Brokers Client Portal API WebSocket
-
Streaming historical market data bars for a single contract. Subscribe with `smh+conId+{...}` where the JSON arguments may include `exchange`, `period` (e.g. `1d`, `2h`, `30min`), `bar` (bar size e.g.Interactive Brokers Client Portal API WebSocket
-
Subscribe to live order updates. Sent as `sor+{}`. Once subscribed, the server relays incremental changes to working orders (status changes, partial fills, etc.). Use `/iserver/account/orders` to fetcInteractive Brokers Client Portal API WebSocket
-
Subscribe to profit-and-loss updates for existing positions. Sent as `spl+{}`. Daily PnL (`dpl`) and unrealized PnL (`upl`) are returned per account partition. Updates are typically delivered at approInteractive Brokers Client Portal API WebSocket
-
Subscribe to trades for the current and previous six trading days. Sent as `str+{}`. Optional arguments: `realtimeUpdatesOnly` (boolean) to stream only new trades, and `days` (integer 1-7) to bound hiInteractive Brokers Client Portal API WebSocket
-
Unsolicited authentication status messages. Sent on initial connect and whenever the session authentication status changes (for example, when a competing session is detected).Interactive Brokers Client Portal API WebSocket
-
Unsolicited system connection messages. On initial connect the topic `system` echoes back the authenticated username; every ~10 seconds a heartbeat with a unix-millisecond timestamp is sent.Interactive Brokers Client Portal API WebSocket
-
Ping the session to keep `/iserver` and `/ccp` endpoints alive. Sent as `tic` (no arguments). IBKR advises pinging at least once per minute. A periodic call to the REST `/tickle` endpoint is still reqInteractive Brokers Client Portal API WebSocket
-
Unsubscribe from market depth for the specified account.Interactive Brokers Client Portal API WebSocket
-
Unsubscribe from streaming market data for a single contract.Interactive Brokers Client Portal API WebSocket
-
Unsubscribe from a historical data subscription using its server-assigned id.Interactive Brokers Client Portal API WebSocket
-
Unsubscribe from live order updates.Interactive Brokers Client Portal API WebSocket
-
Unsubscribe from profit-and-loss updates.Interactive Brokers Client Portal API WebSocket
-
Unsubscribe from trade updates.Interactive Brokers Client Portal API WebSocket