Uses of Record Class
com.quantfinlib.rates.LegConvention
Packages that use LegConvention
Package
Description
Fixed income: curves, bonds, swaps, day counts and calendars, with
market conventions.
-
Uses of LegConvention in com.quantfinlib.rates
Methods in com.quantfinlib.rates that return LegConventionModifier and TypeMethodDescriptionFixedLeg.convention()Returns the value of theconventionrecord component.OvernightLeg.convention()Returns the value of theconventionrecord component.TermRateLeg.convention()Returns the value of theconventionrecord component.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.LegConvention.withPaymentLag(int days) The same convention with a different payment lag.LegConvention.withStub(BusinessCalendar.StubType stubType) The same convention with a different stub type.Constructors in com.quantfinlib.rates with parameters of type LegConventionModifierConstructorDescriptionFixedLeg(LocalDate start, LocalDate end, double rate, LegConvention convention) Validates the fields.OvernightLeg(LocalDate start, LocalDate end, double spread, LegConvention convention, OvernightConvention overnight, FixingHistory fixings) Validates the fields.TermRateLeg(LocalDate start, LocalDate end, double spread, LegConvention convention, int fixingLagDays, FixingHistory fixings) Validates the fields.