Skip to main content

Modern quantitative analytics library for portfolio metrics, charts, and reports

Project description

Quantalytics

Quantalytics is a fast, modern Python library for generating quantitative performance metrics, interactive charts, and publication-ready reports. It is designed for strategy researchers, portfolio managers, and data scientists who want an ergonomic toolchain without the overhead of large monolithic frameworks.

Features

  • Descriptive Stats – Grab skew, kurtosis, total return, and CAGR via the lightweight qa.stats helpers.
  • Performance Metrics – Compute Sharpe, Sortino, Calmar, max drawdown, annualized returns/volatility, and more in a single call.
  • Interactive Visuals – Build Plotly-based charts for cumulative returns, rolling volatility, and drawdown analysis with sensible defaults.
  • Beautiful Reports – Produce responsive HTML tear sheets with configurable sections, ready to export to PDF.
  • Composable API – Small, well-typed functions that play nicely with pandas Series/DataFrames.
  • Production Ready Packaging – Standards-based pyproject.toml, semantic versioning, and optional CLI hooks for release automation.

Installation

pip install quantalytics

Quickstart

import pandas as pd
import quantalytics as qa

returns = pd.Series(
    [0.01, 0.02, -0.005, 0.015, -0.01, 0.03],
    index=pd.date_range("2024-01-01", periods=6, freq="B"),
)

summary = qa.metrics.performance_summary(returns)
print(summary.sharpe, summary.calmar)

fig = qa.charts.cumulative_returns_chart(returns)
fig.show()

Documentation

Full tutorials and API references live on our Docusaurus site: https://quantalytics.dev/docs. Start with the introduction, then dive into the stats, metrics, charts, or reports guides as needed.

License

MIT License. See 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

quantalytics-0.1.0.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

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

quantalytics-0.1.0-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantalytics-0.1.0.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for quantalytics-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7da0c43b95bb9496a1b809a328fb736f7e6edb22b09f4f1026b0fb3bd30249e6
MD5 6d2f1ccd50ef92f6af7e48f1a390be4e
BLAKE2b-256 a65603774ea61d58a6086858d3fee6859cbd0969f207df7cde1a4ab568d28ffb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantalytics-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for quantalytics-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26806dc2237e3edd456814c327f414622393d4e32ec3d5cef1317d902d348a24
MD5 d5b4a038d876ae62426cb3da0244b6ba
BLAKE2b-256 2e30b05c6209c2c280a244dba7c3a3aa477bb9ca1e3c80b69adebf5acca8c6e2

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