Portfolio
Portfolio Positions
Returns a list of positions for the given account. The endpoint supports paging, page's default size is 30 positions. /portfolio/accounts or /portfolio/subaccounts must be called prior to this endpoint.
get/portfolio/{accountId}/positions/{pageId}
Request
- Base URLhttp://localhost:5000/v1/api
- Authnone declared
- TypeScripthttps://skmtc.dev/ibkr/apis/client-portal-web-api/docs/portfolio/:accountId/positions/:pageId/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
account id
pageIdstring required
page id
Query parameters
modelstring
optional
sortstring
declare the table to be sorted by which column
directionstring
in which order, a means ascending - d means descending
periodstring
period for pnl column, can be 1D, 7D, 1M...
Response
returns a list of positions in the portfolio
Changes
No recorded changes to this operation across all 1 revision of this API.