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.1128.1537.tar.gz (20.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.1128.1537-py3-none-any.whl (69.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qfinlib-2025.1128.1537.tar.gz
  • Upload date:
  • Size: 20.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.1128.1537.tar.gz
Algorithm Hash digest
SHA256 ddfa6998216a665652eb293bcec605e489a29b2fbc755f00bf8bd928a697b855
MD5 744ecd23fcdc2beab987eea9af4bb38e
BLAKE2b-256 af1526b8e1925b378f5369cadf2a556eaa8038a6cc9ec9c8067466fef8a63010

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qfinlib-2025.1128.1537-py3-none-any.whl
  • Upload date:
  • Size: 69.7 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.1128.1537-py3-none-any.whl
Algorithm Hash digest
SHA256 37eeadf927f67ece39fd78253a3a9bd720f7f71f0da224d9aac7399167000ebc
MD5 4be730c52d25a5ec9eb1900652dca17a
BLAKE2b-256 3d948ae1390d772f968055f1d364493a19eec307e95f61719c4c3d5c86347bad

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