returns PositionList
Paginated list of positions.
| Name | Type | Description |
|---|---|---|
| portfolioId | String | Filter to one portfolio. |
| securityId | String | Filter to holdings of one security. |
| status | String | Filter by position status. |
| limit | Int | Maximum rows to return, 1-1000. Omit to use this field's own default; out of range raises INVALID_PAGINATION. |
| offset | Int | Rows to skip before returning, 0 or greater. Out of range raises INVALID_PAGINATION. |
Paginated list of positions.
| Field | Type | Description |
|---|---|---|
| positions | [Position!]! | Positions on this page. |
| pagination | PaginationInfo! | Pagination cursor and totals. |
{ positions }curl -X POST "https://api.robosystems.ai/extensions/$GRAPH_ID/graphql" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ positions }"}'