QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.41
Loading...
Searching...
No Matches
OvernightLeg Class Reference

helper class building a sequence of overnight coupons More...

#include <ql/cashflows/overnightindexedcoupon.hpp>

Public Member Functions

 OvernightLeg (Schedule schedule, const ext::shared_ptr< OvernightIndex > &overnightIndex)
OvernightLeg & withNotionals (Real notional)
OvernightLeg & withNotionals (const std::vector< Real > &notionals)
OvernightLeg & withPaymentDayCounter (const DayCounter &)
OvernightLeg & withPaymentAdjustment (BusinessDayConvention)
OvernightLeg & withPaymentCalendar (const Calendar &)
OvernightLeg & withPaymentLag (Integer lag)
OvernightLeg & withGearings (Real gearing)
OvernightLeg & withGearings (const std::vector< Real > &gearings)
OvernightLeg & withSpreads (Spread spread)
OvernightLeg & withSpreads (const std::vector< Spread > &spreads)
OvernightLeg & withTelescopicValueDates (bool telescopicValueDates)
OvernightLeg & withAveragingMethod (RateAveraging::Type averagingMethod)
OvernightLeg & withLookbackDays (Natural lookbackDays)
OvernightLeg & withLockoutDays (Natural lockoutDays)
OvernightLeg & withObservationShift (bool applyObservationShift=true)
OvernightLeg & compoundingSpreadDaily (bool compoundSpreadDaily=true)
OvernightLeg & withLookback (const Period &lookback)
OvernightLeg & withCaps (Rate cap)
OvernightLeg & withCaps (const std::vector< Rate > &caps)
OvernightLeg & withFloors (Rate floor)
OvernightLeg & withFloors (const std::vector< Rate > &floors)
OvernightLeg & withNakedOption (bool nakedOption)
OvernightLeg & withDailyCapFloor (bool dailyCapFloor=true)
OvernightLeg & inArrears (bool inArrears)
OvernightLeg & withLastRecentPeriod (const ext::optional< Period > &lastRecentPeriod)
OvernightLeg & withLastRecentPeriodCalendar (const Calendar &lastRecentPeriodCalendar)
OvernightLeg & withPaymentDates (const std::vector< Date > &paymentDates)
OvernightLeg & withCouponPricer (const ext::shared_ptr< OvernightIndexedCouponPricer > &couponPricer)
 operator Leg () const

Detailed Description

helper class building a sequence of overnight coupons