Skip to main content

American Options Pricing ANN

Project description

American Options ANN

Note: This package uses Torch under ROCM v6.2.4, if you are not using an AMD GPU, you will need to replace the torch dependency with a compatible version for your GPU.

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.

This project uses the Python package manager uv, this can be installed using the following command:

$ pip3 install uv

TODO: How to use uv and other information, first need to figure out the publishing process.

Refer to the License file for licensing information.

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.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ao_ann-0.1.1.tar.gz.

File metadata

  • Download URL: ao_ann-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 41ea72e5fea11547a4a5c8ef25d6b657adf7d7d465328eccfc41c0703a943068
MD5 5602bbf0399f16636f19d01d0415e7aa
BLAKE2b-256 8c0dc510cc0b4395082273d83f681b73ff064290227b56ddeede882f059d7c30

See more details on using hashes here.

File details

Details for the file ao_ann-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ao_ann-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9672697751a8ccc6dd89943611a9df769788d9323ec57de5ded3910c875e90f2
MD5 9b710c1f39f2f61a9d0a7bab3f70dfca
BLAKE2b-256 405694b26c7f9d155f69f9376c2499222d8ee865fd21347f4b22327167a705cc

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