8000 Computed greeks leveraging automatic differentation by paolodelia99 · Pull Request #5 · paolodelia99/jaxfin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Computed greeks leveraging automatic differentation #5

Ne 8000 w 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

Merged
merged 9 commits into from
Feb 19, 2024

Conversation

paolodelia99
Copy link
Owner
  • Used jax.grad to compute the Greeks, to make the code more readable and intuitive.
  • The precision between the closed formula and the auto-diff computation was minimal (10e-7).
  • Added the most important greeks for the BS (delta, gamma, rho, theta, vega)
  • Added just delta and gamma calculation for the Black model.

@paolodelia99 paolodelia99 added the enhancement New feature or request label Feb 19, 2024
@paolodelia99 paolodelia99 self-assigned this Feb 19, 2024
@paolodelia99 paolodelia99 merged commit 8e93b38 into master Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use automatic differentation to get the greeks instead of closed-form formulas
1 participant
0