Swaption

functions to construct and use Swaption objects.

The first step is to load the QuantLib package.

Needs["QuantLib`"]

Within the Swaption part there are several constructors and member functions available

In[269]:=

Select[Category[Swaption],QLConstructor[#]&]

Out[269]=

Swaption.HTML_1.gif

In[270]:=

Select[Category[Swaption],QLMember[#]&]

Out[270]=

Swaption.HTML_2.gif

Constructors

Swaption

Swaption.HTML_3.gif

Swaption.HTML_4.gif

obj=Swaption[VanillaSwap,Exercise,SettlementType]

MakeSwaption

Swaption.HTML_5.gif

Swaption.HTML_6.gif

Swaption.HTML_7.gif

obj=MakeSwaption[SwapIndex,OptionTenor,PricingEngineID]

Member function

SwaptionType

SwaptionType[obj]

SwaptionSettlementType

SwaptionSettlementType[obj]

SwaptionImpliedVolatility

Swaption.HTML_8.gif

Swaption.HTML_9.gif

Swaption.HTML_10.gif

SwaptionImpliedVolatility[obj,Price,YieldCurve]

Spikey Created with Wolfram Mathematica 7.0