Skip to main content

Python Toolkit for Quantitative Finance

Project description

QFTools

QFTools is a Python library for quantitative finance calculations, currently focusing on date arithmetic and calendar operations. More features will be added in future releases.

Requirements

  • Python ≥ 3.13
  • NumPy ≥ 2.2.1

Installation

pip install qftools

Current Features

  • Calendar Operations
  • Day Count Conventions
  • Tenor Arithmetic
  • Date Sequence Generation
  • Roll Conventions

Development

This project uses:

Setting up development environment

# Clone the repository
git clone https://github.com/reecemiao/QFTools.git
cd qftools

# Install dependencies with Poetry
poetry install

# Install pre-commit hooks
poetry run pre-commit install

Running tests

poetry run pytest

Code Style

The project uses Ruff for both linting and formatting with the following configurations:

  • Line length: 120 characters
  • Python target version: 3.13
  • NumPy docstring convention
  • Selected rule sets: F, E, W, C90, I, D

License

MIT License - see the LICENSE file for details.

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

qftools-0.1.1.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

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

qftools-0.1.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file qftools-0.1.1.tar.gz.

File metadata

  • Download URL: qftools-0.1.1.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.8.0-1017-azure

File hashes

Hashes for qftools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d08b5490f1fe815bd57401118964d079d12efc1123e2e4b5e01c36a7706fd601
MD5 25e7e3f066598c579a02d488917f1a32
BLAKE2b-256 2134eec0ea2e8f9d64c2abba09b6fb51cf52610c4102657d6acb00a863df5d72

See more details on using hashes here.

File details

Details for the file qftools-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: qftools-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.8.0-1017-azure

File hashes

Hashes for qftools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19dfc3e404455a192cdc249bc4f40cca1fbb660695b382bb2d7ee80f43deca12
MD5 cb922c93d7988d542489f0c8f01874dd
BLAKE2b-256 5205d1cc2a5ad63caae6c8acfbc5884ec9e521cf94d8a374e978bca31a51fc63

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