Skip to main content
This page explains the changes since 5.4.0-BETA and 5.4.0-BETA 2, and explains any changes required to migrate from these early releases to the stated version of Atoti Market Risk:

Changes since 5.4.0-BETA 2

Changed

Removed

Fixed

Fixed issues introduced in 5.4.0-BETA 2

Migrate to 5.4.0

Upgrading from version 5.4.0-BETA 2, see Atoti Market Risk 5.4 Release Notes. Atoti Market Risk uses Atoti Server 6.0.14-sb3 and Atoti UI 5.1.x. For new features and fixes included in these releases, please see the Atoti UI documentation and Atoti UI Migration Notes, and the release notes for Atoti Server.

Breaking Changes

  • Default content server startup settings changed to reset its content to the content in mr-application/src/main/resources/mr-bookmarks. No persistence upon restart with new default properties.
  • The properties beginning mr.sensi.rules.<sensitivity-type>... have been renamed mr.sensi.rules.<sensitivity-type>.pnl-explain. This is to accommodate the new mr.sensi.rules.<sensitivity-type>.taylor-var properties that allow Taylor VaR and PnL Explain calculations to be configured independently.
  • The ISensiRuleConfigurationService interface has been replaced by the IPnlExplainRuleConfigurationService and ITaylorVarRuleConfigurationService interfaces.
  • The ISensiRuleConfigurationServicAware interface has been removed.
  • The method getVaRExplainFormula in IPnLExplainFormulaProvider has been renamed to getPnlExplainFormulaForShift as this method is now only used for PnL Explain calculations.
  • The constructor for the PnLExplainFormulaProvider class now requires an IPnlExplainRuleConfigurationService instead of an ISensiRuleConfigurationService.
  • The InputSelector class has been renamed to PnlExplainInputSelector. There is a corresponding TaylorVarInputSelector and they both implement IInputSelector. To autowire these beans you must now use the new qualifiers: SP_QUALIFIER__PNL_EXPLAIN_INPUT_SELECTOR and SP_QUALIFIER__TAYLOR_VAR_INPUT_SELECTOR.
  • The IInputSelectorAware interface has been replaced by the IPnlExplainInputSelectorAware and ITaylorVarInputSelectorAware interfaces.
  • The APnlVectorFromRiskSensiPostProcessor post-processor now implements the ITaylorVarFormulaProviderAware interface instead of the IPnLExplainFormulaProviderAware interface.
  • The market data measures configuration has been changed to fix issues introduced in the MR 5.4.0-BETA 2 release.
  • The Market Data API code has been changed based on feedback on MR 5.4.0-BETA 2. For details about the design and implementation suggestions, see Market Data API.

Summary

  • Market Data bookmark removed: The Risk Factor History bookmark under Atoti MR & PL/Story-Telling Target Views has been removed.
  • Content server reset on start: The default behavior driven by the in-memory database properties in application.yaml has been changed to reset the content server on start with the bookmarks folder (mr-application/src/main/resources/mr-bookmarks).
  • Market Data API improvements: The Market Data API has been modified based on feedback:
    • Retriever factories: Retriever factories have been split into containers holding table retrievers and coordinate translators associated with a name and factories leveraging these containers.
    • New interpolation type added: A new interpolation type (InterpolationMode.VOL_TO_VARIANCE) added to support a volatility-to-variance transformation applied to the input data and a variance-to-volatility transformation applied to the results of interpolation.
  • Scalar sensitivities using the Market Data API: The scalar sensitivity measure chains have been migrated to use the new Market Data API:
    • New market data configuration properties: Properties have been added to configure the type of market data and the interpolation for each sensitivity.
    • New measures: Native interpolated market data measures are now created based on the market data configuration properties.
  • Added topic alias AllMarketData: All the market data tables are regrouped under the new topic alias AllMarketData, used for loading the input files.

Input file formats

No changes.

Configuration

Configuration properties

Properties added
A number of properties have been added to the mr-common-config module beginning mr.sensi.rules.<sensitivity-type>.taylor-var. These properties mirror the previous mr.sensi.rules properties, allowing Taylor VaR and PnL Explain calculations to be configured independently. For full details of these properties, please see the mr-common-config properties documentation. The following properties have been added to configure sensitivity calculations with the new Market Data API: Properties in the mr-common-config module beginning mr.sensi.rules have been renamed to mr.sensi.rules.<sensitivity-type>.pnl-explain. Along with the new mr.sensi.rules.<sensitivity-type>.taylor-var properties, this allows Taylor VaR and PnL Explain calculations to be configured independently. For full details of these properties, please see the mr-common-config properties documentation

Property files

Files Modified
application.yaml
New properties:

Datastores

Modified stores

The types of the following store fields have been changed:

Database

Modified tables

The types of the following database table fields have been changed:

Deleted tables

FXRATES has been removed and replaced by the new Market Data API store FxRateMarketData.

Cube schema

No changes.

Measures

No changes.

Context values

No changes.

Other changes

Changes since 5.4.0-BETA

Added

Changed

| MR-1775 | Removed “store” suffix in market data store names. |

Removed

Fixed

Fixed issues introduced in 5.4.0-BETA

None.

Migrate to 5.4.0-BETA 2

Upgrading from version 5.4.0-beta, see Atoti Market Risk 5.4 Release Notes. Atoti Market Risk uses Atoti Server 6.0.12-sb3 and Atoti UI 5.1.x. For new features and fixes included in these releases, please see the Atoti UI documentation and Atoti UI Migration Notes, and the release notes for Atoti Server.

Breaking Changes

  • Vectorized sensitivities have been deprecated: scalar sensitivities should be used instead of vectorized sensitivities.
  • The default data model for sensitivities changed from vector model to scalar model.
  • The CorporateAction store has been removed for scalar sensitivities, and deprecated for vectorized sensitivities: it is still used to handle dividends for vectorized sensitivities, but is not used anymore for scalar sensitivities.
  • Stock splits are handled in a new store: the SplitRatioMarketData store is used for the handling of stock split ratios both for vectorized and scalar sensitivities.
  • New input files for Dividends and stock Split Ratios have been created.
  • New Market Data input files: spot, curve, surface, cube, and correlation market data files have been created to replace the previous market data input file.
  • The Market Data Cube has been deleted : Market data measures in the Sensitivities Cube need to be used to display market data instead of the Market Data Cube.
  • The debug market data measures have been removed.
  • The modules mr-market-data-lib and mr-market-data-config have been removed. They were used for the configuration of the Market Data Cube.
  • In the ThetaCopper class, some methods have been renamed. The marketDataPostProcessor and scalarMarketDataPostProcessor methods have been renamed.
  • The com.activeviam.accelerator.common.dates.IMaturityConverter interface has been removed from the module mr-common-lib and has been replaced by the interface com.activeviam.accelerator.common.dates.IMaturityConverter.
  • Some methods have been added to the ISensitivityMarketDataMeasures interface and the following methods have been changed: scalarNativeIntermediateInterpolatedDividend, scalarNativeIntermediateInterpolatedTheta, vectorNativeIntermediateInterpolatedTheta
  • For the market data measure chains configuration: the classes names *CurrentDateMarketDataChain, *NextDateMarketDataChain and *PreviousDateMarketDataChain hae been changed to use the new market data API.
  • The SQL scripts to create and load data for DirectQuery with Microsoft SQL Server and Snowflake have been modified to match the schema of the new Market Data API.

Summary

Input file formats

Added

New files

Modified

The file Instrument_Market_Data.csv has been renamed to Spot_Market_Data.csv

Removed

Configuration

Configuration properties

Properties added
The following properties have been created in the mr-sensi-config module:
Properties removed
the "mr.enable.cubes.market-data property has been removed.

Property files

No changes.

Datastores

Added store configurations

  • The CorporateAction store has been deprecated. It is still used to handle dividends for vectorized sensitivities, but not for scalar sensitivities. The stores DividendMarketData and SplitRatioMarketData should be used instead.
  • The MarketData store has been deprecated. It is still used to handle dividends for vectorized sensitivities, but not for scalar sensitivities. The stores SpotMarketData, CurveMarketData, SurfaceMarketData, CubeMarketData and CorrelationMarketData should be used instead.
  • The FXRates store has been deprecated. It is not used anymore, and will be removed. The store FxRateMarketData needs to be used instead.
*For details, see New Dividend and Split Ratio stores.

Modified store configurations

Marked for removal

Database

Added tables

Cube schema

The Market Data Cube has been deleted.

Measures

Added

Removed

The following debug market data measures found in the mr-sensi-config module were removed: For additional changes related to this, see Removal of debug market data measures.

Context values

Removed

Modules removed

The modules mr-market-data-lib and mr-market-data-config have been removed. They were used for the configuration of the Market Data Cube.

Other changes

Maven dependencies

The following test dependency has been added to the mr-sensi-lib module:

IMaturityConverterAware class

The com.activeviam.accelerator.common.dates.IMaturityConverter interface has been removed from the module mr-common-lib and has been replaced by the interface com.activeviam.accelerator.common.dates.IMaturityConverter.

Theta: methods renamed

In the class ThetaCopper, the following methods have been renamed:

Market Data retriever names

The market data retriever names have been renamed as follows in the *MarketDataRetrievalConfig configuration classes: