{"adoption": {"forks": 704, "observed_at": "2026-08-28T04:08:50.682354+00:00", "stars": 4459}, "canonical_url": "https://ross.abutalabs.com/products/riskfolio-lib", "card": {"archived": false, "artifact_type": "library", "description": "Portfolio Optimization in Python", "domain": ["fintech", "data-science"], "enriched": true, "function": ["math", "data-science"], "health_score": 79, "homepage": "https://portfoliooptimization.org", "language": "C++", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "active", "member_repos": ["dcajasn/Riskfolio-Lib"], "name": "dcajasn/Riskfolio-Lib", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-18T17:08:34+00:00", "repo": "dcajasn/Riskfolio-Lib", "stars": 4459, "tags": ["portfolio-optimization", "convex-optimization", "cvxpy", "risk-measures", "asset-allocation", "efficient-frontier", "risk-parity", "cvar", "sharpe-ratio", "trading", "investment", "pandas", "optimization", "quantitative-finance"], "topics": ["portfolio-optimization", "convex-optimization", "stepwise-regression", "duration-matching", "drawdown-model", "sharpe-ratio", "trading", "investment", "finance", "asset-allocation", "principal-components-regression", "cvar-optimization", "cvxpy", "risk-parity", "risk-contribution", "risk-factors", "portfolio-management", "investment-analysis", "quantitative-finance", "efficient-frontier"], "urls": [], "use_cases": ["optimize an investment portfolio with minimum variance or maximum Sharpe ratio", "compute the efficient frontier for a set of assets", "build a risk parity portfolio with equal risk contributions", "minimize CVaR or drawdown-based risk measures like CDaR and EDaR", "perform Kelly criterion (logarithmic mean risk) portfolio optimization", "match portfolio duration for liability-driven investing", "do asset allocation research for academic or trading purposes"], "what_it_is": "Riskfolio-Lib is a Python library for portfolio optimization built on top of CVXPY and integrated with Pandas. It supports mean-risk and Kelly criterion optimization with dozens of convex, downside, and drawdown risk measures for building investment portfolios.", "when_to_avoid": ["you need live trading execution or broker connectivity rather than optimization", "you want a point-and-click GUI portfolio tool", "your problem is non-convex or requires heuristics outside CVXPY's scope"], "when_to_choose": ["you need mathematically sophisticated portfolio optimization with many risk measures in Python", "you want a Pandas-friendly API on top of CVXPY for convex optimization", "you are a student, academic, or quant practitioner exploring asset allocation models"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/riskfolio-lib", "repo": "dcajasn/Riskfolio-Lib", "role": "main", "score": 76}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:20:42.876961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "427a810e91814011ebf0483e1368b069791c5dba99bc3888d57eb4a056f20c4e", "fetched_at": "2026-08-28T04:08:50.682354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dcajasn/Riskfolio-Lib"}, {"content_hash": "d80b49a3452247e0a3745f39d042654a30042680f5030f6304ee635d8d89f047", "fetched_at": "2026-08-29T09:07:25.765289+00:00", "kind": "homepage", "missing": false, "url": "https://portfoliooptimization.org"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:20:42.876961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "427a810e91814011ebf0483e1368b069791c5dba99bc3888d57eb4a056f20c4e", "fetched_at": "2026-08-28T04:08:50.682354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dcajasn/Riskfolio-Lib"}, {"content_hash": "d80b49a3452247e0a3745f39d042654a30042680f5030f6304ee635d8d89f047", "fetched_at": "2026-08-29T09:07:25.765289+00:00", "kind": "homepage", "missing": false, "url": "https://portfoliooptimization.org"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:20:42.876961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "427a810e91814011ebf0483e1368b069791c5dba99bc3888d57eb4a056f20c4e", "fetched_at": "2026-08-28T04:08:50.682354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dcajasn/Riskfolio-Lib"}, {"content_hash": "d80b49a3452247e0a3745f39d042654a30042680f5030f6304ee635d8d89f047", "fetched_at": "2026-08-29T09:07:25.765289+00:00", "kind": "homepage", "missing": false, "url": "https://portfoliooptimization.org"}], "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:08:50.682354+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:20:42.876961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "427a810e91814011ebf0483e1368b069791c5dba99bc3888d57eb4a056f20c4e", "fetched_at": "2026-08-28T04:08:50.682354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dcajasn/Riskfolio-Lib"}, {"content_hash": "d80b49a3452247e0a3745f39d042654a30042680f5030f6304ee635d8d89f047", "fetched_at": "2026-08-29T09:07:25.765289+00:00", "kind": "homepage", "missing": false, "url": "https://portfoliooptimization.org"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:20:42.876961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "427a810e91814011ebf0483e1368b069791c5dba99bc3888d57eb4a056f20c4e", "fetched_at": "2026-08-28T04:08:50.682354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dcajasn/Riskfolio-Lib"}, {"content_hash": "d80b49a3452247e0a3745f39d042654a30042680f5030f6304ee635d8d89f047", "fetched_at": "2026-08-29T09:07:25.765289+00:00", "kind": "homepage", "missing": false, "url": "https://portfoliooptimization.org"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:20:42.876961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "427a810e91814011ebf0483e1368b069791c5dba99bc3888d57eb4a056f20c4e", "fetched_at": "2026-08-28T04:08:50.682354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dcajasn/Riskfolio-Lib"}, {"content_hash": "d80b49a3452247e0a3745f39d042654a30042680f5030f6304ee635d8d89f047", "fetched_at": "2026-08-29T09:07:25.765289+00:00", "kind": "homepage", "missing": false, "url": "https://portfoliooptimization.org"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.682354+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:20:42.876961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "427a810e91814011ebf0483e1368b069791c5dba99bc3888d57eb4a056f20c4e", "fetched_at": "2026-08-28T04:08:50.682354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dcajasn/Riskfolio-Lib"}, {"content_hash": "d80b49a3452247e0a3745f39d042654a30042680f5030f6304ee635d8d89f047", "fetched_at": "2026-08-29T09:07:25.765289+00:00", "kind": "homepage", "missing": false, "url": "https://portfoliooptimization.org"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:20:42.876961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "427a810e91814011ebf0483e1368b069791c5dba99bc3888d57eb4a056f20c4e", "fetched_at": "2026-08-28T04:08:50.682354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dcajasn/Riskfolio-Lib"}, {"content_hash": "d80b49a3452247e0a3745f39d042654a30042680f5030f6304ee635d8d89f047", "fetched_at": "2026-08-29T09:07:25.765289+00:00", "kind": "homepage", "missing": false, "url": "https://portfoliooptimization.org"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:20:42.876961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "427a810e91814011ebf0483e1368b069791c5dba99bc3888d57eb4a056f20c4e", "fetched_at": "2026-08-28T04:08:50.682354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dcajasn/Riskfolio-Lib"}, {"content_hash": "d80b49a3452247e0a3745f39d042654a30042680f5030f6304ee635d8d89f047", "fetched_at": "2026-08-29T09:07:25.765289+00:00", "kind": "homepage", "missing": false, "url": "https://portfoliooptimization.org"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:20:42.876961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "427a810e91814011ebf0483e1368b069791c5dba99bc3888d57eb4a056f20c4e", "fetched_at": "2026-08-28T04:08:50.682354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dcajasn/Riskfolio-Lib"}, {"content_hash": "d80b49a3452247e0a3745f39d042654a30042680f5030f6304ee635d8d89f047", "fetched_at": "2026-08-29T09:07:25.765289+00:00", "kind": "homepage", "missing": false, "url": "https://portfoliooptimization.org"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2375, "days_push": 15, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 76, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}