Skip to main content
This page explains the changes required to migrate to the stated version of Atoti FRTB.

Migrate to 5.1.3

Breaking Changes

None.

Summary

  • Reinstating the Categories hierarchy: The Categories hierarchy that was removed in 5.1.0 can be added back with the configuration property categories-hierarchy.enabled=true.

Input file formats

Added

Configuration files

Files Modified

application.yaml
New properties:

Datastores

Added stores

Cube schema

Added

Migrate to 5.1.2

No migration needed.

Breaking Changes

None

Summary

  • Atoti Server version: Upgraded to 6.0.13
  • Bug fixes This release fixes some known issues.

Migrate to 5.1.1

No migration needed.

Breaking Changes

None

Summary

This release fixes some bugs.

Migrate to 5.1.0

Upgrading from version 5.0.1 See Atoti FRTB 5.1 Release Notes. Atoti FRTB uses Atoti Server 6.0.5 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. For clients licensed to use ActiveMonitor, a skeleton module based on version 6.0.5 is included with the Atoti FRTB 5.1.0 release.

Breaking Changes

None

Summary

DirectQuery

  • DirectQuery Database Configuration changes: Some fields have been modified in this version. See the DirectQuery Database Configuration section below for a complete list of changes.
  • Parent-child support with DirectQuery : LegalEntityParentChild and BookParentChild data can be provided in place of the LegalEntityHierarchy and BookHierarchy tables respectively.
  • Additional DirectQuery Configuration Properties: See the new properties added to the application.yaml file.
  • DirectQuery distribution configuration: The distribution configuration in DirectQuery now requires three nodes instead of two. See DirectQuery Horizontal Distribution for details on how to set up distribution when using DirectQuery.
  • Migration REST Service: The Migration REST Service allows for extracting of data into a format that is ready to be loaded into one of the supported DirectQuery databases.
  • DirectQuery Annotations: Annotations for use with DirectQuery have been added to help make defining beans and configuration classes easier when using DirectQuery.
  • New Date Filter Configuration Bean: The newly added directQueryDatesToIncludeFilter bean allows for custom configuration of which dates to include in your DirectQuery data node.
  • Removed “preview” package: The preview package has been removed from the frtb-directquery module. All child packages or classes have been moved to the parent frtb package.
  • DirectQuery nodes work with in-memory Sign-Off enabled nodes: A DirectQuery data node can now be connected to nodes with Sign-Off enabled. The enable-signoff spring profile must be active on all nodes (in-memory and DirectQuery).
  • Removed CacheRemoteTableLocallyTuplePublisher: You no longer need custom channel parameters when defining a cached remote table.

Other Changes

  • Curvature store un-vectorized : Curvature store has been un-vectorized.
  • ChannelParameters follow fluent conventions : ChannelParameters are now created by following fluent conventions instead of relying on a handful of constructors.
  • Desk Descriptions separated from BookParentChild & BookHierarchy Stores: Desk Descriptions has been added to store desk descriptions.
  • Stop Using Trade-Level PV and Notional for DRC and Curvature: Measure Chains for DRC and Curvature stores have been adjusted to use PV and Notional respectively.
  • Split Desks from Book Parent Child: Desk Descriptions have been separated from the BookHierarchy store.
  • What-If upgrade to 2.0.1: See What-If section below for the summary of changes.
  • Book Desk Switching What-If Added new what-if for switching the desk of a given book. Works similarly to a desk model switch what-if
  • Merged SA Sensitivities stores : Fixed memory use issue by merging the stores TradeBase, Delta, Vega, Curvature, and DRCBase into a single SASensitivities store.
  • Added SA Query Cube : This query cube allows querying data across multiple data nodes in the StandardisedApproachCube.
  • Minor database field changes: Some fields have been modified in this version. See the Databases section below for a complete list of changes.
  • Parameter Adjustments: Updated parameters to match ISDA requirements in all data sets.
  • Actuator Endpoint: Tightened security in default configuration for Spring boot actuator and now require admin role.
  • Minor Refactoring of initialDataLoad bean: This bean now depends on a new bean, initialConfigDataLoad. More can be read below.

Parent-child support with DirectQuery

Previously the LegalEntityHierarchy and BookHierarchy stores had to define 5 and 15 levels respectively. Now, rather than creating and managing the LegalEntityHierarchy and BookHierarchy Tables yourself, you can instead just provide a ParentChild table, then create a series of views to generate the LegalEntityHierarchy and BookHierarchy Tables on the remote database. For the SQL script to create the views to populate from a ParentChild table, see:

Stop using trade-level PV and Notional for DRC and Curvature

Measure Chains for DRC and Curvature stores have been adjusted to use PV and Notional respectively. A migration script has been provided for migrating input data for each store. The scripts can be found in the folder frtb-starter/src/scripts.

Split desks from Book Parent Child

Desk Descriptions have been separated from the BookHierarchy store. BookParentChild.csv has been deprecated and renamed to BookParentChild.v1.csv. Old files can still be loaded and a migration script has been provided for the new file format.

What-If upgrade to 2.0.1

  • AWhatIfDefinition is now ADatabaseSimulationDefinition.
  • SimulationDefinitions create JsonDatabaseActions which can be INSERT, UPDATE, or DELETE.
  • To clean up the logic in the What-If REST controllers, some elements have been moved to simulation definitions.
  • Now that desk descriptions are separated from the BookParentChild store, the common library implementation of BookParentChildWhatIfSubmitter is used.

SA Query Cube

The SA Query Cube, named “StandardisedApproachCube”, allows for querying across multiple SA data nodes. When running an application with DirectQuery and in-memory data, all data in the StandardisedApproachCube can now be queried. Previously, querying across the multiple nodes was only available in the combined cube.

AsOfDate Filter Config Bean

A new bean directQueryDatesToIncludeFilter has been added that supports complex logic for which dates to include in your DirectQuery data node. You no longer have to specify the dates you want to exclude from your DirectQuery data node through the initial-load.business-dates property.

Input file formats

Added

Modified

Deprecated

Configuration files

Files added

CSRNonSec_HighRatings.csv
Added CSRNonSec_HighRatings.csv to provide the ratings that are considered “high” for CSR non-Sec covered bonds.
Multiplier.csv
This file has moved from the daily files to the configuration files.

Files Modified

signoff.properties
Updated properties:
frtb.properties
New properties: Deleted properties:
frtb-config.properties
New properties: Deleted properties:
frtb-data-load.properties
New properties:
application.yaml
New properties: Updated properties:
FRTBParameters.csv

Files Deleted

Multiplier.csv was previously loaded as a daily file, but has been moved to the configuration files.

Datastores

Added stores

Modified stores

Deleted stores

Partitioning

The datastore partitioning has been modified to match the partitioning of the default partial LEAF aggregate providers. The following stores now use modulo partitioning on the Underlying (or equivalent) field
  • SaSensitivities
  • RiskFactorDescription
  • UnderlyingDescription
  • RRAO (RRAOCategory)
  • Obligor (ObligorId)
  • Tranche (Tranche)
  • Security (Security)
The following stores no longer use modulo partitioning on TradeId
  • SaSensitivities
  • SATradeDescription
  • TradeMapping

Databases

Added tables

Modified tables

Deleted Tables

Cube schema

Added

Modified

None

Removed

None

Measures

Added

Context values

No changes

Measure Customizations

The annotations used to customize measures have changed as follows: Additionally, the @Primary annotation is no longer needed on the custom measures. See Replacing Cube Measures for more details.

Other changes

initialDataLoad bean refactoring

The initialDataLoad bean has been slightly altered to now rely on an initialConfigDataLoad bean which is responsible for loading the configuration data. The overall logic and order of file loading has not changed. Moving the loading of the configuration data into its own bean allows for cleaner configuration of a DirectQuery application.

Removed CacheRemoteTableLocallyTuplePublisher

The CacheRemoteTableLocallyTuplePublisher has been removed. Now when defining tables to cache locally, all that is required is to define the qualified SideStoresToCache bean.