A CLI for finding mispriced options.
Project description
panelbeater
A CLI for finding mispriced options.
Dependencies :globe_with_meridians:
Python 3.11.6:
- yfinance
- pandas
- pandas-datareader
- numpy
- feature-engine
- requests-cache
- scikit-learn
- wavetrainer
- tqdm
- pyvinecopulib
- python-dotenv
- kaleido
- plotly
- scipy
- joblib
Raison D'être :thought_balloon:
panelbeater trains models at t+X iteratively to come up with the calibrated expected distribution of an asset price in the future. It then finds the current prices of options for an asset, and determines whether it should be bought and for how much.
Architecture :triangular_ruler:
panelbeater goes through the following steps:
- Downloads the historical data.
- Performs feature engineering on the data.
- Trains the required models and copulas to operate on the data panel.
- Downloads the current data.
- Runs inference on t+X for the latest options to find the probability distribution on the asset prices to their expiry dates.
- Finds any mispriced options and size the position accordingly.
Installation :inbox_tray:
This is a python package hosted on pypi, so to install simply run the following command:
pip install panelbeater
or install using this local repository:
python setup.py install --old-and-unmanageable
Usage example :eyes:
You can run panelbeater as a CLI like so:
panelbeater
This performs a full train, inference and attempts to find mispriced options.
License :memo:
The project is available under the MIT License.
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
File details
Details for the file panelbeater-0.2.62.tar.gz.
File metadata
- Download URL: panelbeater-0.2.62.tar.gz
- Upload date:
- Size: 40.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67b2efed66e51b1955d65c099e2b30f10f43a79e0f5032d10ebc31733c318a00
|
|
| MD5 |
6ab580b5c235274a3b9e154808c64899
|
|
| BLAKE2b-256 |
54ef66f78f38520d70041de16fd7b86a8d95e3560ae16a50999944aa197e507b
|