Class MetalPricingDataProvider

java.lang.Object
com.caplin.motif.fx.ret.pricing.provider.PricingDataProvider<com.caplin.motif.fx.ret.pricing.subject.MetalSubjectInfoImpl>
com.caplin.motif.fx.ret.pricing.provider.metal.MetalPricingDataProvider
All Implemented Interfaces:
com.caplin.motif.datasource.CachedDataProvider<com.caplin.motif.fx.rates.RateSubjectInfo>

public class MetalPricingDataProvider extends PricingDataProvider<com.caplin.motif.fx.ret.pricing.subject.MetalSubjectInfoImpl>
  • Constructor Details

    • MetalPricingDataProvider

      public MetalPricingDataProvider(List<com.caplin.ret.trapi.rates.RatesService> ratesManagers, com.caplin.motif.fx.rates.FXRatesAdapter fxRatesAdapter, com.caplin.ret.trapi.admin.AdminService serviceManager, SubscriptionRequestFactory subscriptionRequestFactory, UnitConverter unitConverter, int serialExecutorPoolSize, com.caplin.motif.fx.ret.pricing.subject.MetalSubjectParserImpl subjectParser, String namespace, String adapterName)
  • Method Details

    • createQuotePublisher

      public com.caplin.motif.fx.rates.FXQuotePublisher createQuotePublisher()
      Specified by:
      createQuotePublisher in class PricingDataProvider<com.caplin.motif.fx.ret.pricing.subject.MetalSubjectInfoImpl>
    • createSubscriptionRequest

      public com.caplin.ret.trapi.rates.SubscriptionRequest createSubscriptionRequest(com.caplin.motif.fx.ret.pricing.subject.MetalSubjectInfoImpl subjectInfo) throws Exception
      Specified by:
      createSubscriptionRequest in class PricingDataProvider<com.caplin.motif.fx.ret.pricing.subject.MetalSubjectInfoImpl>
      Throws:
      Exception
    • getDisplayedGFA

      public String getDisplayedGFA(String gfa, String currencyPair, String unit)
      Specified by:
      getDisplayedGFA in class PricingDataProvider<com.caplin.motif.fx.ret.pricing.subject.MetalSubjectInfoImpl>