Unsubscribe
unsubscribeCancel a subscription by ID or cancel all subscriptions to release IBKR market data lines. Handles quotes, depth, tick-by-tick, bars, scanners, news, and more.
Instructions
Cancel one subscription, or all of them, and free their IBKR market data lines.
Pass either `subscription_id` or `all=true`. Works for every kind of subscription
(quotes, depth, tick-by-tick, bars, scanners, news, bulletins, display groups).
Subscriptions belong to the server, not to one client: `all=true` also stops streams
that other clients of this server opened.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Cancel every subscription of every kind. | |
| subscription_id | No | The id a subscribe_* tool returned (see list_subscriptions). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cancelled | Yes | ||
| remaining | Yes | Subscriptions still open. |