Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inconsistency #6

Open
aupilot opened this issue May 1, 2024 · 0 comments
Open

inconsistency #6

aupilot opened this issue May 1, 2024 · 0 comments

Comments

@aupilot
Copy link

aupilot commented May 1, 2024

Hi Davis,

First, thanks for the great piece of code!

It seems that there is some inconsistency in BS and American models. Specifically, if you calculate put option prices with two methods, the both prices look good, but the American model spits out flipped sign for delta and rho. I believe that BS model values are correct. Here is an example:

Black Scholes
value delta gamma theta vega rho
1.21 -0.64 0.20 -7.02 2.36 -0.90
American
value delta gamma theta vega rho
1.22 0.67 0.19 -7.18 2.35 0.85

Code used:

fs = 30.17; x = 31; t=16/365; r=0.051; v=0.3; q=0.01;
value, delta, gamma, theta, vega, rho = black_scholes("p", fs=fs, x=x, t=t, r=r, v=v)
value, delta, gamma, theta, vega, rho = american("p", fs=fs, x=x, t=t, r=r, q=q, v=v)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant