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

Start the Web App:

python_quant --web_app

Command Line Usage:

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.9.tar.gz (11.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.9-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python_quant-0.1.9.tar.gz
Algorithm Hash digest
SHA256 d159806ce9c13a729b6617d52cfb0d2a857d1305ec5e2be8e82236cd5d91285c
MD5 8271223f28a32043c3ea66e31cc89f97
BLAKE2b-256 94bcfec7494afde8efd069c14a840964f0f3713d8b7d5ebe740c937751603de6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_quant-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9b268147074a77bd98f334f4311bbd6e949784b49267d7a1938371d3113bec22
MD5 89f76bed23c3b3a8a2a8053950660323
BLAKE2b-256 0fe90d993d4035810e0e495597f2184a56d82bf69c96c7f73b1db8eb4b75ddc6

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