Skip to main content

A comprehensive quantitative finance library

Project description

qfinlib

A comprehensive quantitative finance library for Python.

Disclaimer

This repository contains personal, educational research only. It is not related to any professional role, employer, or investment activity. All material is based on public information.

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-2025.1229.1200.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

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

qfinlib-2025.1229.1200-py3-none-any.whl (81.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qfinlib-2025.1229.1200.tar.gz
  • Upload date:
  • Size: 28.3 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-2025.1229.1200.tar.gz
Algorithm Hash digest
SHA256 e841c6c1e54ca31f4aa2752e64c982f618261ebd3fcec872298dc49fcf2c2251
MD5 920f2c2cb2bcaf6a46e24053522976fe
BLAKE2b-256 2b0a9165aebef89e164c21f659e12708a8e260066e6214aad3abf722d40022a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qfinlib-2025.1229.1200-py3-none-any.whl
  • Upload date:
  • Size: 81.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-2025.1229.1200-py3-none-any.whl
Algorithm Hash digest
SHA256 b7de736f595d5e5dca0f651e08d3bd2eb12748246bfc521c27d700ff3e4d75be
MD5 e9fa86f969eff6f4b0ed4c1550459ae5
BLAKE2b-256 a7a14d76399fc4de8cf1c17c8a08544fb2d3152e86572a2543f16c01cecd6144

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