Basic options pricing in Python
Project description
Basic Options Pricing (in Python)
“Oh cool. Probably a little easier than spinning up the QuantLib stack.” — Wes McKinney, creator of Pandas.
Features
Option valuation w/ Black-Scholes, lattice (binomial tree), and Monte Carlo simulation models.
Basic Greeks calculation (delta, theta, rho, vega, gamma) across each valuation model.
Discrete dividends support in the lattice (binomial tree) and Monte Carlo simulation models.
Early exercise (American options) support in Monte Carlo simulation through the Longstaff-Schwartz technique.
Minimal dependencies, just Numpy & SciPy.
Free software, released under the MIT license.
History
0.1.0 (2023-01-10)
First release on PyPI.
0.1.2 (2024-09-06)
Fix to Black-Scholes implied volatility.
0.1.3 (2024-09-06)
Fix to README.
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
File details
Details for the file yaopt-0.1.3.tar.gz
.
File metadata
- Download URL: yaopt-0.1.3.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1425fbd800637484298088e877c6e1f8ea9ac435c3435d4b85919b6bb1700417 |
|
MD5 | 688f506c66df760dcab0af42d7cb482c |
|
BLAKE2b-256 | 917007bc5ed5b1475f22320d7ea7fa8cb0c7c434e1eeaecc58ce955702b82a91 |