Price call and put options using Constant Elasticy of Variance model

version 1.1.0.0 (1.6 KB) by Hanan Kavitz
An alternative to using Black and Scholes model is using Constant Elasticity of Variance model.

628 Downloads

Updated 24 Jan 2013

View License

An alternative to using Black and Scholes model is using Constant Elasticity of Variance model.
This is a diffusion model where the risk neutral process for a stock is
dS=(r-s)*S*dt - sigma*S^alpha*dZ

Input:
S- underlying price.
K- strike price
r- risk free rate
T- time to maturity
sigma- std of the underlying asset
q- yield to maturity of the underlying asset
alpha- Elasticity of variance

Outputs:
call- the price of call option
put- the price of put option

Example:

[call,put]=constantElasticity(50,50,0.04,1,0.3,0,1)

Reference:

[1] Options,Futures and other Derivatives, seventh edition by John Hull

Cite As

Hanan Kavitz (2022). Price call and put options using Constant Elasticy of Variance model (https://www.mathworks.com/matlabcentral/fileexchange/39689-price-call-and-put-options-using-constant-elasticy-of-variance-model), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!