Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

European Options Pricing Library

Project Description


pip install ivolat


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)

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(21.5 kB) Copy SHA256 Hash SHA256
Wheel 2.7 Aug 31, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting