Navigation :
test ../../ test user-ref.html
User & Reference Guide
test ../../ test getting-started.html
Getting started
test ../../ test getting-started/about.html
- Using this guide
test ../../ test getting-started/whats-new.html
- What's New
test ../../ test getting-started/data-model.html
- Market Risk Data Model
test ../../ test dashboards.html
Dashboards
test ../../ test what-if.html
What-If Analysis
test ../../ test limits.html
Limit monitoring
test ../../ test sign-off.html
Sign-Off Approvals
test ../../ test calculations.html
Calculations Guide
test ../../ test configuration.html
Configuration files
test ../../ test cube.html
Cube Reference
test ../../ test datastore.html
Datastores
test ../../ test input-files.html
Input file formats
test ../../ test dev.html
Developer Guide
test ../../ test dev/dev-release.html
-
Release and migration notes
test ../../ test dev/dev-getting-started.html
-
Getting Started
test ../../ test dev/dev-mr-application.html
-
The Market Risk Application
test ../../ test dev/dev-libraries.html
-
Market Risk Libraries
test ../../ test dev/dev-extensions.html
-
Extending the Accelerator
test ../../ test dev/dev-extensions/activate-cube.html
-- Activating and de-activating cubes
test ../../ test dev/dev-extensions/add-a-new-cube-hierarchy.html
-- Adding cube hierarchies
test ../../ test dev/dev-extensions/add-a-new-data-loading-unloading-topic.html
-- Adding data loading or unloading topics
test ../../ test dev/dev-extensions/add-a-new-kpi.html
-- Adding KPIs
test ../../ test dev/dev-extensions/configure-measures.html
-- Configuring measures using Spring Beans
test ../../ test dev/dev-extensions/configure-schema-selections.html
-- Configuring schema selections using Spring Beans
test ../../ test dev/dev-extensions/configure-sources.html
-- Configuring sources using Spring Beans
test ../../ test dev/dev-extensions/setup-context-values.html
-- Setting up the default context values
test ../../ test dev/dev-extensions/dev-guidelines.html
--
Developing on the Accelerator
test ../../ test dev/dev-tools.html
-
Configuring Accelerator tools and methodologies
test ../../ test dev/dev-sign-off.html
-
Sign-Off
test ../../ test dev/dev-whatif.html
-
What-If
test ../../ test pdf-guides.html
PDF Guides
Adding KPIs
This page provides a description of how we can add a KPI. The techniques
employed are generic examples that can be extended, adapted and repeated
for any use case that we need. In all cases, we make minimal changes to
the MR application.
Cube
Qualifier
Var-ES Cube
kpiVaRESCube
VaR-ES Summary Cube
kpiVaRESSummaryCube
Sensitivity Cube
kpiSensitivityCube
Sensitivity Summary Cube
kpiSensitivitySummaryCube
PLCube
kpiPLCube
PL Summary Cube
kpiPLSummaryCube
Combined Cube
kpiMRCombinedCube
A KPI can be defined as a bean with the following format:
@Bean
@Qualifier("kpi[...theCubeName...]")
public IKpiDescription myKpiTest() {
return StartBuilding.kpi()
.withName(...)
...
.build();
}
Pre-defined KPIs for the VaR-ES cube are located in the class KpiProviderConfig
within
/mr-var-config/src/main/java/com/activeviam/mr/var/config/
Suggested Further Reading