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.4.tar.gz
.
File metadata
- Download URL: yaopt-0.1.4.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7bd93a8c74ad47ae661b033848c14057be5c399583d60baa16b2d9a8df861d8 |
|
MD5 | f2733e587281f3c6b84848eb6d6c68eb |
|
BLAKE2b-256 | c02a7d082850b9395ab746256785c3bffdd02f2632d8b51f1a1beceef599a032 |