Skip to main content

Quantitative Finance Library in Python

Project description

PyQuant

A Quantitative Finance Library written in Python

Created by Abhinav Saini
Licensed under MIT License

PyPi Link:

https://pypi.org/project/python-quant/

Installation:

Virtual Environment Method:

Create a virtual environment anywhere:

python -m venv .venv

Activate it:

source .venv/bin/activate

Install the package:

pip install python_quant
python_quant --help

Download the input_data folder from the repo and place it anywhere. We need to pass it to the commandline tool:

python_quant --mode RISK --instrument input_data/eq_option/bsm_eq_option.json --input_data_path input_data/market_data --as_of_date 20251010 --verbose D

System-wide Installation:

Directly install using pip:

pip install python_quant

Sample Output (BSM Pricing):

RISK MODE OUTPUT

price: 12.0
delta: 0.3588137600913187
gamma: 0.006817273571226615
theta: -54.71301088919908
rho: 16.650438655983557
vega: 44.71555242847439

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

python_quant-0.1.7.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

python_quant-0.1.7-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file python_quant-0.1.7.tar.gz.

File metadata

  • Download URL: python_quant-0.1.7.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.23

File hashes

Hashes for python_quant-0.1.7.tar.gz
Algorithm Hash digest
SHA256 95b2acc7a89d3a25f3b2bce5ca0243025bbd4326b206197b5b5a382b42f08695
MD5 c6fabeccba8fa86d71b7f10bb1f59d32
BLAKE2b-256 74a06b0eba1c8ac3e220aec6d71be05df661090d8decb177d85ee6cc46a81d7a

See more details on using hashes here.

File details

Details for the file python_quant-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for python_quant-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4b6db6c2c3f3c45e26cb46a9b58288efc04cb5fbf44b149a12727e150fc5bffa
MD5 5cdecf6f6ad401ac18c2c0d1144d2fb1
BLAKE2b-256 fa021942555f50e5ba531727eae654efe32633af168788f383935c4ca68e8cc8

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