GetOrderQueuePosition Endpoint Added
18 days ago by ReadMe API
GetOrderQueuePosition Endpoint Added
We've added a new endpoint GET /portfolio/orders/{order_id}/queue
that allows you to check the queue position of your resting orders.
What's New
The GetOrderQueuePosition
endpoint provides information about where your order sits in the order book queue. This is particularly useful for understanding:
- How many contracts are ahead of your order at the same price level
- Your order's priority for execution
- Better visibility into order book dynamics
Response Format
The endpoint returns:
queue_position
: The number of contracts ahead of your order at the same price levelorder_id
: The ID of the order queried
Usage Example
GET /portfolio/orders/{order_id}/queue
This endpoint helps traders better understand their order's likelihood of execution and make more informed decisions about order management.