Skip to content

Home

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.