returns HoldingsList
Portfolio positions grouped by entity.
| Name | Type | Description |
|---|---|---|
| portfolioId | String! | The portfolio whose positions are grouped by entity. |
Aggregated holdings across all of the caller's portfolios.
| Field | Type | Description |
|---|---|---|
| holdings | [Holding!]! | One row per issuing entity. |
| totalEntities | Int! | Count of entities represented. |
| totalPositions | Int! | Total active positions backing these holdings. |
{ holdings(portfolioId: "...") { totalEntities totalPositions } }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": "{ holdings(portfolioId: \"...\") { totalEntities totalPositions } }"}'