Price call and put options using Constant Elasticy of Variance model
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
引用
Hanan Kavitz (2024). 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. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!