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

sigmaquant 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.1.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.1-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sigmaquant-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7fbeed06c4db8535d0bec534b52b9bded9c798b7481c38fba6c1bc0803e238be
MD5 fa152d9c3f119876066f75172d8d7eff
BLAKE2b-256 7c007f91bc96ced77e891d37d40c0238e1f95d792d349300f5abff830e25e4f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sigmaquant-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9369188c39bd927c38c2f440f15474b5894c97bb094777fc1e053f4ea1ca8ae5
MD5 72bd2591ffedee86dcb51ee1a0746efd
BLAKE2b-256 58953de4bae2e9b1e89f3773dffd3f77e2f909daedcb476de75b49884a07d1cb

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