Financial options valuations and auto-diffed risk measures ("greeks" in Jax.
Project description
jax_russell
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.
- Documentation: https://SeanEaster.github.io/jax_russell
- GitHub: https://github.com/SeanEaster/jax_russell
- PyPI: https://pypi.org/project/jax_russell/
- Free software: GPL-3.0-only
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for jax_russell-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d70f10722bb4a514949ec7206bbebb7d3b9e135b6545902f5f22da68d271298b |
|
MD5 | 8e974b51787b8470820ee0fec0b1452f |
|
BLAKE2b-256 | 6d148cbfb894d158ce1ff490ebf33e80d8bab7401690691e2af719aa1e57bc30 |