Uses of Record Class
com.quantfinlib.rates.RatesOptions.VolModel
Packages that use RatesOptions.VolModel
Package
Description
Fixed income: curves, bonds, swaps, day counts and calendars, with
market conventions.
-
Uses of RatesOptions.VolModel in com.quantfinlib.rates
Methods in com.quantfinlib.rates that return RatesOptions.VolModelModifier and TypeMethodDescriptionstatic RatesOptions.VolModelRatesOptions.VolModel.lognormal()static RatesOptions.VolModelRatesOptions.VolModel.normal()static RatesOptions.VolModelRatesOptions.VolModel.shiftedLognormal(double shift) Methods in com.quantfinlib.rates with parameters of type RatesOptions.VolModelModifier 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 doubleRatesOptions.capFloor(YieldCurve curve, double maturityYears, int paymentsPerYear, double strike, double vol, boolean cap, RatesOptions.VolModel model) Cap (or floor,cap = false) with accrual τ = 1/f: caplet i fixes at (i−1)τ, pays τ·max(L_i − K, 0) at iτ, L_i the simple forward.static doubleRatesOptions.swaption(DiscountCurve discount, DiscountCurve projection, InterestRateSwap underlying, double strike, double vol, boolean payer, RatesOptions.VolModel model) Swaption onunderlying(its fixed rate is ignored;strikeis used), expiring at the swap start:A_d * model(F, K)withFthe multi-curve par rate andA_dthe OIS annuity.static doubleRatesOptions.swaption(YieldCurve curve, double startYears, double tenorYears, int paymentsPerYear, double strike, double vol, boolean payer, RatesOptions.VolModel model) Swaption price per unit notional under anyRatesOptions.VolModel: annuity × model value on the forward swap rate, expiry = start.static doubleRatesOptions.swaptionImpliedVol(YieldCurve curve, double startYears, double tenorYears, int paymentsPerYear, double strike, double price, boolean payer, RatesOptions.VolModel model) Implied vol (of the given model) of a swaption price per unit notional.