{"adoption": {"forks": 1892, "observed_at": "2026-08-28T04:09:43.179691+00:00", "stars": 6407}, "canonical_url": "https://ross.abutalabs.com/products/pyfolio", "card": {"archived": false, "artifact_type": "library", "description": "Portfolio and risk analytics in Python", "domain": ["fintech", "data-science", "data-visualization", "analytics"], "enriched": true, "function": ["data-visualization", "analytics", "data-science"], "health_score": 20, "homepage": "https://quantopian.github.io/pyfolio", "language": "Jupyter Notebook", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["quantopian/pyfolio"], "name": "quantopian/pyfolio", "platform": ["python"], "pushed_at": "2023-12-23T06:14:58+00:00", "repo": "quantopian/pyfolio", "stars": 6407, "tags": ["portfolio-analysis", "risk-analysis", "tear-sheet", "quantitative-finance", "backtesting", "jupyter", "trading-strategy", "matplotlib"], "topics": [], "urls": [], "use_cases": ["analyze performance of a trading strategy in python", "generate a portfolio risk tear sheet", "visualize backtest results from zipline", "compute sharpe ratio and drawdowns for a portfolio", "bayesian analysis of trading returns", "analyze round trip trades and slippage"], "what_it_is": "Pyfolio is a Python library for performance and risk analysis of financial portfolios, centered on 'tear sheets' of plots that summarize a trading algorithm's returns, risk, and drawdowns. It integrates well with the Zipline backtesting library and is designed for use in Jupyter notebooks.", "when_to_avoid": ["you need actively maintained software with recent fixes", "you need real-time portfolio monitoring rather than analysis", "you want a web dashboard instead of matplotlib-based tear sheets"], "when_to_choose": ["you need comprehensive performance and risk plots for a trading algorithm", "you backtest with Zipline and want integrated tear sheets", "you work in Jupyter notebooks and want quick quantitative finance analytics"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pyfolio", "repo": "quantopian/pyfolio", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:44:56.548201+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "45690e45abda4cbd15f8e2a3447d61c97cbf6290d1d14a419dca9871d904fa45", "fetched_at": "2026-08-28T04:09:43.179691+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantopian/pyfolio"}, {"content_hash": "1a37f8ea46692171631f78498df72274bdf580bd36b206d05c8ea733ead2b758", "fetched_at": "2026-08-29T08:41:46.824665+00:00", "kind": "homepage", "missing": false, "url": "https://quantopian.github.io/pyfolio"}, {"content_hash": "dabcd79ae2cf1aaf1fc3389318b12d2358306d0e63deadb7953fa4ac23f85eee", "fetched_at": "2026-08-29T08:41:46.827075+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyfolio/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:44:56.548201+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "45690e45abda4cbd15f8e2a3447d61c97cbf6290d1d14a419dca9871d904fa45", "fetched_at": "2026-08-28T04:09:43.179691+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantopian/pyfolio"}, {"content_hash": "1a37f8ea46692171631f78498df72274bdf580bd36b206d05c8ea733ead2b758", "fetched_at": "2026-08-29T08:41:46.824665+00:00", "kind": "homepage", "missing": false, "url": "https://quantopian.github.io/pyfolio"}, {"content_hash": "dabcd79ae2cf1aaf1fc3389318b12d2358306d0e63deadb7953fa4ac23f85eee", "fetched_at": "2026-08-29T08:41:46.827075+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyfolio/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:44:56.548201+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "45690e45abda4cbd15f8e2a3447d61c97cbf6290d1d14a419dca9871d904fa45", "fetched_at": "2026-08-28T04:09:43.179691+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantopian/pyfolio"}, {"content_hash": "1a37f8ea46692171631f78498df72274bdf580bd36b206d05c8ea733ead2b758", "fetched_at": "2026-08-29T08:41:46.824665+00:00", "kind": "homepage", "missing": false, "url": "https://quantopian.github.io/pyfolio"}, {"content_hash": "dabcd79ae2cf1aaf1fc3389318b12d2358306d0e63deadb7953fa4ac23f85eee", "fetched_at": "2026-08-29T08:41:46.827075+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyfolio/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:09:43.179691+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:44:56.548201+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "45690e45abda4cbd15f8e2a3447d61c97cbf6290d1d14a419dca9871d904fa45", "fetched_at": "2026-08-28T04:09:43.179691+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantopian/pyfolio"}, {"content_hash": "1a37f8ea46692171631f78498df72274bdf580bd36b206d05c8ea733ead2b758", "fetched_at": "2026-08-29T08:41:46.824665+00:00", "kind": "homepage", "missing": false, "url": "https://quantopian.github.io/pyfolio"}, {"content_hash": "dabcd79ae2cf1aaf1fc3389318b12d2358306d0e63deadb7953fa4ac23f85eee", "fetched_at": "2026-08-29T08:41:46.827075+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyfolio/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:44:56.548201+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "45690e45abda4cbd15f8e2a3447d61c97cbf6290d1d14a419dca9871d904fa45", "fetched_at": "2026-08-28T04:09:43.179691+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantopian/pyfolio"}, {"content_hash": "1a37f8ea46692171631f78498df72274bdf580bd36b206d05c8ea733ead2b758", "fetched_at": "2026-08-29T08:41:46.824665+00:00", "kind": "homepage", "missing": false, "url": "https://quantopian.github.io/pyfolio"}, {"content_hash": "dabcd79ae2cf1aaf1fc3389318b12d2358306d0e63deadb7953fa4ac23f85eee", "fetched_at": "2026-08-29T08:41:46.827075+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyfolio/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:44:56.548201+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "45690e45abda4cbd15f8e2a3447d61c97cbf6290d1d14a419dca9871d904fa45", "fetched_at": "2026-08-28T04:09:43.179691+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantopian/pyfolio"}, {"content_hash": "1a37f8ea46692171631f78498df72274bdf580bd36b206d05c8ea733ead2b758", "fetched_at": "2026-08-29T08:41:46.824665+00:00", "kind": "homepage", "missing": false, "url": "https://quantopian.github.io/pyfolio"}, {"content_hash": "dabcd79ae2cf1aaf1fc3389318b12d2358306d0e63deadb7953fa4ac23f85eee", "fetched_at": "2026-08-29T08:41:46.827075+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyfolio/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.179691+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:44:56.548201+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "45690e45abda4cbd15f8e2a3447d61c97cbf6290d1d14a419dca9871d904fa45", "fetched_at": "2026-08-28T04:09:43.179691+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantopian/pyfolio"}, {"content_hash": "1a37f8ea46692171631f78498df72274bdf580bd36b206d05c8ea733ead2b758", "fetched_at": "2026-08-29T08:41:46.824665+00:00", "kind": "homepage", "missing": false, "url": "https://quantopian.github.io/pyfolio"}, {"content_hash": "dabcd79ae2cf1aaf1fc3389318b12d2358306d0e63deadb7953fa4ac23f85eee", "fetched_at": "2026-08-29T08:41:46.827075+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyfolio/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:44:56.548201+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "45690e45abda4cbd15f8e2a3447d61c97cbf6290d1d14a419dca9871d904fa45", "fetched_at": "2026-08-28T04:09:43.179691+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantopian/pyfolio"}, {"content_hash": "1a37f8ea46692171631f78498df72274bdf580bd36b206d05c8ea733ead2b758", "fetched_at": "2026-08-29T08:41:46.824665+00:00", "kind": "homepage", "missing": false, "url": "https://quantopian.github.io/pyfolio"}, {"content_hash": "dabcd79ae2cf1aaf1fc3389318b12d2358306d0e63deadb7953fa4ac23f85eee", "fetched_at": "2026-08-29T08:41:46.827075+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyfolio/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:44:56.548201+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "45690e45abda4cbd15f8e2a3447d61c97cbf6290d1d14a419dca9871d904fa45", "fetched_at": "2026-08-28T04:09:43.179691+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantopian/pyfolio"}, {"content_hash": "1a37f8ea46692171631f78498df72274bdf580bd36b206d05c8ea733ead2b758", "fetched_at": "2026-08-29T08:41:46.824665+00:00", "kind": "homepage", "missing": false, "url": "https://quantopian.github.io/pyfolio"}, {"content_hash": "dabcd79ae2cf1aaf1fc3389318b12d2358306d0e63deadb7953fa4ac23f85eee", "fetched_at": "2026-08-29T08:41:46.827075+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyfolio/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:44:56.548201+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "45690e45abda4cbd15f8e2a3447d61c97cbf6290d1d14a419dca9871d904fa45", "fetched_at": "2026-08-28T04:09:43.179691+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantopian/pyfolio"}, {"content_hash": "1a37f8ea46692171631f78498df72274bdf580bd36b206d05c8ea733ead2b758", "fetched_at": "2026-08-29T08:41:46.824665+00:00", "kind": "homepage", "missing": false, "url": "https://quantopian.github.io/pyfolio"}, {"content_hash": "dabcd79ae2cf1aaf1fc3389318b12d2358306d0e63deadb7953fa4ac23f85eee", "fetched_at": "2026-08-29T08:41:46.827075+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyfolio/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4111, "days_push": 984, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}