List OrdersGET
Returns one page of order history for the authenticated user, newest creation time first. There is no maximum date range. When more orders match, the response carries `next_token`; pass it back to fetch the next page. An absent `next_token` means this is the last page.
Authorization
AuthorizationRequiredBearer <token>JWT token obtained from the login endpoint
In: header
Path Parameters
account_idRequiredstringAccount ID to fetch order history for
Query Parameters
fromstringInclusive start date (YYYY-MM-DD, UTC). Omit for all history.
toRequiredstringInclusive end date (YYYY-MM-DD, UTC).
limitintegerMaximum number of orders to return in one page (default 25, max 500)
25Minimum: 1Maximum: 500next_tokenstringOpaque cursor from the previous page's next_token. Send it unchanged, with the same
from/to; omit it for the first page.
Successfully retrieved order history
Balance History
Returns the most recent balance changes for the account, oldest first, up to `points` items. Each item is the balance right after the change and the `reason` for it. Credit and the P&L of open positions are not included. An account with no history returns an empty `data` array.
List Positions
Returns one page of closed-position history for the authenticated user, newest creation time first. There is no maximum date range. When more positions match, the response carries `next_token`; pass it back to fetch the next page. An absent `next_token` means this is the last page.