List DealsGET
Returns one page of deal history for the authenticated user, newest first. There is no maximum date range. When more deals may match, the response carries `next_token`; pass it back to fetch the next page, which can be empty. 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 deal 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 deals 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 account history
Exchange Rates
Returns the current conversion rate between two currencies. Use it to convert balances, PnL or margin figures from an account's currency into another, for example USD to EUR.
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.