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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file jax_russell-0.2.0.tar.gz.

File metadata

  • Download URL: jax_russell-0.2.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for jax_russell-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0ef55f9c4b113cffda86fd9d28a09980a1afa4c16edf3810a7785ea1ff2b8666
MD5 209984504623ebfac34509adff7bd07a
BLAKE2b-256 afc46d287106c04329a37bdb8444c8a4671c42e96add5f633ea3168ce1bdd8b1

See more details on using hashes here.

File details

Details for the file jax_russell-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: jax_russell-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for jax_russell-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d70f10722bb4a514949ec7206bbebb7d3b9e135b6545902f5f22da68d271298b
MD5 8e974b51787b8470820ee0fec0b1452f
BLAKE2b-256 6d148cbfb894d158ce1ff490ebf33e80d8bab7401690691e2af719aa1e57bc30

See more details on using hashes here.

Supported by

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