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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ef55f9c4b113cffda86fd9d28a09980a1afa4c16edf3810a7785ea1ff2b8666
|
|
| MD5 |
209984504623ebfac34509adff7bd07a
|
|
| BLAKE2b-256 |
afc46d287106c04329a37bdb8444c8a4671c42e96add5f633ea3168ce1bdd8b1
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d70f10722bb4a514949ec7206bbebb7d3b9e135b6545902f5f22da68d271298b
|
|
| MD5 |
8e974b51787b8470820ee0fec0b1452f
|
|
| BLAKE2b-256 |
6d148cbfb894d158ce1ff490ebf33e80d8bab7401690691e2af719aa1e57bc30
|