ReplicatingVarianceSwap
Create ReplicatingVarianceSwap
pricer object for
VarianceSwap
instrument using ratecurve
object
Since R2020b
Description
Create and price a VarianceSwap
instrument object with a
ratecurve
object and a ReplicatingVarianceSwap
pricing method using this workflow:
Use
fininstrument
to create aVarianceSwap
instrument object.Use
ratecurve
to specify a curve model for theVarianceSwap
instrument object.Use
finpricer
to specify aReplicatingVarianceSwap
pricer object for theVarianceSwap
instrument object.
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 pricing methods for a
VarianceSwap
instrument, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates an ReplicatingVarianceSwapPricerObj
= finpricer(PricerType
,'DiscountCurve
',ratecurve_obj,'VolatilitySmile
',volatilitysmile_value,'SpotPrce
',spotprice_value)ReplicatingVarianceSwap
pricer object by
specifying PricerType
and sets properties
using the required name-value pair arguments
DiscountCurve
,
VolatilitySmile
, and
SpotPrice
.
sets optional properties
using additional name-value pairs in addition to the required arguments in
the previous syntax. For example, ReplicatingVarianceSwapPricerObj
= finpricer(___,Name,Value
)ReplicatingVarianceSwapPricerObj
=
finpricer("ReplicatingVarianceSwap",'DiscountCurve',ratecurve_obj,'VolatilitySmile',smiletable,'SpotPrice',1000,'CallPutBoundary',"forwardprice",'InterpMethod',"cubic")
creates a ReplicatingVarianceSwap
pricer object. You can
specify multiple name-value pair arguments.
Input Arguments
Properties
Object Functions
price | Compute price for equity instrument with ReplicatingVarianceSwap
pricer |
Examples
More About
Algorithms
The fair value of the future variance Kvar is approximated in terms of the following portfolio of options ᴨCP:
Here:
Call option strikes — The call option strike are K0 < K1c < K2c < K3c … < Knc.
Put option strikes — The put option strikes are Kmp < … < K3p < K2p < K1p < K0 = S*.
Kvar — is the fair value of future variance
ᴨCP — is the portfolio of call and put options
S0 — is the current asset price
S* — is the boundary between the call and put option strikes (for example, the spot price S0 or forward price S0erT)
P(K) — is the current put option price with strike K
C(K) — is the current call option price with strike K
If the options portfolio ᴨCP has an infinite number of options with continuously varying strikes, it has the following payoff function at maturity:
Since it is not possible to construct such a portfolio with an infinite number of options and continuously varying strikes, the appropriate weights w(Kip) and w(Kic) for a portfolio with a finite number of options and discretely varying strikes can be computed by approximating the continuous payoff function f(ST) in a piecewise linear fashion. Starting with the strike at K0, the first call option weight can be computed as the slope of the first piecewise linear function:
The next call option weight with the strike K1c is computed as the slope of the next piece-wise linear function minus the previous weight:
This procedure is continued for the remaining call option strikes:
To compute the put option weights, a similar procedure can be used in the opposite direction (starting from K0):
Once the fair variance is computed, the actual price paid in the market at time t for the variance swap with a StartDate at time 0 is computed as follows:
Here:
t is the time from the start date of the variance swap to the settle date.
T is the time from the start date to the maturity date of the variance swap.
Disc(t,T) is the discount factor from settle to the maturity date.
RealizedVariance(0,t) is the realized variance from start date to the settle date, in basis points.
FairVariance(t,T) is the fair variance for the remaining life of the contract as of the settle date, in basis points.
StrikeVariance is the strike variance predetermined at inception (start date), in basis points.
References
[1] Demeterfi, K., Derman, E., Kamal, M., and J. Zou. “More Than You Ever Wanted To Know About Volatility Swaps.” Quantitative Strategies Research Notes. Goldman Sachs, 1999.
Version History
Introduced in R2020b