Skip to main content

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)

Table of built distributions (wheels) for ivolat 0.1.2
File Interpreter ABI Platform
ivolat-0.1.2-py2-none-any.whl Python 2 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page