Skip to main content

Python library providing performance, risk, and distribution metrics for quantitative finance workflows

Project description

Python NumPy Pandas Quant Finance Research Grade

Research-Grade Performance & Risk Metrics
Statistically consistent analytics for quantitative finance

sigma-quant is a lightweight Python library providing performance, risk, and distribution metrics for quantitative finance workflows.

📦 Installation (PyPI Package)


Install the package from PyPI:

pip install sigma-quant

📘Documentation


This README is intentionally high-level.

For the complete API reference, mathematical definitions, statistical conventions, and usage examples, please refer to the official documentation:

https://sigma-quant.readthedocs.io/en/latest/index.html

ASCII Report

Generate a fast portfolio performance report using ascii_report. If the input series represents PnL, set kind="pnl" and optionally specify the currency.

import sigmaquant

report = sigmaquant.ascii_report(
    returns=portfolio_returns,
    frequency="D",
    strategy_name="My Portfolio",
    kind="simple",
)

print(report)

# Optional exports
df = report.to_dataframe()
data = report.to_dict()

🪪 License


MIT © 2025 — Developed with ❤️ by Lorenzo Santarsieri & Tommaso Grandi

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

sigmaquant-0.1.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

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

sigmaquant-0.1.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sigmaquant-0.1.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for sigmaquant-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2f93cd6aefd3f5c6d129df02b115d42a83f558a6143eec2c265c14166f3cd8e4
MD5 29d43578bc70e272a7c14686c56638bc
BLAKE2b-256 9d5af88e232933049d265defcc32dbca5dc99621e79e1341ece1cc209c0252a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sigmaquant-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for sigmaquant-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d0bfcb265cedd8b99d921f2c222295d490d423afa579a615003e4698be6272e
MD5 c4c9e682b7a881054230b4f816a71137
BLAKE2b-256 50055385178beae54565a9f5369ef8215dc13ef9696e48f4113d190192b80dfa

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