Skip to main content

Financial derivatives package

Project description

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.

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

finderivatives-0.0.6.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

finderivatives-0.0.6-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file finderivatives-0.0.6.tar.gz.

File metadata

  • Download URL: finderivatives-0.0.6.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for finderivatives-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b4ea558dabe941fcf0406e50c4192ba860d291cab5e11ba7e032265d9bced2df
MD5 099390f1fbd83bef9cd9b8ca4d5ff295
BLAKE2b-256 cd7cd97d02143c96a729b81696b1cbb388627181c4a2e58634d08b23981e7563

See more details on using hashes here.

File details

Details for the file finderivatives-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: finderivatives-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for finderivatives-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 25f7c28c07640b55c12af73295e73557ed33b007b96e2b2bf2d4aa2a7e6740d1
MD5 a1847a3b53c4de4efe84e3fdab9af875
BLAKE2b-256 b8c22abc0fe5982b628d935cc00b9c325b3dc50282ac95563e1546ba894a2617

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