Skip to main content

Scopes

The scope describes which data is loaded and unloaded. Each request to the Data Load Controller contains a scope. In the FRTB reference implementation, the as-of date scope is turned into a directory and all the files in that directory are loaded. When unloading data, the scope is turned into a RemoveWhere clause to be run on the datastore. The following table shows you the three different scopes in the FRTB reference implementation. You can add your own scope definition if required, such as ‘book’, ‘portfolio’, and so on.

Topic Aliases

Each input file is loaded with a topic (see Input file formats). Topic aliases are used to group those topics. contains the following topic aliases:

Unload Topic Aliases

Unload topic aliases allow you to selectively unload data for a specific as-of date, cube by cube. Each alias maps to the set of datastore tables that feed a specific cube. This allows you to unload one cube’s data without affecting others. To unload, for example, the SA cube data for a specific date:
To unload all cube data for a date while keeping parameters:

Configuration Properties

The following properties can be set in application.properties:

Initial Load Order

Topic Aliases

The following topic aliases are loaded on startup in the specified order.

Configuration

If there is a configuration directory available, the following topics are loaded:
  1. ConfigurationData
  2. TupleData

As-of-Dates

If the configuration parameter initial-load.business-dates is set, the dates listed in the parameter are used. For example, in the application.properties file:
If the initial-load.business-dates parameter is not set, the top level of the data directory is scanned for directories with date names. These dates are then used as the as-of-dates for the initial load. This matches the previous startup behavior.

Topics loaded with As-Of-Dates

For the set of determined as-of-dates, the following topics are loaded with the “AsOfDate” field set in the scope:
  1. IMADRCScenariosData
  2. ALLSA + ALLIMADaily + PLTradeData + StressCalibrationData

Historical Data (Optional)

If the configuration parameter initial-load.history is set to true and there is a historical directory available, the following additional topics are loaded:
  1. HistoricalOrganisationData + IMASummary + PLSummaryData + IMADRCSummaryData