Class SensiDatastoreDescriptionConfig


  • @Configuration
    @Profile({"standard","scalar-sensi"})
    public class SensiDatastoreDescriptionConfig
    extends Object
    Sensitivities stores description
    • Constructor Detail

      • SensiDatastoreDescriptionConfig

        public SensiDatastoreDescriptionConfig()
    • Method Detail

      • createTradeBaseStoreDescription

        public static com.qfs.desc.IStoreDescription createTradeBaseStoreDescription()
        Creates a store for the Trades with have sensitivities.
        Returns:
        Trade store
      • createScalarTradeBaseStoreDescription

        public static com.qfs.desc.IStoreDescription createScalarTradeBaseStoreDescription​(String tenorAndMaturityDefaultValue,
                                                                                           String moneynessDefaultValue)
        Creates a store for the Trades with have sensitivities. This store holds scalar trades.
        Parameters:
        tenorAndMaturityDefaultValue - The default value for tenors and maturities
        moneynessDefaultValue - The default value for moneyness
        Returns:
        Trade store
      • createMarketDataStoreDescription

        public static com.qfs.desc.IStoreDescription createMarketDataStoreDescription​(String tenorAndMaturityDefaultValue,
                                                                                      String moneynessDefaultValue)
        Creates the vectorised market data store
        Parameters:
        tenorAndMaturityDefaultValue - The default value for tenors and maturities
        moneynessDefaultValue - The default value for moneyness
        Returns:
        market data datastore
      • createScalarMarketDataStoreDescription

        public static com.qfs.desc.IStoreDescription createScalarMarketDataStoreDescription​(String tenorAndMaturityDefaultValue,
                                                                                            String moneynessDefaultValue)
        Creates the scalar market data store
        Parameters:
        tenorAndMaturityDefaultValue - The default value for tenors and maturities
        moneynessDefaultValue - The default value for moneyness
        Returns:
        market data datastore
      • sensiLadderStoreDescription

        public static com.qfs.desc.IStoreDescription sensiLadderStoreDescription()
        Creates a store for the sensitivity ladder definitions
        Returns:
        Sensitivity ladder store
      • createTenorsStoreDescription

        public static Set<com.qfs.desc.IStoreDescription> createTenorsStoreDescription()
        Creates a store for the superset of Sensitivity tenors
        Returns:
        Tenor store
      • createDynamicTenorsStoreDescription

        public static Set<com.qfs.desc.IStoreDescription> createDynamicTenorsStoreDescription()
        Creates a store for the superset of Sensitivity dynamic tenors
        Returns:
        Tenor store
      • riskFactorMarketShiftStore

        public static com.qfs.desc.IStoreDescription riskFactorMarketShiftStore​(String tenorAndMaturityDefaultValue,
                                                                                String moneynessDefaultValue)
        Creates the store that contains the market shifts by scenario for all the risk pillars.
        Parameters:
        tenorAndMaturityDefaultValue - The default value for tenors and maturities
        moneynessDefaultValue - The default value for moneyness
        Returns:
        riskFactorMarketShifts datastore
      • createMarketDataSetsStore

        public static com.qfs.desc.IStoreDescription createMarketDataSetsStore()
      • createCommonStores

        public static Collection<com.qfs.desc.IStoreDescription> createCommonStores()
        Creates all of the stores needed for the sensitivity cube
        Returns:
        sensitivity datastores
      • sensiStoreDescriptions

        @Bean(name="sensiStoreDescriptions")
        @Profile("standard")
        public Collection<com.qfs.desc.IStoreDescription> sensiStoreDescriptions()
        Creates all of the stores needed for vectorised data.
        Returns:
        The sensitivity datastores.
      • scalarSensiStoreDescriptions

        @Bean(name="sensiStoreDescriptions")
        @Profile("scalar-sensi")
        public Collection<com.qfs.desc.IStoreDescription> scalarSensiStoreDescriptions()
        Creates all of the stores needed for scalar-sensi data.
        Returns:
        The sensitivity datastores.
      • commonReferences

        public static Collection<com.qfs.desc.IReferenceDescription> commonReferences()
        Creates all of the references needed for both the standard and scalar sensitivity cube
        Returns:
        sensitivity references
      • sensiStoreReferences

        @Bean(name="sensiStoreReferences")
        @Profile({"standard","scalar-sensi"})
        @DependsOn("datastoreCustomisations")
        public Collection<com.qfs.desc.IReferenceDescription> sensiStoreReferences()
        Creates all of the references needed for the sensitivity cube
        Returns:
        sensitivity references