List Portfolio Orders
List historical orders for a given portfolio. This endpoint returns a payload with a default limit of 100 if not specified by the user. The maximum allowed limit is 3000.
Caution: Currently, you cannot query open orders with this endpoint: use List Open Orders if you have less than 1000 open orders, otherwise use Websocket API, or FIX API to stream open orders.
Use the Prime SDK or CLI to test this endpoint by following the quickstart guide and running with the following examples
For more information, please visit the Prime Java SDK.
For more information, please visit the Prime Java SDK.
For more information, please visit the Prime .NET SDK.
For more information, please visit the Prime Go SDK.
For more information, please visit the Prime Python SDK.
For more information, please visit the Prime CLI.
For more information, please visit the Prime TS SDK.
Path Parameters
Portfolio ID
Query Parameters
List of statuses by which to filter the response
- UNKNOWN_ORDER_STATUS: nil value
- OPEN: The order is open but unfilled
- FILLED: The order was filled
- CANCELLED: The order was cancelled
- EXPIRED: The order has expired
- FAILED: Order submission failed
- PENDING: The order has been sent but is not yet confirmed
List of products by which to filter the response
Order type by which to filter the response
- UNKNOWN_ORDER_TYPE: nil value
- MARKET: A market order
- LIMIT: A limit order
- TWAP: A time-weighted average price order
- BLOCK: A block trade
- VWAP: A volume-weighted average price order
- STOP_LIMIT: A conditional order combined of stop order and limit order
- RFQ: A request for quote
UNKNOWN_ORDER_TYPE
, MARKET
, LIMIT
, TWAP
, BLOCK
, VWAP
, STOP_LIMIT
, RFQ
Cursor used for pagination (last consumed record)
Number of items to retrieve
Sorting order
DESC
, ASC
An order side to filter on.
- UNKNOWN_ORDER_SIDE: nil value
- BUY: Buy order
- SELL: Sell order
UNKNOWN_ORDER_SIDE
, BUY
, SELL
A start date for the orders to be queried from
An end date for the orders to be queried from
Response
A successful response.
The response is of type object
.