Skip to main content

Financial options valuations and auto-diffed risk measures ("greeks" in Jax.

Project description

jax_russell

pypi python Build Status codecov

jax-rusell is a package that implements financial option formulas, and leverages Jax's autodifferentiation to support calculating "the greeks."

Formulas are taken from Espen Haug's The Complete Guide to Option Pricing Formulas, unless otherwise noted.

Pre-alpha, API unstable.

Features

  • Standard tree methods, like Cox-Ross-Rubinstein and Rendleman Bartter, for American and European options
  • Generalized Black-Scholes-Merton
  • First- and second-order risk measures ("the greeks") via auto-differentiation
  • Support for options on stocks, stocks with continuous dividend, futures and margined futures (see the section "Usage")

Planned

  • More comprehensive testing (greeks against first- and second-differences)
  • Skewed and leptokurtic methods

Credits

This package was created with Cookiecutter and the waynerv/cookiecutter-pypackage project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jax_russell-0.2.0.tar.gz (16.2 kB view hashes)

Uploaded Source

Built Distribution

jax_russell-0.2.0-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page