performance:readAuthorization: ********************{
"from": "2019-08-24T14:15:22.123Z",
"to": "2019-08-24T14:15:22.123Z",
"groupBy": "string",
"combineHoldings": true,
"includeClosedPositions": true,
"filters": [
{
"type": "string",
"value": null,
"operator": "string",
"logicalOperator": "string"
}
]
}curl --location '/v1/portfolios//contribution' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--data '{
"from": "2019-08-24T14:15:22.123Z",
"to": "2019-08-24T14:15:22.123Z",
"groupBy": "string",
"combineHoldings": true,
"includeClosedPositions": true,
"filters": [
{
"type": "string",
"value": null,
"operator": "string",
"logicalOperator": "string"
}
]
}'{
"chartDataPoints": [
{
"label": "string",
"value": 0,
"totalReturnValue": 0,
"capitalGainValue": 0,
"incomeReturnValue": 0,
"currencyGainValue": 0
}
],
"groupedHoldingReturns": [
{
"holdingId": 0,
"symbol": "string",
"exchange": "string",
"displayExchange": "string",
"holdingTypeId": 0,
"groupName": "string",
"holdingReturn": {
"calculationDate": "2019-08-24T14:15:22.123Z",
"totalValue": 0,
"totalReturnValue": 0,
"totalReturnPercent": 0,
"realisedReturnValue": 0,
"realisedReturnPercent": 0,
"unrealisedReturnValue": 0,
"unrealisedReturnPercent": 0,
"capitalGainValue": 0,
"capitalGainPercent": 0,
"dividendReturnValue": 0,
"dividendReturnPercent": 0,
"currencyGainValue": 0,
"currencyGainPercent": 0,
"costBase": 0,
"rawCostBase": 0,
"isAnnualized": true,
"holdingId": 0,
"symbol": "string",
"exchange": "string",
"currencyCode": "string",
"quote": {
"symbol": "string",
"exchange": "string",
"name": "string",
"tradeDate": "2019-08-24T14:15:22.123Z",
"lastTradePrice": 0,
"openingPrice": 0,
"change": 0,
"percentChange": 0,
"previousClose": 0,
"highPrice": 0,
"lowPrice": 0,
"volume": 0,
"askPrice": 0,
"askVolume": 0,
"bidPrice": 0,
"bidVolume": 0,
"tradeCount": 0,
"currencyCode": "string",
"queryExchange": "string"
},
"avgBuyPrice": 0
}
}
],
"portfolioReturn": {
"calculationDate": "2019-08-24T14:15:22.123Z",
"totalValue": 0,
"totalReturnValue": 0,
"totalReturnPercent": 0,
"realisedReturnValue": 0,
"realisedReturnPercent": 0,
"unrealisedReturnValue": 0,
"unrealisedReturnPercent": 0,
"capitalGainValue": 0,
"capitalGainPercent": 0,
"dividendReturnValue": 0,
"dividendReturnPercent": 0,
"currencyGainValue": 0,
"currencyGainPercent": 0,
"costBase": 0,
"rawCostBase": 0,
"isAnnualized": true
}
}