Matlab code for black-scholes

3 views (last 30 days)
ghalya alkindi
ghalya alkindi on 16 Sep 2020
Answered: Rohit Pappu on 30 Oct 2020
I wrote this code but I think it's incorrect. If any one have an idea
S = 1.6; % spot exchange rate
X = 1.6; % strike
T = .3333;
r_d = .08; % USD interest rate
r_f = .11; % GBP interest rate
sigma = .2;
Price = blsprice(S,X,r_d,T,sigma,r_f)

Answers (1)

Rohit Pappu
Rohit Pappu on 30 Oct 2020
For computing price of European Call Option using Binomial model, the appropriate technique would be to use Cox-Ross-Rubinstein model .
Pricing European Call Options Using Different Equity Models compares the various models extensively and can help in choosing the appropriate model for the above question.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!