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.4.tar.gz (16.3 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.4-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sigmaquant-0.1.4.tar.gz
  • Upload date:
  • Size: 16.3 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.4.tar.gz
Algorithm Hash digest
SHA256 6889f2f3d8175c8cf85dd4a6043a43a88b94728f3971fd9ed4b79dcd467eb28d
MD5 ed4288f312870a6ff985e62b547a8358
BLAKE2b-256 a8e1744d4734bb76bb55260ed394b316f546254628e89a6f5569f7e242be09e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sigmaquant-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 20.0 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5b1af2604ccd38a55615126e2c55105349b3d7c5b94c5ee87a4c164c9412e1f8
MD5 0d5f0a1967aa78c25e331cd067097943
BLAKE2b-256 2d54615d6b8a89d18198b86bbb370fba08d4a9ffa8527c37cc25bb31d2c01407

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