Completed orders
get_completed_ordersList recently filled or cancelled Interactive Brokers orders, newest first, with their completion status. Use to review what completed in current and recent sessions.
Instructions
List recently filled or cancelled orders, newest first, with IBKR's completion status.
IBKR decides how far back this reaches (the current and recent sessions). Use
get_executions for fill prices and commissions. Default limit 100, maximum 1000.
Errors: ib_api_error 321, at once, when the gateway's API is read-only (get_health:
api_read_only), which refuses this request; get_executions still lists recent fills.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return. Omit for the tool's default; larger values are capped. The result's truncated flag says whether more were available. | |
| account | No | IBKR account id, e.g. DU1234567. Omit to use the default account; list_accounts shows which accounts are allowed. | |
| api_only | No | Only orders placed through the API (leave out manual TWS ones). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | How many orders matched before the limit. | |
| orders | Yes | ||
| account | Yes | ||
| truncated | No | True when the result was cut to the limit. |