Overview
functions to construct and use StrikedTypePayoff and DoubleStickyRatchetPayoff objects.
Function List
qlDoubleStickyRatchetPayoff ()
qlPayoffDescription ()
qlPayoffName ()
qlPayoffOptionType ()
qlPayoffStrike ()
qlPayoffThirdParameter ()
qlPayoffValue ()
qlRatchetMaxPayoff ()
qlRatchetMinPayoff ()
qlRatchetPayoff ()
qlStickyMaxPayoff ()
qlStickyMinPayoff ()
qlStickyPayoff ()
qlStrikedTypePayoff ()
Function Documentation
- Description:
Construct an object of class DoubleStickyRatchetPayoff and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created Type1 Sticky (type1=1) or Ratchet (type1=-1) payoff . Type2 Strike type (type2=1 for Min, type2=-1 for Max, type2=0 for single sticky/ratchet) . Gearing1 gearing 1 (for strike 1). Gearing2 gearing 2 (for strike 2). Gearing3 gearing 3 (for forward rate 3). Spread1 spread 1 (for strike 1). Spread2 spread 2 (for strike 2). Spread3 spread 3 (for forward rate 3). InitialValue1 initial value for strike 1 (forward rate or coupon/accrualFactor). InitialValue2 initial value for strike 2 (forward rate or coupon/accrualFactor). AccrualFactor accrual factor. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
returns the description (e.g. CashOrNothing, strike 32.2, cash payoff 2.5) for the given Payoff object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Payoff object Trigger dependency tracking trigger
- Description:
returns the type (e.g. Vanilla, CashOrNothing, etc.) for the given Payoff object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Payoff object Trigger dependency tracking trigger
- Description:
returns the option-type (e.g. Call, Put) for the given Payoff object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::TypePayoff object Trigger dependency tracking trigger
- Description:
returns the strike for the given Payoff object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::StrikedTypePayoff object Trigger dependency tracking trigger
- Description:
returns the third parameter of a StrikedType payoff.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLibAddin::StrikedTypePayoff object Trigger dependency tracking trigger
- Description:
returns the payoff value given an underlying reference level for the given Payoff object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Payoff object Underlying underlying reference level. Trigger dependency tracking trigger
- Description:
Construct an object of class RatchetMaxPayoff and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created Gearing1 gearing 1 (for strike 1). Gearing2 gearing 2 (for strike 2). Gearing3 gearing 3 (for forward rate 3). Spread1 spread 1 (for strike 1). Spread2 spread 2 (for strike 2). Spread3 spread 3 (for forward rate 3). InitialValue1 initial value for strike 1 (forward rate or coupon/accrualFactor). InitialValue2 initial value for strike 2 (forward rate or coupon/accrualFactor). AccrualFactor accrual factor. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class RatchetMinPayoff and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created Gearing1 gearing 1 (for strike 1). Gearing2 gearing 2 (for strike 2). Gearing3 gearing 3 (for forward rate 3). Spread1 spread 1 (for strike 1). Spread2 spread 2 (for strike 2). Spread3 spread 3 (for forward rate 3). InitialValue1 initial value for strike 1 (forward rate or coupon/accrualFactor). InitialValue2 initial value for strike 2 (forward rate or coupon/accrualFactor). AccrualFactor accrual factor. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class RatchetPayoff and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created Gearing1 gearing 1 (for strike 1). Gearing2 gearing 2 (for strike 2). Spread1 spread 1 (for strike 1). Spread2 spread 2 (for strike 2). InitialValue initial value for strike (forward rate or coupon/accrualFactor). AccrualFactor accrual factor. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class StickyMaxPayoff and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created Gearing1 gearing 1 (for strike 1). Gearing2 gearing 2 (for strike 2). Gearing3 gearing 3 (for forward rate 3). Spread1 spread 1 (for strike 1). Spread2 spread 2 (for strike 2). Spread3 spread 3 (for forward rate 3). InitialValue1 initial value for strike 1 (forward rate or coupon/accrualFactor). InitialValue2 initial value for strike 2 (forward rate or coupon/accrualFactor). AccrualFactor accrual factor. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class StickyMinPayoff and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created Gearing1 gearing 1 (for strike 1). Gearing2 gearing 2 (for strike 2). Gearing3 gearing 3 (for forward rate 3). Spread1 spread 1 (for strike 1). Spread2 spread 2 (for strike 2). Spread3 spread 3 (for forward rate 3). InitialValue1 initial value for strike 1 (forward rate or coupon/accrualFactor). InitialValue2 initial value for strike 2 (forward rate or coupon/accrualFactor). AccrualFactor accrual factor. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class StickyPayoff and return its id
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created Gearing1 gearing 1 (for strike 1). Gearing2 gearing 2 (for strike 2). Spread1 spread 1 (for strike 1). Spread2 spread 2 (for strike 2). InitialValue initial value for strike (forward rate or coupon/accrualFactor). AccrualFactor accrual factor. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class StrikedTypePayoff and return its id
- Supported Platforms:
Excel, C, Calc, Guile, C++
- Parameters
-
ObjectId id of object to be created PayoffID payoff ID (e.g. Vanilla, PercentageStrike, AssetOrNothing, CashOrNothing, Gap, SuperShare). OptionType option type. Strike strike. ThirdParameter the 3rd paramenter for the payoff definition of CashOrNothing (cash), Gap (determines the size of the payoff), SuperFund (second strike). Default value = QuantLib::Null<QuantLib::Real>(). Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag