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 renamedmr.sensi.rules.<sensitivity-type>.pnl-explain. This is to accommodate the newmr.sensi.rules.<sensitivity-type>.taylor-varproperties that allow Taylor VaR and PnL Explain calculations to be configured independently. - The
ISensiRuleConfigurationServiceinterface has been replaced by theIPnlExplainRuleConfigurationServiceandITaylorVarRuleConfigurationServiceinterfaces. - The
ISensiRuleConfigurationServicAwareinterface has been removed. - The method
getVaRExplainFormulainIPnLExplainFormulaProviderhas been renamed togetPnlExplainFormulaForShiftas this method is now only used for PnL Explain calculations. - The constructor for the
PnLExplainFormulaProviderclass now requires anIPnlExplainRuleConfigurationServiceinstead of anISensiRuleConfigurationService. - The
InputSelectorclass has been renamed toPnlExplainInputSelector. There is a correspondingTaylorVarInputSelectorand they both implementIInputSelector. To autowire these beans you must now use the new qualifiers:SP_QUALIFIER__PNL_EXPLAIN_INPUT_SELECTORandSP_QUALIFIER__TAYLOR_VAR_INPUT_SELECTOR. - The
IInputSelectorAwareinterface has been replaced by theIPnlExplainInputSelectorAwareandITaylorVarInputSelectorAwareinterfaces. - The
APnlVectorFromRiskSensiPostProcessorpost-processor now implements theITaylorVarFormulaProviderAwareinterface instead of theIPnLExplainFormulaProviderAwareinterface. - 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 Historybookmark underAtoti MR & PL/Story-Telling Target Viewshas been removed. - Content server reset on start: The default behavior driven by the in-memory database properties in
application.yamlhas 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 aliasAllMarketData, used for loading the input files.
Input file formats
No changes.Configuration
Configuration properties
Properties added
A number of properties have been added to themr-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
SplitRatioMarketDatastore 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-libandmr-market-data-confighave been removed. They were used for the configuration of the Market Data Cube. - In the ThetaCopper class, some methods have been renamed. The
marketDataPostProcessorandscalarMarketDataPostProcessormethods have been renamed. - The
com.activeviam.accelerator.common.dates.IMaturityConverterinterface has been removed from the modulemr-common-liband has been replaced by the interfacecom.activeviam.accelerator.common.dates.IMaturityConverter. - Some methods have been added to the
ISensitivityMarketDataMeasuresinterface and the following methods have been changed:scalarNativeIntermediateInterpolatedDividend,scalarNativeIntermediateInterpolatedTheta,vectorNativeIntermediateInterpolatedTheta - For the market data measure chains configuration: the classes names
*CurrentDateMarketDataChain,*NextDateMarketDataChainand*PreviousDateMarketDataChainhae 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 changed for market data.
- Migration of market data measures to new Market Data API for scalar sensitivities.
- Removal of debug market data measures.
- New Dividend and Split Ratio stores.
- Maven dependencies.
- IMaturityConverterAware class.
- Theta: methods renamed.
- Market Data retriever names.
- Deletion of Market Data Cube.
Input file formats
Added
New files
Modified
The fileInstrument_Market_Data.csv has been renamed to Spot_Market_Data.csv
Removed
Configuration
Configuration properties
Properties added
The following properties have been created in themr-sensi-config module:
Properties removed
the"mr.enable.cubes.market-data property has been removed.
Property files
No changes.Datastores
Added store configurations
- The
CorporateActionstore has been deprecated. It is still used to handle dividends for vectorized sensitivities, but not for scalar sensitivities. The storesDividendMarketDataandSplitRatioMarketDatashould be used instead. - The
MarketDatastore has been deprecated. It is still used to handle dividends for vectorized sensitivities, but not for scalar sensitivities. The storesSpotMarketData,CurveMarketData,SurfaceMarketData,CubeMarketDataandCorrelationMarketDatashould be used instead. - The
FXRatesstore has been deprecated. It is not used anymore, and will be removed. The storeFxRateMarketDataneeds to be used instead.
Modified store configurations
- The
InstrumentMarketDatastore has been renamed toSpotMarketData. - The
CurveMarketDataStorestore has been renamed toCurveMarketData. - The
SurfaceMarketDataStorestore has been renamed toSurfaceMarketData. - The
CubeMarketDataStorestore has been renamed toCubeMarketData.
Marked for removal
Database
Added tablesCube schema
The Market Data Cube has been deleted.Measures
Added
Removed
The following debug market data measures found in themr-sensi-config module were removed:
For additional changes related to this, see Removal of debug market data measures.
Context values
Removed
Modules removed
The modulesmr-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 themr-sensi-lib module:
IMaturityConverterAware class
Thecom.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 classThetaCopper, 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: