Skip to main content

Financial Derivatives Library in Python

This is a financial derivatives library that allows you to calculate the valuation and payoff of European Put and Call options. Additionally, it allows you to build portfolios of options to create different strategies.

By default finderivatives has the following strategies:

  • Covered Call
  • Reverse Covered Call
  • Protective Put
  • Reverse Protective Put
  • Bull Spread Call
  • Bull Spread Put
  • Bear Spread Call
  • Bear Spread Put
  • Butterfly Spread Call
  • Butterfly Spread Put
  • Straddle
  • Strip
  • Strap
  • Strangle

Installation

To install finderivatives it is necessary to have the numpy and scipy libraries previously installed. These libraries allow the calculation processes to be executed in a robust manner.

Currently finderivatives is available in the Python Package Index (PyPI) repository.

PyPI Repository

To install from PyPI, you must execute the following command from the console:

pip install finderivatives

Motivation

Derivatives are financial products widely used in the financial industry for speculative and risk management purposes. Understanding it from the most basic instruments can sometimes be difficult and abstract considering that its value is based on an underlying asset.

This library has the purpose of contributing to the academic community in understanding the most basic concepts of financial derivatives, taking valuation concepts from theory to practice using Python.

In the future, it is expected to strengthen the library's applications with more complex instruments and new valuation methods in accordance with market trends.

Release files for finderivatives 0.0.6

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

Source distribution (sdist)

Source distribution for finderivatives 0.0.6
File Size Uploaded
finderivatives-0.0.6.tar.gz 8.2 kB Details

Built distribution (wheel)

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

Total release size: 18.0 kB

Release files / finderivatives-0.0.6.tar.gz

Download URL finderivatives-0.0.6.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b4ea558dabe941fcf0406e50c4192ba860d291cab5e11ba7e032265d9bced2df
BLAKE2b-256 checksum
How to use checksums
cd7cd97d02143c96a729b81696b1cbb388627181c4a2e58634d08b23981e7563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / finderivatives-0.0.6-py3-none-any.whl

Download URL finderivatives-0.0.6-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25f7c28c07640b55c12af73295e73557ed33b007b96e2b2bf2d4aa2a7e6740d1
BLAKE2b-256 checksum
How to use checksums
b8c22abc0fe5982b628d935cc00b9c325b3dc50282ac95563e1546ba894a2617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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