Skip to main content

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


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)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ivolat3-0.0.0-cp35-cp35m-win_amd64.whl (13.8 kB view details)

Uploaded CPython 3.5mWindows x86-64

ivolat3-0.0.0-cp35-cp35m-win32.whl (13.1 kB view details)

Uploaded CPython 3.5mWindows x86

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

Hashes for ivolat3-0.0.0.tar.gz
Algorithm Hash digest
SHA256 bd55bf909f6332bb9b13559bae825984cde865650cc58b741d198b73195d5605
MD5 7733a171c0151fcaa03cd89a0c0d4efd
BLAKE2b-256 5068b29d6ffcc1ec425846ccbbc4ac3d5f41001ef92e42642161f3048d1ed606

See more details on using hashes here.

File details

Details for the file ivolat3-0.0.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for ivolat3-0.0.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 afd465588774bc955b102b58aa8c7ec4521bac114428594a133b37177d816d2d
MD5 fab8d2893910f31d35cdd1d17c069a4c
BLAKE2b-256 7de9599c615fd9198ea9db15d4923f1be4af4cce229dc85ff6e32bc3858abf16

See more details on using hashes here.

File details

Details for the file ivolat3-0.0.0-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for ivolat3-0.0.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 e4d749209510369f9586eb00d656d11d2aa80428d960ffa624869d8d7903b5cc
MD5 44761571c57e998776ad7be50e0d4f1d
BLAKE2b-256 ad760f8630aff7b867e5bab1ecb9f75ce4b8e201817117a4e90b6202e856b8e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page