Class MarketDataRequirementsBuilder

    • Constructor Detail

      • MarketDataRequirementsBuilder

        public MarketDataRequirementsBuilder()
    • Method Detail

      • addTimeSeries

        public MarketDataRequirementsBuilder addTimeSeries​(ObservableId... ids)
        Adds requirements for time series of observable market data.
        Parameters:
        ids - IDs of the data
        Returns:
        this builder
      • addOutputCurrencies

        public MarketDataRequirementsBuilder addOutputCurrencies​(Currency... currencies)
        Adds the output currencies.

        These are used to ensure that FX rate market data is available for currency conversion.

        Parameters:
        currencies - the output currencies
        Returns:
        this builder
      • addRequirements

        public MarketDataRequirementsBuilder addRequirements​(MarketDataRequirements requirements)
        Adds all requirements from an instance of MarketDataRequirements to this builder.
        Parameters:
        requirements - a set of requirements
        Returns:
        this builder
      • build

        public MarketDataRequirements build()
        Returns a set of market data requirements built from the data in this builder.
        Returns:
        a set of market data requirements built from the data in this builder