get_order_by_id
Retrieves a single order from Alpaca by order ID, with an optional nested view that combines multi-leg orders under the primary order.
Instructions
Retrieves a single order by its ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nested | No | If true, the result will roll up multi-leg orders under the legs field of primary order. | |
| order_id | Yes | order id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||