Skip to main content

A comprehensive quantitative finance library

Project description

qfinlib

A comprehensive quantitative finance library for Python.

Overview

qfinlib provides a complete toolkit for quantitative finance, including:

  • Date handling: Serial dates, tenors, schedules, holiday calendars, day count fractions
  • Mathematical utilities: Interpolation, solvers, statistics, auto-differentiation
  • Market data: Curves, FX, rates, volatility, credit, inflation, bonds
  • Financial instruments: Swaps, bonds, FRA, futures, options, CDS, FX forwards, deposits, ZCIS
  • Valuation: Pricing engines for all instrument types
  • Risk analytics: PV, DV01, gamma, theta, carry/roll, scenario analysis
  • Calibration: Curve and volatility model calibration
  • Models: Interest rate models (LGM, Hull-White)

Installation

pip install qfinlib

Quick Start

import qfinlib as qf

# Example usage coming soon

Documentation

See the docs/ directory for detailed documentation and tutorials.

Development

See CONTRIBUTING.md for development guidelines.

CI/CD

This project uses GitHub Actions for continuous integration and deployment:

  • Tests run automatically on pull requests
  • Package is automatically published to PyPI when merged to main

See .github/CI_SETUP.md for CI/CD setup instructions.

License

MIT License

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

qfinlib-0.1.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

qfinlib-0.1.0-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file qfinlib-0.1.0.tar.gz.

File metadata

  • Download URL: qfinlib-0.1.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.14 Linux/6.11.0-1018-azure

File hashes

Hashes for qfinlib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d558b97047ab5a5ff1094dbb5d8fb253da88f0fd9279d383bb1e5f99e4f5ee8a
MD5 466ec6a2434c6a36163f6841967a41c0
BLAKE2b-256 c8523c481782c7eec75c5a77e3222ba1294730b10530f7d56a76908b3bcf9b16

See more details on using hashes here.

File details

Details for the file qfinlib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: qfinlib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.14 Linux/6.11.0-1018-azure

File hashes

Hashes for qfinlib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03b26f982dcf4f52d3972c28151ab28cfc52e48c76a4e3dcb7278d9c482b07a7
MD5 7e7c031fcadd97e69eebc526f7c3d809
BLAKE2b-256 49bfffddf071da87a77eccebd5735a97a249ea940cfecede7de06e4cb362675d

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