Swaption
Last updated 9 November 2026
Function reference › Interest Rate Derivatives › Swaption
6 GIAnalyzer functions for Excel. Optional arguments are shown in [brackets].
GIA_IRD_Swaption_ImpliedVolatility
Returns the implied volatility of a swaption, given swaption value.
GIA_IRD_Swaption_ImpliedVolatility(OptionType, Notional, EDateOption, EDateSwap, SwaptionValue, Strike, DR, EfDateFix, CFrFix, DaysFix, Sp, EfDateFl, CFrFl, DaysFl, DCurveDates, DCurveRates, FCurveDates, FCurveRates, VDate, SDate, Comp, Days, Interp, [WhichVol])Returns: Implied volatility of a swaption
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option type (Payer, Receiver) |
Notional | Required | The notional amount. |
EDateOption | Required | The expiry date of the swaption. |
EDateSwap | Required | The expiry date of the underlying IRS. |
SwaptionValue | Required | The swaption's value |
Strike | Required | The option's strike price. |
DR | Required | The date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment) |
EfDateFix | Required | The original effective date in the fixed leg of the swap. |
CFrFix | Required | The frequency of coupons in the fixed leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFix | Required | The time basis in the fixed leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
Sp | Required | The spread (in basis points) in the floating leg of the swap. |
EfDateFl | Required | The original effective date in the floating leg of the swap. |
CFrFl | Required | The frequency of coupons in the floating leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFl | Required | The time basis in the floating leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
DCurveDates | Required | The array of dates in the interest rate curve used for discounting cash flows. |
DCurveRates | Required | The array of rates in the interest rate curve used for discounting cash flows. |
FCurveDates | Required | The array of dates in the interest rate curve used for calculating forward interest rates. |
FCurveRates | Required | The array of rates in the interest rate curve used for calculating forward interest rates. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
Days | Required | The time basis of the interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
WhichVol | Optional, default logNormal | The type of volatility (Lognormal, Normal) |
See also: GIA_IRD_Swaption_Risk, GIA_IRD_Swaption_RiskFromCube, GIA_IRD_Swaption_Value, GIA_IRD_Swaption_ValueFromCube, GIA_IRD_Swaption_VolFromCube
GIA_IRD_Swaption_Risk
Returns the risk measures (DV01, Vega, Theta, KR01, Bucket DV01, Key Rate Duration or Bucket Duration) of a swaption, given flat volatility.
GIA_IRD_Swaption_Risk(OptionType, Notional, EDateOption, EDateSwap, Strike, DR, EfDateFix, CFrFix, DaysFix, Sp, EfDateFl, CFrFl, DaysFl, Vol, DCurveDates, DCurveRates, FCurveDates, FCurveRates, VDate, SDate, Comp, Days, Interp, RM, [StartTerm], [EndTerm], [WhichVol])Returns: Risk measures (DV01, Vega, Theta, KR01, Bucket DV01, Key Rate Duration or Bucket Duration) of a swaption
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option type (Payer, Receiver) |
Notional | Required | The notional amount. |
EDateOption | Required | The expiry date of the swaption. |
EDateSwap | Required | The expiry date of the underlying IRS. |
Strike | Required | The option's strike price. |
DR | Required | The date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment) |
EfDateFix | Required | The original effective date in the fixed leg of the swap. |
CFrFix | Required | The frequency of coupons in the fixed leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFix | Required | The time basis in the fixed leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
Sp | Required | The spread (in basis points) in the floating leg of the swap. |
EfDateFl | Required | The original effective date in the floating leg of the swap. |
CFrFl | Required | The frequency of coupons in the floating leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFl | Required | The time basis in the floating leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
Vol | Required | The volatility of the underlying asset. |
DCurveDates | Required | The array of dates in the interest rate curve used for discounting cash flows. |
DCurveRates | Required | The array of rates in the interest rate curve used for discounting cash flows. |
FCurveDates | Required | The array of dates in the interest rate curve used for calculating forward interest rates. |
FCurveRates | Required | The array of rates in the interest rate curve used for calculating forward interest rates. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
Days | Required | The time basis of the interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
RM | Required | The risk measure type (DV01, Vega, Theta, KR01, KRDuration, BucketDV01, BucketDuration) |
StartTerm | Optional | The starting term for Bucket and Key Rate measures. |
EndTerm | Optional | The ending term for Bucket and Key Rate measures. |
WhichVol | Optional, default logNormal | The type of volatility (Lognormal, Normal) |
See also: GIA_IRD_Swaption_ImpliedVolatility, GIA_IRD_Swaption_RiskFromCube, GIA_IRD_Swaption_Value, GIA_IRD_Swaption_ValueFromCube, GIA_IRD_Swaption_VolFromCube
GIA_IRD_Swaption_RiskFromCube
Returns the risk measures (DV01, Vega, Theta, KR01, Bucket DV01, Key Rate Duration or Bucket Duration) of a swaption, given volatility cube.
GIA_IRD_Swaption_RiskFromCube(OptionType, Notional, EDateOption, EDateSwap, Strike, DR, EfDateFix, CFrFix, DaysFix, Sp, EfDateFl, CFrFl, DaysFl, VolCube, DCurveDates, DCurveRates, FCurveDates, FCurveRates, VDate, SDate, Comp, Days, Interp, RM, [StartTerm], [EndTerm], [WhichVol])Returns: Risk measures (DV01, Vega, Theta, KR01, Bucket DV01, Key Rate Duration or Bucket Duration) of a swaption
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option type (Payer, Receiver) |
Notional | Required | The notional amount. |
EDateOption | Required | The expiry date of the swaption. |
EDateSwap | Required | The expiry date of the underlying IRS. |
Strike | Required | The option's strike price. |
DR | Required | The date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment) |
EfDateFix | Required | The original effective date in the fixed leg of the swap. |
CFrFix | Required | The frequency of coupons in the fixed leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFix | Required | The time basis in the fixed leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
Sp | Required | The spread (in basis points) in the floating leg of the swap. |
EfDateFl | Required | The original effective date in the floating leg of the swap. |
CFrFl | Required | The frequency of coupons in the floating leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFl | Required | The time basis in the floating leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
VolCube | Required | The volatility cube of the underlying asset. |
DCurveDates | Required | The array of dates in the interest rate curve used for discounting cash flows. |
DCurveRates | Required | The array of rates in the interest rate curve used for discounting cash flows. |
FCurveDates | Required | The array of dates in the interest rate curve used for calculating forward interest rates. |
FCurveRates | Required | The array of rates in the interest rate curve used for calculating forward interest rates. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
Days | Required | The time basis of the interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, CubicSpline) |
RM | Required | The risk measure type (DV01, Vega, Theta, KR01, KRDuration, BucketDV01, BucketDuration) |
StartTerm | Optional | The starting term for Bucket and Key Rate measures. |
EndTerm | Optional | The ending term for Bucket and Key Rate measures. |
WhichVol | Optional, default Normal | The type of volatility (Lognormal, Normal) |
See also: GIA_IRD_Swaption_ImpliedVolatility, GIA_IRD_Swaption_Risk, GIA_IRD_Swaption_Value, GIA_IRD_Swaption_ValueFromCube, GIA_IRD_Swaption_VolFromCube
GIA_IRD_Swaption_Value
Returns the value of a swaption, given flat volatility.
GIA_IRD_Swaption_Value(OptionType, Notional, EDateOption, EDateSwap, Strike, DR, EfDateFix, CFrFix, DaysFix, Sp, EfDateFl, CFrFl, DaysFl, Vol, DCurveDates, DCurveRates, FCurveDates, FCurveRates, VDate, SDate, Comp, Days, Interp, [WhichVol])Returns: Value of a swaption
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option type (Payer, Receiver) |
Notional | Required | The notional amount. |
EDateOption | Required | The expiry date of the swaption. |
EDateSwap | Required | The expiry date of the underlying IRS. |
Strike | Required | The option's strike price. |
DR | Required | The date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment) |
EfDateFix | Required | The original effective date in the fixed leg of the swap. |
CFrFix | Required | The frequency of coupons in the fixed leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFix | Required | The time basis in the fixed leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
Sp | Required | The spread (in basis points) in the floating leg of the swap. |
EfDateFl | Required | The original effective date in the floating leg of the swap. |
CFrFl | Required | The frequency of coupons in the floating leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFl | Required | The time basis in the floating leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
Vol | Required | The volatility of the underlying asset. |
DCurveDates | Required | The array of dates in the interest rate curve used for discounting cash flows. |
DCurveRates | Required | The array of rates in the interest rate curve used for discounting cash flows. |
FCurveDates | Required | The array of dates in the interest rate curve used for calculating forward interest rates. |
FCurveRates | Required | The array of rates in the interest rate curve used for calculating forward interest rates. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
Days | Required | The time basis of the interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, LogLinear, CubicSpline, Exponential) |
WhichVol | Optional, default logNormal | The type of volatility (Lognormal, Normal) |
See also: GIA_IRD_Swaption_ImpliedVolatility, GIA_IRD_Swaption_Risk, GIA_IRD_Swaption_RiskFromCube, GIA_IRD_Swaption_ValueFromCube, GIA_IRD_Swaption_VolFromCube
GIA_IRD_Swaption_ValueFromCube
Returns the value of a swaption, given volatility cube.
GIA_IRD_Swaption_ValueFromCube(OptionType, Notional, EDateOption, EDateSwap, Strike, DR, EfDateFix, CFrFix, DaysFix, Sp, EfDateFl, CFrFl, DaysFl, VolCube, DCurveDates, DCurveRates, FCurveDates, FCurveRates, VDate, SDate, Comp, Days, Interp, [WhichVol])Returns: Value of a swaption
| Argument | Use | Description |
|---|---|---|
OptionType | Required | The option type (Payer, Receiver) |
Notional | Required | The notional amount. |
EDateOption | Required | The expiry date of the swaption. |
EDateSwap | Required | The expiry date of the underlying IRS. |
Strike | Required | The option's strike price. |
DR | Required | The date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment) |
EfDateFix | Required | The original effective date in the fixed leg of the swap. |
CFrFix | Required | The frequency of coupons in the fixed leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFix | Required | The time basis in the fixed leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
Sp | Required | The spread (in basis points) in the floating leg of the swap. |
EfDateFl | Required | The original effective date in the floating leg of the swap. |
CFrFl | Required | The frequency of coupons in the floating leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFl | Required | The time basis in the floating leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
VolCube | Required | The volatility cube of the underlying asset. |
DCurveDates | Required | The array of dates in the interest rate curve used for discounting cash flows. |
DCurveRates | Required | The array of rates in the interest rate curve used for discounting cash flows. |
FCurveDates | Required | The array of dates in the interest rate curve used for calculating forward interest rates. |
FCurveRates | Required | The array of rates in the interest rate curve used for calculating forward interest rates. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
Days | Required | The time basis of the interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, CubicSpline) |
WhichVol | Optional, default Normal | The type of volatility (Lognormal, Normal) |
See also: GIA_IRD_Swaption_ImpliedVolatility, GIA_IRD_Swaption_Risk, GIA_IRD_Swaption_RiskFromCube, GIA_IRD_Swaption_Value, GIA_IRD_Swaption_VolFromCube
GIA_IRD_Swaption_VolFromCube
Returns the implied volatility of a swaption, given volatility cube.
GIA_IRD_Swaption_VolFromCube(EDateOption, EDateSwap, Strike, DR, EfDateFix, CFrFix, DaysFix, Sp, EfDateFl, CFrFl, DaysFl, VolCube, DCurveDates, DCurveRates, FCurveDates, FCurveRates, VDate, SDate, Comp, Days, Interp)Returns: Implied volatility of a swaption
| Argument | Use | Description |
|---|---|---|
EDateOption | Required | The expiry date of the swaption. |
EDateSwap | Required | The expiry date of the underlying IRS. |
Strike | Required | The option's strike price. |
DR | Required | The date rolling method. Non-business days are Saturdays and Sundays; holidays are not supported (Following, ModifiedFollowing, Previous, ModifiedPrevious, NoAdjustment) |
EfDateFix | Required | The original effective date in the fixed leg of the swap. |
CFrFix | Required | The frequency of coupons in the fixed leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFix | Required | The time basis in the fixed leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
Sp | Required | The spread (in basis points) in the floating leg of the swap. |
EfDateFl | Required | The original effective date in the floating leg of the swap. |
CFrFl | Required | The frequency of coupons in the floating leg of the swap (Annual, SemiAnnual, Quarterly, Monthly) |
DaysFl | Required | The time basis in the floating leg of the swap (act/360, act/365, act/act, 30E/360, 30I/360) |
VolCube | Required | The volatility cube of the underlying asset. |
DCurveDates | Required | The array of dates in the interest rate curve used for discounting cash flows. |
DCurveRates | Required | The array of rates in the interest rate curve used for discounting cash flows. |
FCurveDates | Required | The array of dates in the interest rate curve used for calculating forward interest rates. |
FCurveRates | Required | The array of rates in the interest rate curve used for calculating forward interest rates. |
VDate | Required | The value date. |
SDate | Required | The spot date. |
Comp | Required | The compounding basis of the interest rates (Annual, SemiAnnual, Quarterly, Monthly, Simple, Continuous) |
Days | Required | The time basis of the interest rates (act/360, act/365, act/act, 30E/360, 30I/360) |
Interp | Required | The interpolation method (Linear, CubicSpline) |
See also: GIA_IRD_Swaption_ImpliedVolatility, GIA_IRD_Swaption_Risk, GIA_IRD_Swaption_RiskFromCube, GIA_IRD_Swaption_Value, GIA_IRD_Swaption_ValueFromCube
