Package com.caplin.motif.fx.ret.calendar
Class CalendarProvider
java.lang.Object
com.caplin.motif.fx.ret.calendar.CalendarProvider
-
Constructor Summary
ConstructorDescriptionCalendarProvider
(com.caplin.ret.trapi.fx.execution.CalendarService calendarService, com.caplin.ret.trapi.admin.AdminService adminService) -
Method Summary
Modifier and TypeMethodDescriptiongetCaption
(String instrument, String currencyPair) getSettlementDates
(String year, String month, String currencyPair, String instrument) getSettlementFixingDates
(String instrument, String currencyPair, Set<String> settlementDates) getTenorDates
(String currencyPair, String instrument) getTenorFixingDates
(String instrument, String currencyPair, Map<com.caplin.motif.fx.common.Tenor, String> tenors) boolean
hasFixingDates
(String instrument, String currencyPair)
-
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
-
getTenorFixingDates
-
hasFixingDates
-
getCaption
-