{"adoption": {"forks": 1229, "observed_at": "2026-08-28T04:10:01.825458+00:00", "stars": 7591}, "canonical_url": "https://ross.abutalabs.com/products/quantstats", "card": {"archived": false, "artifact_type": "library", "description": "Portfolio analytics for quants, written in Python", "domain": ["fintech", "data-science", "data-visualization", "analytics"], "enriched": true, "function": ["data-visualization", "analytics", "data-science", "charts"], "health_score": 93, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["ranaroussi/quantstats"], "name": "ranaroussi/quantstats", "platform": ["python", "cross-platform"], "pushed_at": "2026-07-20T14:12:56+00:00", "repo": "ranaroussi/quantstats", "stars": 7591, "tags": ["quantitative-finance", "portfolio-analytics", "risk-metrics", "tear-sheets", "sharpe-ratio", "monte-carlo-simulation", "pandas", "algo-trading"], "topics": ["quant", "algotrading", "algorithmic-trading", "quantitative-trading", "quantitative-analysis", "algo-trading", "python", "visualization", "plotting", "quantitative-finance", "finance"], "urls": [], "use_cases": ["calculate sharpe ratio and performance metrics for a portfolio", "visualize drawdowns and rolling statistics of returns", "generate an html tear sheet report for a trading strategy", "run monte carlo simulations on returns to estimate bust probability", "extend pandas with financial metrics methods", "profile portfolio risk and volatility"], "what_it_is": "QuantStats is a Python library for portfolio analytics that computes performance and risk metrics like Sharpe ratio, volatility, and drawdowns. It includes modules for statistics, plotting, and generating HTML tear-sheet reports, plus Monte Carlo simulation support.", "when_to_avoid": ["you need a full backtesting engine or trade execution framework", "you require real-time streaming analytics or broker integration", "you need institutional-grade risk analytics beyond standard metrics"], "when_to_choose": ["you need quick quantitative performance and risk metrics on return series in Python", "you want ready-made plots and HTML reports for portfolio performance", "you work in pandas and want financial metrics as dataframe/series methods"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/quantstats", "repo": "ranaroussi/quantstats", "role": "main", "score": 85}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:36:53.309877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1990c688b0226d308f8fdeb279c939d3d31da0989e0cd69baec85b24e4f70f1d", "fetched_at": "2026-08-28T04:10:01.825458+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/quantstats"}, {"content_hash": "48f2ab364dadf80d020eaaad151d7ff80d90f5d2a5a13fdfc9fdf2f9e0728720", "fetched_at": "2026-08-29T08:32:11.447623+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/quantstats/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:36:53.309877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1990c688b0226d308f8fdeb279c939d3d31da0989e0cd69baec85b24e4f70f1d", "fetched_at": "2026-08-28T04:10:01.825458+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/quantstats"}, {"content_hash": "48f2ab364dadf80d020eaaad151d7ff80d90f5d2a5a13fdfc9fdf2f9e0728720", "fetched_at": "2026-08-29T08:32:11.447623+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/quantstats/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:36:53.309877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1990c688b0226d308f8fdeb279c939d3d31da0989e0cd69baec85b24e4f70f1d", "fetched_at": "2026-08-28T04:10:01.825458+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/quantstats"}, {"content_hash": "48f2ab364dadf80d020eaaad151d7ff80d90f5d2a5a13fdfc9fdf2f9e0728720", "fetched_at": "2026-08-29T08:32:11.447623+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/quantstats/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:36:53.309877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1990c688b0226d308f8fdeb279c939d3d31da0989e0cd69baec85b24e4f70f1d", "fetched_at": "2026-08-28T04:10:01.825458+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/quantstats"}, {"content_hash": "48f2ab364dadf80d020eaaad151d7ff80d90f5d2a5a13fdfc9fdf2f9e0728720", "fetched_at": "2026-08-29T08:32:11.447623+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/quantstats/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:36:53.309877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1990c688b0226d308f8fdeb279c939d3d31da0989e0cd69baec85b24e4f70f1d", "fetched_at": "2026-08-28T04:10:01.825458+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/quantstats"}, {"content_hash": "48f2ab364dadf80d020eaaad151d7ff80d90f5d2a5a13fdfc9fdf2f9e0728720", "fetched_at": "2026-08-29T08:32:11.447623+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/quantstats/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:36:53.309877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1990c688b0226d308f8fdeb279c939d3d31da0989e0cd69baec85b24e4f70f1d", "fetched_at": "2026-08-28T04:10:01.825458+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/quantstats"}, {"content_hash": "48f2ab364dadf80d020eaaad151d7ff80d90f5d2a5a13fdfc9fdf2f9e0728720", "fetched_at": "2026-08-29T08:32:11.447623+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/quantstats/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:01.825458+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:36:53.309877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1990c688b0226d308f8fdeb279c939d3d31da0989e0cd69baec85b24e4f70f1d", "fetched_at": "2026-08-28T04:10:01.825458+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/quantstats"}, {"content_hash": "48f2ab364dadf80d020eaaad151d7ff80d90f5d2a5a13fdfc9fdf2f9e0728720", "fetched_at": "2026-08-29T08:32:11.447623+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/quantstats/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:36:53.309877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1990c688b0226d308f8fdeb279c939d3d31da0989e0cd69baec85b24e4f70f1d", "fetched_at": "2026-08-28T04:10:01.825458+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/quantstats"}, {"content_hash": "48f2ab364dadf80d020eaaad151d7ff80d90f5d2a5a13fdfc9fdf2f9e0728720", "fetched_at": "2026-08-29T08:32:11.447623+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/quantstats/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:36:53.309877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1990c688b0226d308f8fdeb279c939d3d31da0989e0cd69baec85b24e4f70f1d", "fetched_at": "2026-08-28T04:10:01.825458+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/quantstats"}, {"content_hash": "48f2ab364dadf80d020eaaad151d7ff80d90f5d2a5a13fdfc9fdf2f9e0728720", "fetched_at": "2026-08-29T08:32:11.447623+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/quantstats/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:36:53.309877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1990c688b0226d308f8fdeb279c939d3d31da0989e0cd69baec85b24e4f70f1d", "fetched_at": "2026-08-28T04:10:01.825458+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ranaroussi/quantstats"}, {"content_hash": "48f2ab364dadf80d020eaaad151d7ff80d90f5d2a5a13fdfc9fdf2f9e0728720", "fetched_at": "2026-08-29T08:32:11.447623+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/quantstats/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 93, "longevity": 100, "rhythm": 65}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2681, "days_push": 44, "days_rel": 232, "gap_med": 2.0, "n_releases_24m": 17}, "score": 85, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}