European Options Pricing Library
Project description
Installation
pip install ivolat3
Examples
import ivolat3 # stock price s = 10000 # option strike price k = 10500 # risk-free interest rate r = 0.001 # drift rate (dividend) q = 0.1 # time remaining until expiration (in years) t = 20.0 / 365.0 # annual volatility of stock price sigma = 0.2 # call option price p = 40 # call opition price ivolat3.prem_call(s, k, r, q, t, sigma) # call opition implied volatility ivolat3.ivolat_call(s, k, r, q, t, p) # Greeks # call delta ivolat3.delta_call(s, k, r, q, t, sigma) # Second-order Greeks # gamma ivolat3.gamma(s, k, r, q, t, sigma) # vanna ivolat3.vanna(s, k, r, q, t, sigma) # vomma (volga) ivolat3.vomma(s, k, r, q, t, sigma)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ivolat3-0.0.0.tar.gz
(4.3 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ivolat3-0.0.0.tar.gz.
File metadata
- Download URL: ivolat3-0.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd55bf909f6332bb9b13559bae825984cde865650cc58b741d198b73195d5605
|
|
| MD5 |
7733a171c0151fcaa03cd89a0c0d4efd
|
|
| BLAKE2b-256 |
5068b29d6ffcc1ec425846ccbbc4ac3d5f41001ef92e42642161f3048d1ed606
|
File details
Details for the file ivolat3-0.0.0-cp35-cp35m-win_amd64.whl.
File metadata
- Download URL: ivolat3-0.0.0-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 13.8 kB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afd465588774bc955b102b58aa8c7ec4521bac114428594a133b37177d816d2d
|
|
| MD5 |
fab8d2893910f31d35cdd1d17c069a4c
|
|
| BLAKE2b-256 |
7de9599c615fd9198ea9db15d4923f1be4af4cce229dc85ff6e32bc3858abf16
|
File details
Details for the file ivolat3-0.0.0-cp35-cp35m-win32.whl.
File metadata
- Download URL: ivolat3-0.0.0-cp35-cp35m-win32.whl
- Upload date:
- Size: 13.1 kB
- Tags: CPython 3.5m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4d749209510369f9586eb00d656d11d2aa80428d960ffa624869d8d7903b5cc
|
|
| MD5 |
44761571c57e998776ad7be50e0d4f1d
|
|
| BLAKE2b-256 |
ad760f8630aff7b867e5bab1ecb9f75ce4b8e201817117a4e90b6202e856b8e3
|