Black-Scholes option pricing model calculator
Project description
blackscholes_python
This library provides an simple, lightweight, and efficient (though not heavily optimized) implementation of the Black-Scholes-Merton model for pricing European options.
This crate is compilable to a python package using pyo3 and Maturin. It features full doc and type annotations. The rust compiled python package is ~1 second slower in pricing an option to 10M iterations than the pure rust crate on a Ryzen 7600x.
Usage
Simply create an instance of the Inputs struct and call the desired method.
View the Rust docs and Python docs for usage and examples.
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
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 blackscholes_python-0.10.7.tar.gz.
File metadata
- Download URL: blackscholes_python-0.10.7.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
546a677f5dcb652c1bef91d21965be15158934c55182cd6f5b05f33d9326027d
|
|
| MD5 |
05419057c7761ae3e4c2de0258edaf63
|
|
| BLAKE2b-256 |
1a4902bcd4bf9d5f7d97104fd95721d378896586e018f5c9d3d360389a7cd9d8
|
File details
Details for the file blackscholes_python-0.10.7-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: blackscholes_python-0.10.7-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 224.7 kB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a31bcd0b7e2e45c35ff1fca2b3c31dd946a241b7ff5898d55f273d5b75840c04
|
|
| MD5 |
35e165902cd6b1020544034c1d0b9045
|
|
| BLAKE2b-256 |
45e185db0bea9d723da330331c35924bd34b3e2e9b24c663d33bbc52647ca89b
|