ForkFree

Data and analytics

quant-integrity

by abhayjnayakk

A Python library of statistical tests that check whether a trading backtest result is likely to be real or just the product of trying many configurations. It includes the deflated Sharpe ratio, probability of backtest overfitting, purged cross-validation and a way to verify signed research records.

Proof level: ReadWorth a lookAGPL-3.0

Get it on GitHubProject websiteCompare

No demo yet

Proof level: Read. We read its README and licence and ran our automatic checks. We have not run it yet. So this page is based on its README and our automatic checks.

The catch

Worth a lookEstablished, with a few things to check (listed below).

Check this first: AGPL-3.0 licence requires sharing source if you offer modified versions as a network service.

Things to check

  • AGPL-3.0 licence requires sharing source if you offer modified versions as a network service
  • Very new project with only 1 star
  • Attestation issuance is a paid hosted service, so only verification is free
  • Aimed at trading strategy research, and it cannot check that the trial count you give is honest

Can you use quant-integrity commercially?

Free to use. Anything you distribute that includes it must be open-sourced under the same licence. Running it as an online service also counts, so a hosted version must offer its source.

Not legal advice. Read the project's licence file before building a product on it.

What can you do with quant-integrity?

  • Calculate a deflated Sharpe ratio to see whether the best of many tried strategies beats chance
  • Estimate the probability of backtest overfitting and bootstrap confidence intervals on returns
  • Check whether a backtest is long enough, and verify signed attestation records with an issuer's public key

How do you get quant-integrity running?

Install it from PyPI with `pip install quant-integrity`, or clone the repository and run `pip install -e .`.

Follow the official instructions in the project README.

Add it to Claude Code

claude mcp add --transport http quant-research https://quant-mcp.avasis.ai/mcp

This one runs on the maker's server, not your computer, so what you send it leaves your machine.

From the official MCP Registry (ai.avasis/quant-research). Only connect MCP servers you trust: they can act on your behalf.

Make money with it

A freelance quantitative analyst could offer independent strategy-validation reports that use these tests to audit clients' backtests.

An idea, not financial advice. Check the licence before charging for anything built on it.

Ways a business could use it

  • Screen out overfitted strategies before committing money to them, avoiding losses from false edges
  • Add a statistical sanity check to the reports a quantitative research freelancer gives clients

Checked 14 Nov 2026. Summary drafted by AI from the project's README. Proof level 1 of 4, Read: we read its readme and licence and ran our automatic checks. we have not run it yet.

Similar tools in Data and analytics

Scrapling D4Vinci
Worth a look

Scrapling is a Python library for collecting data from websites, covering single page requests, JavaScript-heavy sites and large crawls. It is used to pull out text, prices, listings and other information and save it as JSON, CSV or Markdown.

Proof level: Read 104.5k stars +586 a day BSD-3-Clause
Worth a look

A Python system that uses large language models to analyse a personal watchlist of shares across several markets, including China, Hong Kong, the US, Japan, Korea and Taiwan. It gathers market data and news, then sends a daily "decision dashboard" report to chat apps or email.

Proof level: Read 73.5k stars +257 a day MIT
metabase metabase
Check the licence

Metabase is a business intelligence tool that connects to your databases so people can ask questions, build dashboards and share reports without needing to write SQL. It can be self-hosted or used as a paid cloud service, and it can also be embedded in other apps.

Instead of Tableau, Microsoft Power BIUp to $900 a year

Proof level: Read 50.4k stars +23 a day Unclear