Skip to main content

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:

  1. HN-GARCH
  2. Duan-NGARCH
  3. 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)

Uploaded Source

Built Distribution

ao_ann-0.1.2-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

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

Hashes for ao_ann-0.1.2.tar.gz
Algorithm Hash digest
SHA256 afd1be134566cda6569bd9170df6e8acc6991e031056ef3bad395b38517737d8
MD5 f230e7c47f725d4e7f9a23bd63e02d82
BLAKE2b-256 056750f4cfd249064b9d38b2b0fddc94d8aae62b74cf2217432a1392e06084cf

See more details on using hashes here.

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

Hashes for ao_ann-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bfb2f2e16aa11ba1ff651b55e1f9359b337b216d161f8c7294c19343630a1709
MD5 1fd8023c10c07c91d091e2bcc5119ce7
BLAKE2b-256 95d2d51c24b95def84df9d16ad15a85a86a1492f37fd4600442eb0e9b1596c74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page