get_orders
Retrieve all open and active orders on a Public.com brokerage account, including symbol, side, type, status, quantity, and prices.
Instructions
Get all open/active orders on the account.
Fetches the account portfolio and returns only the orders list. Returns order details including symbol, side, type, status, quantity, and prices.
Orders that belong to a bracket carry a bracketId — the order ID of the bracket's entry order — which groups the entry and its exit legs together.
Args: account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |