Package com.caplin.motif.fx.ret.calendar
Class CalendarProvider
- java.lang.Object
-
- com.caplin.motif.fx.ret.calendar.CalendarProvider
-
public class CalendarProvider extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CalendarProvider(com.caplin.ret.trapi.fx.execution.CalendarService calendarService, com.caplin.ret.trapi.admin.AdminService adminService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCaption(java.lang.String instrument, java.lang.String currencyPair)
java.util.Set<java.lang.String>
getSettlementDates(java.lang.String year, java.lang.String month, java.lang.String currencyPair, java.lang.String instrument)
java.util.Map<java.lang.String,java.lang.String>
getSettlementFixingDates(java.lang.String instrument, java.lang.String currencyPair, java.util.Set<java.lang.String> settlementDates)
java.util.Map<com.caplin.motif.fx.common.Tenor,java.lang.String>
getTenorDates(java.lang.String currencyPair, java.lang.String instrument)
java.util.Map<com.caplin.motif.fx.common.Tenor,java.lang.String>
getTenorFixingDates(java.lang.String instrument, java.lang.String currencyPair, java.util.Map<com.caplin.motif.fx.common.Tenor,java.lang.String> tenors)
boolean
hasFixingDates(java.lang.String instrument, java.lang.String currencyPair)
-
-
-
Method Detail
-
getSettlementDates
public java.util.Set<java.lang.String> getSettlementDates(java.lang.String year, java.lang.String month, java.lang.String currencyPair, java.lang.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 java.util.Map<com.caplin.motif.fx.common.Tenor,java.lang.String> getTenorDates(java.lang.String currencyPair, java.lang.String instrument) throws com.caplin.ret.trapi.exception.TrAPINumberFormatException
- Throws:
com.caplin.ret.trapi.exception.TrAPINumberFormatException
-
getSettlementFixingDates
public java.util.Map<java.lang.String,java.lang.String> getSettlementFixingDates(java.lang.String instrument, java.lang.String currencyPair, java.util.Set<java.lang.String> settlementDates)
-
getTenorFixingDates
public java.util.Map<com.caplin.motif.fx.common.Tenor,java.lang.String> getTenorFixingDates(java.lang.String instrument, java.lang.String currencyPair, java.util.Map<com.caplin.motif.fx.common.Tenor,java.lang.String> tenors)
-
hasFixingDates
public boolean hasFixingDates(java.lang.String instrument, java.lang.String currencyPair)
-
getCaption
public java.lang.String getCaption(java.lang.String instrument, java.lang.String currencyPair)
-
-