Skip to main content

Python library putcall

CodeShip Travis ci Read the Docs CodeFactor Grade Code Climate maintainability Codecov lgtm grade total lgtm alerts GitHub GitHub release PyPI Version PyPI - Python Version PyPI Downloads

Collection of classical option pricing formulas.

Example Usage

>>> from putcall import black_scholes

>>> spot_value = 100
>>> strike_value = 105
>>> vol_value = 0.2
>>> time_value = 2.0
>>> is_call_bool = True
>>> rate = 0.05

>>> black_scholes(spot_value, strike_value, vol_value, time_value, is_call_bool, rate)
13.639602713024757

Install

The latest stable version can always be installed or updated via pip:

$ pip install putcall

If the above fails, please try easy_install instead:

$ easy_install putcall

Development Version

The latest development version can be installed directly from GitHub:

$ pip install --upgrade git+https://github.com/pbrisk/putcall.git

Contributions

Issues and Pull Requests are always welcome.

License

Code and documentation are available according to the Apache Software License (see LICENSE).

Release files for putcall 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for putcall 0.2
File Size Uploaded Provenance Actions
putcall-0.2.tar.gz 17.8 kB Without provenance Details for putcall-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for putcall 0.2
File Interpreter ABI Platform Actions
putcall-0.2-py3-none-any.whl Python 3 none any Details for putcall-0.2-py3-none-any.whl

Total release size: 41.6 kB

Release files / putcall-0.2.tar.gz

Download URL putcall-0.2.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ed7dfc5d22f500d89912bba8eb05cd69cb8bb343551442ade9ec37f4f4afd86c
BLAKE2b-256 checksum
How to use checksums
f501af51bcd2f765964c9c8b1af8c45c9db0f6904a01f42699a937d571ef1617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

Release files / putcall-0.2-py3-none-any.whl

Download URL putcall-0.2-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82d3f8072e984c415f30d24bdb5967a121c5c8e6e4be87caf04751bcdcbe26a3
BLAKE2b-256 checksum
How to use checksums
231e761b1ac18f6afd30f7aa785c939fe9ae92820d14bf502bd8644f3df4e9f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

Security for putcall 0.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.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

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