optiontools 0.1.5

Last updated:

0 purchases

optiontools 0.1.5 Image
optiontools 0.1.5 Images
Add to Cart

Description:

optiontools 0.1.5

Optiontools
Tools for valuating financial derivatives
Option Tools contains methods for valuating different types of financial derivatives, such as American, European, and Binary Options (Asset-or-Nothing, Cash-or-Nothing).
Installation
To install the package:
pip install optiontools

Example
Valuating a European put option:
>>> from optiontools.options import European
>>> opt = European(So=50, K=52, rf=0.01, sigma=0.15, T=1, option_type='call')
>>> opt.price()
2.349553922014252
>>> opt.delta()
0.4523189078212078

Available Classes

European (including greeks)
American
AssetOrNothing
CashOrNothing

License
MIT

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.