v1

latestOpenAPI 3.1.0Apache 2.02026-07-2498321298.8 KB
Investments

List positions

Returns a list of positions for a specific holding. For further details on Pagination, see general section above.

get/financial-data/v2beta/portfolios/{pid}/holdings/{hid}/positions

Path parameters

pidstring required
Example:654d7617-1cd3-46ab-921a-56fd92acf4a4

ID of the portfolio which the holding is associated with.

hidstring required
Example:b1c629e2-6463-4c76-9ddc-58aab54340c3

The ID of the holding

Query parameters

limitinteger

Limit the number of items in resulting query response.

tokenstring

If a query response contains a non-empty nextToken, use that value as token query parameter to continue pagination.

Response

List of positions.

nextTokenstring required

Pagination token for next page. The value will be a non-empty string if there are more resources to be fetched. The value will be an empty string if there are no more resources to be fetched.

tokenstring required

The pagination token that was used for this request. The value will be an empty string if no token query parameter was provided with the request.

limitinteger required

The page limit that was used for this request.

Example response

{
  "items": [
    {
      "id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
      "holdingId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
      "organizationId": "0160f6ab-5741-49e1-af46-9138927e547e",
      "timestamp": "2023-04-25T15:01:13.738861011Z",
      "localDate": "2022-05-07",
      "maturityDate": "2022-05-07",
      "type": "MONEY_MARKET_FUND",
      "nav": {
        "currency": "EUR",
        "stringValue": "15.02",
        "value": 1502
      },
      "scaledNav": {
        "currency": "EUR"
      },
      "totalValue": {
        "currency": "EUR",
        "stringValue": "15.02",
        "value": 1502
      },
      "nominal": {
        "currency": "EUR",
        "stringValue": "15.02",
        "value": 1502
      },
      "fundAum": {
        "currency": "EUR",
        "stringValue": "15.02",
        "value": 1502
      },
      "totalPurchasePrice": {
        "currency": "EUR",
        "stringValue": "15.02",
        "value": 1502
      },
      "version": 1,
      "etag": "version:3"
    }
  ],
  "nextToken": "eyIxIjogIlRoaXMgaXMgYSBkdW1teSBwYWdpbmF0aW9uIHRva2VuLiJ9",
  "token": "eyIwIjogIlRoaXMgaXMgYSBkdW1teSBwYWdpbmF0aW9uIHRva2VuLiJ9",
  "limit": 100
}