Demo library
Project description
American Options Library
Demo of the Library that is supposed to use various methods to price options of american type.
Installation
pip install american_options
Get started
How to obtain option price with this library:
from american_options import Option
# Instantiate an Option object
option = Option(100, 100, 0.25, 1)
# Call the pricing method
result = option.european_call(0.05)
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
Built Distribution
File details
Details for the file american_options-0.0.1.tar.gz
.
File metadata
- Download URL: american_options-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99b9731b42d4738dad507d2a83b340083cbb44c3b1afd6787e49510870ac0011 |
|
MD5 | 7a3d5d1faf12508fb3429158bde323a0 |
|
BLAKE2b-256 | c4e88fd97fe3766f400ee206c437bed411afced9d8cef4a99ab4819f1d5b8499 |
File details
Details for the file american_options-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: american_options-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ad1119ee0b7cdd347f92bf06d8fdf59ba803ee81f1b0b011a5be087e2932778 |
|
MD5 | 30bc9482684a4d39343f55e2b0243013 |
|
BLAKE2b-256 | 2d4a9a88d9cfb497f504d5602d59c21bff23c8b2d799419f6f41b9bf01427953 |