1.1.0
2026-11-30VaR cube
New features
- Scenario engine on the VaR cube: a scenario can override the
Confidence Levelmeasure with theconstant_scalarorscale_scalaraction. Queries on that scenario then return VaR and ES at a confidence level that the cube is not configured with. Scenarios are selected on the newSimulation Scenariosdimension. The feature is opt-in: thevar-cube-starterdoes not bring the Atoti Server scenario engine, so the application wires it as the scenario engine documentation describes. Theatoti.solution.model.cubes.var.simulations.enabledproperty,trueby default, turns the feature off for the cube. See Scenarios. - Pre-trade What-If scenarios: a scenario can show the effect of a hypothetical trade that is not yet booked on VaR and ES. The trade’s
TradePnLandTradeAttributesrows are loaded in advance under their ownDataSimulationId. Activating the scenario makes them count in the queries that select it. Other queries do not include them. See How to activate a pre-trade What-If scenario.
Improvements
- Faster, lighter incremental contributions: the Incremental VaR Contribution and Incremental ES Contribution measures are now faster and use less memory. The improvement is most visible on trade-level queries over large books or portfolios. Results, measure names, and configuration are unchanged.
- Faster currency conversion of P&L vectors: queries on P&L vectors are now faster and allocate less memory when the vectors are already in the display currency. Conversion now skips the copy and multiplication when the FX rate is one. Results are unchanged.
Fixes
- VaR and ES scenario index and name on each scenario: with the Scenario level on an axis, the VaR Scenario Index, VaR Scenario Name, ES Scenario Indices, and ES Scenario Name(s) measures repeated the value of the Scenario total on every scenario. They now have a value on the Scenario total only.
- Startup no longer fails on cube levels with fields of the same name: the application failed at startup when the book aggregate provider was partitioned on a level whose table the fact table reaches through several joins, or whose field has the same name as the field of another level. The error asked for an explicit partitioning, which the
IModelConfigurerbean could not give because it runs later. A level reached through several joins now resolves. When another level has a field of the same name, the application starts and logs a warning that names the provider and the two levels, and theIModelConfigurerbean can replace the partitioning. See How to resolve a clash of field names.
Changes
- New default trade maturity: a trade with no maturity date, because the value is blank or the trade has no TradeAttributes row, now shows
+999999999-12-31on the trade maturity level instead of-999999999-01-01. VaR and ES results are unchanged.
API changes
- Scenario level in the scenario index and name inputs: the constructors of
VaRScenarioIndexInput,VaRScenarioNameInput,EsIndicesInput, andEsScenarioNamesInputtake a new last argument, the scenario level. See Migration guides. - Scenario engine accessors on the VaR cube interfaces: in the package
com.activeviam.solutions.marketrisk.lib.api.cube.var,IVaRCubeLevelshas the new methodsimulationScenarios(), which returns null when the cube’s scenarios are not enabled.IVaRCubePropertieshas the new methodgetSimulations(). A class that implements these interfaces must add the methods. See Migration guides. - New
pnlVectorSumInframarginal()method:IVaRPnLMeasureshas a new abstractpnlVectorSumInframarginal()method. A class that implementsIVaRPnLMeasuresmust add it. - FX conversion inputs take the FX rate measure only:
FxScalarConversionInputandFxVectorConversionInputno longer take anFxRateInput, sowithFxRateInput(...)andfxRateInput()are removed. The FX rate measure is required.FxRateInputhas a new optionalvectorSize. See Migration guides. FxVectorConversionInputtakes additional levels and a missing-rate option: in the packagecom.activeviam.solutions.marketdata.lib.api.factories, the public constructor takes the underlying measure, the currency level, the additional levels, the FX rate measure, andnullWhenRateMissing. Additional levels are levels, besides the currency, along which the FX rate varies, such as a time point. WhennullWhenRateMissingis true, the converted sum is null if any vector has no FX rate. Otherwise it sums the vectors that have one. The new accessors areadditionalLevels()andnullWhenRateMissing(). The builder has the new methodswithAdditionalLevel,withAdditionalLevels,clearAdditionalLevels, andwithNullWhenRateMissing. By default there are no additional levels andnullWhenRateMissingis false, which converts as in 1.0.0. See Migration guides.