Overview
functions to construct and use OptionletVolatilityStructure objects.
Function List
qlCapFloorTermVTSVolatility ()
qlCapFloorTermVTSVolatility2 ()
qlCapFloorTermVolCurve ()
qlCapFloorTermVolCurveOptionDates ()
qlCapFloorTermVolCurveOptionTenors ()
qlCapFloorTermVolSurface ()
qlCapFloorTermVolSurfaceOptionDates ()
qlCapFloorTermVolSurfaceOptionTenors ()
qlCapFloorTermVolSurfaceStrikes ()
qlConstantOptionletVolatility ()
qlOptionletStripper1 ()
qlOptionletStripper1CapFloorPrices ()
qlOptionletStripper1CapFloorVolatilities ()
qlOptionletStripper1OptionletPrices ()
qlOptionletStripper1SwitchStrike ()
qlOptionletStripper2 ()
qlOptionletStripper2AtmCapFloorPrices ()
qlOptionletStripper2AtmCapFloorStrikes ()
qlOptionletStripper2SpreadsVol ()
qlOptionletStripperOptionletAccrualPeriods ()
qlOptionletStripperOptionletFixingTenors ()
qlOptionletStripperOptionletPaymentDates ()
qlOptionletVTSBlackVariance ()
qlOptionletVTSBlackVariance2 ()
qlOptionletVTSVolatility ()
qlOptionletVTSVolatility2 ()
qlRelinkableHandleOptionletVolatilityStructure ()
qlSpreadedOptionletVolatility ()
qlStrippedOptionlet ()
qlStrippedOptionletAdapter ()
qlStrippedOptionletBaseAtmOptionletRates ()
qlStrippedOptionletBaseBusinessDayConvention ()
qlStrippedOptionletBaseCalendar ()
qlStrippedOptionletBaseDayCounter ()
qlStrippedOptionletBaseOptionletFixingDates ()
qlStrippedOptionletBaseOptionletFixingTimes ()
qlStrippedOptionletBaseOptionletVolatilities ()
qlStrippedOptionletBaseSettlementDays ()
qlStrippedOptionletBaseStrikes ()
Function Documentation
- Description:
Returns volatility from the given CapFloorTermVolatilityStructure object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::CapFloorTermVolatilityStructure object OptionDate caplet/floorlet expiry date. Strike caplet/floorlet strike. AllowExtrapolation Extrapolation Flag (TRUE allows extrapolation). Default value = false. Trigger dependency tracking trigger
- Description:
Returns volatility from the given CapFloorTermVolatilityStructure object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::CapFloorTermVolatilityStructure object OptionTenor caplet/floorlet option tenor. Strike caplet/floorlet strike. AllowExtrapolation Extrapolation Flag (TRUE allows extrapolation). Default value = false. Trigger dependency tracking trigger
- Description:
Construct an object of class CapFloorTermVolCurve and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created SettlementDays number of settlement days. Calendar holiday calendar used for calculating the exercise dates from the expiries tenor. BusinessDayConvention Business day convention used for calculating the exercise dates from the expiries. OptionTenors option tenors. Volatilities vol quotes vector. DayCounter DayCounter ID. Default value = Actual/365 (Fixed). Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
qlCapFloorTermVolCurveOptionDates
- Description:
Returns the option dates from the given CapFloorTermVolCurve object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::CapFloorTermVolCurve object Trigger dependency tracking trigger
qlCapFloorTermVolCurveOptionTenors
- Description:
Returns the option tenors from the given CapFloorTermVolCurve object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::CapFloorTermVolCurve object Trigger dependency tracking trigger
- Description:
Construct an object of class CapFloorTermVolSurface and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created SettlementDays number of settlement days. Calendar holiday calendar used for calculating the exercise dates from the expiries tenor. BusinessDayConvention Business day convention used for calculating the exercise dates from the expiries. OptionTenors option tenors. Strikes cap strikes. Volatilities vol quotes matrix. DayCounter DayCounter ID. Default value = Actual/365 (Fixed). Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
qlCapFloorTermVolSurfaceOptionDates
- Description:
Returns the option dates from the given CapFloorTermVolSurface object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::CapFloorTermVolSurface object Trigger dependency tracking trigger
qlCapFloorTermVolSurfaceOptionTenors
- Description:
Returns the option tenors from the given CapFloorTermVolSurface object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::CapFloorTermVolSurface object Trigger dependency tracking trigger
qlCapFloorTermVolSurfaceStrikes
- Description:
Returns the option strikes from the given CapFloorTermVolSurface object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::CapFloorTermVolSurface object Trigger dependency tracking trigger
- Description:
Construct an object of class ConstantOptionletVolatility and return its id
- Supported Platforms:
Excel, C++, Calc
- Parameters
-
ObjectId id of object to be created NDays number of days to advance from EvaluationDate: it fixes the date at which the variance = 0.0. Default value = 0. Calendar holiday calendar (e.g. TARGET) used for calculating the exercise dates from the expiries. BusinessDayConvention Business day convention used for calculating the exercise dates from the expiries. Volatility cap/floor constant volatility Quote. DayCounter DayCounter ID. Default value = Actual/365 (Fixed). VolatilityType Volatility type: Normal or ShiftedLognormal. Default value = ShiftedLognormal. Displacement Shift for the lognormal model. Default value = 0.00. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class OptionletStripper1 and return its id
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of object to be created TermVolSurface CapFloorTermVolSurface object ID. IborIndex cap index object ID. SwitchStrike switch strike. Default value = QuantLib::Null<QuantLib::Rate>(). Accuracy solver accuracy. Default value = 1.0e-6. MaxIter solver max iterations. Default value = 100. VolatilityType Volatility type: Normal or ShiftedLognormal. Default value = ShiftedLognormal. Displacement Shift for the lognormal model. Default value = 0.00. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
qlOptionletStripper1CapFloorPrices
- Description:
Returns option prices matrix from the given OptionletStripper1 object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletStripper1 object Trigger dependency tracking trigger
qlOptionletStripper1CapFloorVolatilities
- Description:
Returns option volatilities matrix from the given OptionletStripper1 object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletStripper1 object Trigger dependency tracking trigger
qlOptionletStripper1OptionletPrices
- Description:
Returns optionlet prices matrix from the given OptionletStripper1 object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletStripper1 object Trigger dependency tracking trigger
qlOptionletStripper1SwitchStrike
- Description:
Returns option switch strike from the given OptionletStripper1 object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletStripper1 object Trigger dependency tracking trigger
- Description:
Construct an object of class OptionletStripper2 and return its id
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of object to be created OptionletStripper1 OptionletStripper1 object id. TermVolCurve CapFloorTermVolCurve object id. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
qlOptionletStripper2AtmCapFloorPrices
- Description:
Returns ATM option prices from the given OptionletStripper2 object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletStripper2 object Trigger dependency tracking trigger
qlOptionletStripper2AtmCapFloorStrikes
- Description:
Returns option ATM strikes from the given OptionletStripper2 object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletStripper2 object Trigger dependency tracking trigger
qlOptionletStripper2SpreadsVol
- Description:
Returns optionlet spread (with respect to ATM) vols from the given OptionletStripper2 object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletStripper2 object Trigger dependency tracking trigger
qlOptionletStripperOptionletAccrualPeriods
- Description:
Returns optionlet accrual periods from the given OptionletStripper object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletStripper object Trigger dependency tracking trigger
qlOptionletStripperOptionletFixingTenors
- Description:
Returns optionlet fixing tenors from the given OptionletStripper object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletStripper object Trigger dependency tracking trigger
qlOptionletStripperOptionletPaymentDates
- Description:
Returns optionlet payment dates from the given OptionletStripper object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletStripper object Trigger dependency tracking trigger
- Description:
Returns the black variance corresponding to a given strike for a given exercise date.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletVolatilityStructure object OptionDate cap/floor expiry date. Strike cap/floor strike vector. AllowExtrapolation Extrapolation Flag (TRUE allows extrapolation). Trigger dependency tracking trigger
- Description:
Returns the black variance corresponding to a given strike for a given exercise date.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletVolatilityStructure object OptionTenor cap/floor expiry date. Strike cap/floor strike vector. AllowExtrapolation Extrapolation Flag (TRUE allows extrapolation). Trigger dependency tracking trigger
- Description:
Returns volatility from the given OptionletVolatilityStructure object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletVolatilityStructure object OptionDate caplet/floorlet expiry date. Strike caplet/floorlet strike. AllowExtrapolation Extrapolation Flag (TRUE allows extrapolation). Default value = false. Trigger dependency tracking trigger
- Description:
Returns volatility from the given OptionletVolatilityStructure object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::OptionletVolatilityStructure object OptionTenor caplet/floorlet option tenor. Strike caplet/floorlet strike. AllowExtrapolation Extrapolation Flag (TRUE allows extrapolation). Default value = false. Trigger dependency tracking trigger
qlRelinkableHandleOptionletVolatilityStructure
- Description:
Construct an object of class RelinkableHandleImpl<QuantLibAddin::OptionletVolatilityStructure, QuantLib::OptionletVolatilityStructure> and return its id
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of object to be created CurrentLink OptionletVolatilityStructure object ID. If omitted, nothing is linked by the RelinkableHandle. Default value = . Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class SpreadedOptionletVolatility and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created BaseVolStructure Base OptionletVolatilityStructure object ID. Spread spread. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class StrippedOptionlet and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created SettlementDays number of settlement days. Default value = 0. Calendar holiday calendar (e.g. TARGET) used for calculating the exercise dates from the expiries. BusinessDayConvention Business day convention used for calculating the exercise dates from the expiries. IborIndex IborIndex object ID. OptionletDates optionlet dates. Strikes strikes. Volatilities vol quotes. DayCounter DayCounter ID. Default value = Actual/365 (Fixed). VolatilityType Volatility type: Normal or ShiftedLognormal. Default value = ShiftedLognormal. Displacement Shift for the lognormal model. Default value = 0.00. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class StrippedOptionletAdapter and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created StrippedOptionletBase Stripped Optionlet object id. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
qlStrippedOptionletBaseAtmOptionletRates
- Description:
Returns atm optionlet rates from the given StrippedOptionletBase object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::StrippedOptionletBase object Trigger dependency tracking trigger
qlStrippedOptionletBaseBusinessDayConvention
- Description:
Returns the business day convention used in tenor to date conversion.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::StrippedOptionletBase object Trigger dependency tracking trigger
qlStrippedOptionletBaseCalendar
- Description:
Returns the calendar used by the given StrippedOptionletBase object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::StrippedOptionletBase object Trigger dependency tracking trigger
qlStrippedOptionletBaseDayCounter
- Description:
Returns the DayCounter used by the given StrippedOptionletBase object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::StrippedOptionletBase object Trigger dependency tracking trigger
qlStrippedOptionletBaseOptionletFixingDates
- Description:
Returns optionlet fixing dates from the given StrippedOptionletBase object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::StrippedOptionletBase object Trigger dependency tracking trigger
qlStrippedOptionletBaseOptionletFixingTimes
- Description:
Returns optionlet fixing times from the given StrippedOptionletBase object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::StrippedOptionletBase object Trigger dependency tracking trigger
qlStrippedOptionletBaseOptionletVolatilities
- Description:
Returns optionlet volatilities from the given StrippedOptionletBase object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::StrippedOptionletBase object Index optionlet index. Trigger dependency tracking trigger
qlStrippedOptionletBaseSettlementDays
- Description:
Returns the number of settlement days for the given StrippedOptionletBase object.
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of existing QuantLib::StrippedOptionletBase object Trigger dependency tracking trigger
qlStrippedOptionletBaseStrikes
- Description:
Returns optionlet strike from the given StrippedOptionletBase object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::StrippedOptionletBase object Index optionlet index. Trigger dependency tracking trigger