Key Principles
Principle | Decision / Discussion |
---|---|
Flexible aggregation over time |
|
Scope one Portfolio |
|
Benchmark Data |
|
Frequency |
|
Calendar Days |
|
Period Definitions |
|
Return Types |
|
Completeness & |
|
Incomplete month periods |
|
Interface "PortfolioReturns"
Usage & Contents |
| ||
---|---|---|---|
Reporting Business Logic |
|
Path
/portfolio/returns
Parameters
portfolioId*
string
The id of the portfolio (or consolidation) in the data source
startDate*
string (date)
The start date of the period for which return data is requested
endDate*
string (date)
The end date of the period for which return data is requested
includeDailyReturns
(default: false
|
Response to include daily return data (where available)
includeBenchmark
boolean
(default: false)
Response to include benchmark return data
customBenchmarkId
string
parameter to query data of the portfolio measured against another benchmark
Example call
/portfolio/returns?portfolioId=E0002&startDate=2011-04-01&endDate=2019-03-31
Schema
Consistency Rules | The following rules should be adhered to by any response and will be checked when consuming a response:
| ||
---|---|---|---|
Path | /portfolio/returns | ||
Parameters |
| string | The id of the portfolio (or consolidation) in the data source |
| string (date) | The start date of the period for which return data is requested | |
| string (date) | The end date of the period for which return data is requested | |
| boolean (default: false) | Response to include daily return data (where available) | |
| boolean (default: false) | Response to include benchmark return data | |
| string | parameter to query data of the portfolio measured against another benchmark | |
Example call |
| ||
Schema | |||
Example |
Interface "InstrumentReturns"
Usage & Contents |
| ||
---|---|---|---|
Reporting Business Logic | |||
Consistency rules |
| ||
Path |
| ||
Parameters |
| string (date) | The start date the reporting is produced for |
| string (date) | The end date the reporting is produced for | |
| string[] | The list of instruments the return series should be generated | |
| boolean (default: false) | Response to include daily return data (where available) | |
Example call |
| ||
Schema | |||
Example |