American Options Pricing ANN
Project description
American Options ANN
This is still a work in progress, all
v0.1.*
releases are testing releases.
This is a Python package for American Options Pricing using Artificial Neural Networks (ANN) that assumes the option follows a GARCH process. The package will contain 3 stages of datasets for 3 GARCH models:
- HN-GARCH
- Duan-NGARCH
- GJR GARCH
Project Structure
main.py
: Contains the main entry point for the program, and is in charge of running the Training and Testing of the ANN model.model.py
: Contains the implementation of the ANN model used for pricing American Options.dataset.py
: Contains parsing the CSV files and preparing the data for training and testing.utils.py
: Contains utility functions for the package.
Installation
pip install ao_ann
Running Locally
This project uses the Python package manager uv
, this can be installed using the following command:
$ git clone https://github.com/Mustafif/AO_ANN.git
$ cd AO_ANN
$ pip3 install uv # install uv
$ uv sync
$ uv run main.py # run the main.py file
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
ao_ann-0.1.2.tar.gz
(1.8 kB
view details)
Built Distribution
File details
Details for the file ao_ann-0.1.2.tar.gz
.
File metadata
- Download URL: ao_ann-0.1.2.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afd1be134566cda6569bd9170df6e8acc6991e031056ef3bad395b38517737d8 |
|
MD5 | f230e7c47f725d4e7f9a23bd63e02d82 |
|
BLAKE2b-256 | 056750f4cfd249064b9d38b2b0fddc94d8aae62b74cf2217432a1392e06084cf |
File details
Details for the file ao_ann-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ao_ann-0.1.2-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfb2f2e16aa11ba1ff651b55e1f9359b337b216d161f8c7294c19343630a1709 |
|
MD5 | 1fd8023c10c07c91d091e2bcc5119ce7 |
|
BLAKE2b-256 | 95d2d51c24b95def84df9d16ad15a85a86a1492f37fd4600442eb0e9b1596c74 |