VarianceSwap
VarianceSwap instrument object
Description
Create and price a VarianceSwap instrument object for one
or more Variance Swap instruments using this workflow:
Use
fininstrumentto create aVarianceSwapinstrument object for one or more Variance Swap instruments.Use
ratecurveto specify a curve model or usefinmodelto specify aHestonmodel.Choose a pricing method.
When using a curve model, use
finpricerto specify aReplicatingVarianceSwappricing method for one or moreVarianceSwapinstruments.When using a
Hestonmodel, usefinpricerto specify aHestonpricing method for one or moreVarianceSwapinstruments.
For more information on this workflow, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
For more information on the available models and pricing methods for a
VarianceSwap instrument, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates a VarianceSwapInstrument = fininstrument(InstrumentType,'Maturity',maturity_date,'Notional',notional_value)VarianceSwap object for one or more Variance
Swap instruments by specifying InstrumentType and sets
properties using
the required name-value pair arguments Maturity and
Notional.
The VarianceSwap instrument supports the ReplicatingVarianceSwap and Heston
pricing methods. For more information on the VarianceSwap
instrument, see More About.
sets optional properties using
additional name-value pair arguments in addition to the required arguments
in the previous syntax. For example, VarianceSwapInstrument = fininstrument(___,Name,Value)VarianceSwapInstrument =
fininstrument("VarianceSwap",'Maturity',datetime(2019,1,30),'Notional',100,'StartDate',datetime(2016,1,30),'RealizedVariance',0.02,'Strike',110,'Name',"varianceswap_instrument")
creates a VarianceSwap option with a maturity date of
January 30, 2019. You can specify multiple name-value pair arguments.