Security analysis with daily values
query SecuritySearch($securityIds: [Long], $benchmarkId: String) {
analytics(
parameters: {
startDate: "2021-12-01",
endDate: "2021-12-03",
benchmarkId: $benchmarkId,
secIds: $securityIds
paramsSet: {
startDate: "2021-12-01",
endDate: "2021-12-03",
timePeriodCodes: "GIVEN",
key: "1",
includeData: true,
includeChildren: true,
grouppedByProperties: [SECURITY]
}
}) {
grouppedAnalytics(key: "1") {
grouppedAnalytics {
name
code
grouppedAnalyticsTimePeriod {
startDate
endDate
timePeriodCode
marketValue
twr
twrBm
}
indexedReturnData {
date
marketValueStart
marketValue
indexedValue
benchmarkIndexedValue
}
}
}
}
}
{
"data": {
"analytics": {
"grouppedAnalytics": {
"grouppedAnalytics": [
{
"name": "Danske Invest-Japan Fund",
"code": "DIJP DC",
"grouppedAnalyticsTimePeriod": [
{
"startDate": "2021-12-01",
"endDate": "2021-12-03",
"timePeriodCode": "GIVEN",
"marketValue": 139.55,
"twr": 0.017499088589135958,
"twrBm": -0.0026827158968565357
}
],
"indexedReturnData": [
{
"date": "2021-12-01",
"marketValueStart": 137.15,
"marketValue": 139.1,
"indexedValue": 100,
"benchmarkIndexedValue": 100
},
{
"date": "2021-12-02",
"marketValueStart": 139.1,
"marketValue": 137.15,
"indexedValue": 99.99999999999999,
"benchmarkIndexedValue": 100.36240197203152
},
{
"date": "2021-12-03",
"marketValueStart": 137.15,
"marketValue": 139.55,
"indexedValue": 101.74990885891359,
"benchmarkIndexedValue": 99.73172841031435
}
]
},
{
"name": "UBS Lux Fund Solutions - MSCI",
"code": "CANA SW",
"grouppedAnalyticsTimePeriod": [
{
"startDate": "2021-12-01",
"endDate": "2021-12-03",
"timePeriodCode": "GIVEN",
"marketValue": 21.98,
"twr": -0.008793686583991045,
"twrBm": -0.0026827158968565357
}
],
"indexedReturnData": [
{
"date": "2021-12-01",
"marketValueStart": 22.175,
"marketValue": 22.225,
"indexedValue": 100,
"benchmarkIndexedValue": 100
},
{
"date": "2021-12-02",
"marketValueStart": 22.225,
"marketValue": 22,
"indexedValue": 99.2108229988726,
"benchmarkIndexedValue": 100.36240197203152
},
{
"date": "2021-12-03",
"marketValueStart": 22,
"marketValue": 21.98,
"indexedValue": 99.1206313416009,
"benchmarkIndexedValue": 99.73172841031435
}
]
}
]
}
}
}
}