latestOpenAPI 3.1.02026-08-22181751733.6 KB
67f9f562c2c6
tradingPortfolio
Account Positions (NEW)
Returns a list of positions for the given account. /portfolio/accounts or /portfolio/subaccounts must be called prior to this endpoint. This endpoint provides near-real time updates and removes caching otherwise found in the /portfolio/{accountId}/positions/{pageId} endpoint.
get/portfolio2/{accountId}/positions
Path parameters
accountIdstring required
Query parameters
modelstring
direction'a' | 'd'
The chronologic order of orders to sort by.
- a - Display in ascending order.
- d - Display in descending order.
Response
response with position details