Cinnamon Data Interface - Returns
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 |
| ||
Consistency Rules | The following rules should be adhered to by any response and will be checked when consuming a response:
| ||
Path |
| ||
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 | on request | ||
Example | on request |
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 | on request | ||
Example | on request |