Trading
Get Orders
Changed onGet historical order data across all or filtered accounts from the database/registry.
Orders come newest first. pagination.next_cursor is the cursor of the page's last order; pass it back as cursor to get the orders older than it. It is null on the last page. A cursor is a position, not a token: any <created_at ISO>|<order id> pages from that point back, whether or not the order exists. A cursor not in that format is refused with a 400.
Args: filter_request: JSON payload with filtering criteria
Returns: Paginated response with historical order data and pagination metadata
post/trading/orders/search
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/trading/orders/search
- AuthHTTP basic
Request body
Response
Successful Response
Example response
{
"data": [],
"pagination": {
"has_more": true,
"limit": 100,
"next_cursor": "2024-01-10T12:00:00",
"total_count": 500
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info