Installation
pip install ivolat
Examples
import ivolat # 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 ivolat.prem_call(s, k, r, q, t, sigma) # call opition implied volatility ivolat.ivolat_call(s, k, r, q, t, p) # Greeks # call delta ivolat.delta_call(s, k, r, q, t, sigma) # Second-order Greeks # gamma ivolat.gamma(s, k, r, q, t, sigma) # vanna ivolat.vanna(s, k, r, q, t, sigma) # vomma (volga) ivolat.vomma(s, k, r, q, t, sigma)
Metadata
Release files for ivolat 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ivolat-0.1.2-py2-none-any.whl | Python 2 | none | any | Details for ivolat-0.1.2-py2-none-any.whl |
Release files / ivolat-0.1.2-py2-none-any.whl
| Download URL | ivolat-0.1.2-py2-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
9586028cb7a218aa790788910b14a0415478a9560d303685da09b1ec8b65cde4
|
|
BLAKE2b-256 checksum How to use checksums |
8b324c1800600896e326960d58f9890635c912f0811c494615a1fc2fcc262806
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ivolat 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.