SmileSectionStructures.HTML_1.gif

functions to construct and use SmileSection objects.

The first step is to load the QuantLib package.

Needs["QuantLib`"]

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

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

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

Constructors

FlatSmileSection

SmileSectionStructures.HTML_2.gif

SmileSectionStructures.HTML_3.gif

In[200]:=

SmileSectionStructures.HTML_4.gif

In[204]:=

obj=FlatSmileSection[OptionDate,Volatility,RefDate,AtmValue]

Out[204]=

SmileSectionStructures.HTML_5.gif

SabrInterpolatedSmileSection

SmileSectionStructures.HTML_6.gif

SmileSectionStructures.HTML_7.gif

SmileSectionStructures.HTML_8.gif

obj=SabrInterpolatedSmileSection[OptionDate,ForwardRate,Strike,FloatingStrike,AtmVolatility,VolatilitySpreads]

SabrInterpolatedSmileSection1

SmileSectionStructures.HTML_9.gif

SmileSectionStructures.HTML_10.gif

SmileSectionStructures.HTML_11.gif

obj=SabrInterpolatedSmileSection1[OptionDate,ForwardRate,Strike,FloatingStrike,AtmVolatility,VolatilitySpreads]

SabrSmileSection

SmileSectionStructures.HTML_12.gif

SmileSectionStructures.HTML_13.gif

SmileSectionStructures.HTML_14.gif

obj=SabrSmileSection[OptionTime,Strikes,StdDevs,Forward]

InterpolatedSmileSection

SmileSectionStructures.HTML_15.gif

SmileSectionStructures.HTML_16.gif

SmileSectionStructures.HTML_17.gif

obj=InterpolatedSmileSection[OptionDate,Strikes,StdDevs,AtmLevel]

SmileSectionFromSabrVolSurface

SmileSectionStructures.HTML_18.gif

SmileSectionStructures.HTML_19.gif

obj=SmileSectionFromSabrVolSurface[SabrVolSurface,OptionTime]

Member function

SmileSectionVolatility

SmileSectionStructures.HTML_20.gif

SmileSectionVolatility[obj]

SmileSectionVariance

SmileSectionStructures.HTML_21.gif

SmileSectionVariance[obj]

SmileSectionAtmLevel

SmileSectionAtmLevel[obj]

SmileSectionExerciseDate

SmileSectionExerciseDate[obj]

SmileSectionDayCounter

SmileSectionDayCounter[obj]

SabrInterpolatedSmileSectionAlpha

SabrInterpolatedSmileSectionAlpha[obj]

SabrInterpolatedSmileSectionBeta

SabrInterpolatedSmileSectionBeta[obj]

SabrInterpolatedSmileSectionNu

SabrInterpolatedSmileSectionNu[obj]

SabrInterpolatedSmileSectionRho

SabrInterpolatedSmileSectionRho[obj]

SabrInterpolatedSmileSectionError

SabrInterpolatedSmileSectionError[obj]

SabrInterpolatedSmileSectionMaxError

SabrInterpolatedSmileSectionMaxError[obj]

SabrInterpolatedSmileSectionEndCriteria

SabrInterpolatedSmileSectionEndCriteria[obj]

Spikey Created with Wolfram Mathematica 7.0