Class CalendarProvider

java.lang.Object
com.caplin.motif.fx.ret.calendar.CalendarProvider

public class CalendarProvider extends Object
  • Constructor Details

    • CalendarProvider

      public CalendarProvider(com.caplin.ret.trapi.fx.execution.CalendarService calendarService, com.caplin.ret.trapi.admin.AdminService adminService)
  • Method Details

    • getSettlementDates

      public Set<String> getSettlementDates(String year, String month, String currencyPair, String instrument) throws com.m_systems.trapi.lib.TradingException, com.caplin.ret.trapi.exception.TrAPINumberFormatException
      Throws:
      com.m_systems.trapi.lib.TradingException
      com.caplin.ret.trapi.exception.TrAPINumberFormatException
    • getTenorDates

      public Map<com.caplin.motif.fx.common.Tenor,String> getTenorDates(String currencyPair, String instrument) throws com.caplin.ret.trapi.exception.TrAPINumberFormatException
      Throws:
      com.caplin.ret.trapi.exception.TrAPINumberFormatException
    • getSettlementFixingDates

      public Map<String,String> getSettlementFixingDates(String instrument, String currencyPair, Set<String> settlementDates)
    • getTenorFixingDates

      public Map<com.caplin.motif.fx.common.Tenor,String> getTenorFixingDates(String instrument, String currencyPair, Map<com.caplin.motif.fx.common.Tenor,String> tenors)
    • hasFixingDates

      public boolean hasFixingDates(String instrument, String currencyPair)
    • getCaption

      public String getCaption(String instrument, String currencyPair)