Uses of Enum Class
com.quantfinlib.rates.BusinessCalendar.Roll
Packages that use BusinessCalendar.Roll
Package
Description
Fixed income: curves, bonds, swaps, day counts and calendars, with
market conventions.
-
Uses of BusinessCalendar.Roll in com.quantfinlib.rates
Subclasses with type arguments of type BusinessCalendar.Roll in com.quantfinlib.ratesModifier and TypeClassDescriptionstatic enumDate roll conventions for payment dates landing on non-business days.Methods in com.quantfinlib.rates that return BusinessCalendar.RollModifier and TypeMethodDescriptionInterestRateSwap.roll()Returns the value of therollrecord component.LegConvention.roll()Returns the value of therollrecord component.OisSwap.roll()Returns the value of therollrecord component.static BusinessCalendar.RollReturns the enum constant of this class with the specified name.static BusinessCalendar.Roll[]BusinessCalendar.Roll.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.quantfinlib.rates with parameters of type BusinessCalendar.RollModifier and TypeMethodDescriptionstatic doubleRatesOptions.capFloor(DiscountCurve discount, DiscountCurve projection, LocalDate start, LocalDate end, int paymentsPerYear, DayCount dayCount, BusinessCalendar calendar, BusinessCalendar.Roll roll, double strike, double vol, boolean cap, RatesOptions.VolModel model) Cap (or floor) on the projection index over the adjusted schedule fromstarttoend: caplet j paystau_j max(F_j - K, 0)att_j,F_jthe projection forward on its accrual period, fixing at the period start, discounted ondiscount.static LegConventionLegConvention.of(int paymentsPerYear, DayCount dayCount, BusinessCalendar calendar, BusinessCalendar.Roll roll) A convention with a short front stub, no end-of-month rule and no payment lag.BusinessCalendar.roll(LocalDate date, BusinessCalendar.Roll convention) Applies the roll convention to a date.BusinessCalendar.schedule(LocalDate effectiveDate, LocalDate maturity, int paymentsPerYear, BusinessCalendar.Roll convention) Coupon payment schedule: unadjusted dates generated backward from maturity every12/paymentsPerYearmonths (short front stub, no end-of-month rule), then rolled.BusinessCalendar.schedule(LocalDate effectiveDate, LocalDate maturity, int paymentsPerYear, BusinessCalendar.Roll convention, BusinessCalendar.StubType stub, boolean endOfMonth) AsBusinessCalendar.schedule(LocalDate, LocalDate, int, Roll)with a stub type and EOM rule.Constructors in com.quantfinlib.rates with parameters of type BusinessCalendar.RollModifierConstructorDescriptionInterestRateSwap(LocalDate start, LocalDate end, double fixedRate, int fixedPerYear, DayCount fixedDayCount, int floatPerYear, DayCount floatDayCount, BusinessCalendar calendar, BusinessCalendar.Roll roll) Creates an instance of aInterestRateSwaprecord class.LegConvention(int paymentsPerYear, DayCount dayCount, BusinessCalendar calendar, BusinessCalendar.Roll roll, BusinessCalendar.StubType stub, boolean endOfMonth, int paymentLagDays) Validates the fields.OisSwap(LocalDate start, LocalDate end, double fixedRate, int paymentsPerYear, DayCount dayCount, BusinessCalendar calendar, BusinessCalendar.Roll roll) Creates an instance of aOisSwaprecord class.