{"adoption": {"forks": 370, "observed_at": "2026-08-28T04:07:06.251745+00:00", "stars": 2636}, "canonical_url": "https://ross.abutalabs.com/products/ffn", "card": {"archived": false, "artifact_type": "library", "description": "ffn - a financial function library for Python", "domain": ["fintech", "data-science", "analytics"], "enriched": true, "function": ["data-science", "math", "data-visualization"], "health_score": 96, "homepage": "pmorissette.github.io/ffn", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["pmorissette/ffn"], "name": "pmorissette/ffn", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-13T14:20:22+00:00", "repo": "pmorissette/ffn", "stars": 2636, "tags": ["quantitative-finance", "finance", "portfolio-analysis", "performance-metrics", "pandas"], "topics": [], "urls": [], "use_cases": ["calculate portfolio performance metrics like sharpe ratio and drawdown", "compute mean-variance optimal portfolio weights", "analyze returns of a set of tickers", "transform and resample financial price data", "plot cumulative performance of multiple assets", "evaluate algorithmic trading strategy statistics"], "what_it_is": "ffn is a Python library of financial functions for quantitative finance, built on Pandas, NumPy, and SciPy. It provides utilities for performance measurement, evaluation, plotting, and common data transformations of financial time series.", "when_to_avoid": ["you need a full backtesting framework (use bt instead)", "you need real-time market data feeds", "you need enterprise-grade guaranteed stability (it is an alpha release)"], "when_to_choose": ["you need quick quantitative finance calculations on pandas data", "you want performance and risk metrics without a full backtesting engine", "you are prototyping portfolio analysis in Python"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ffn", "repo": "pmorissette/ffn", "role": "main", "score": 86}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:19:19.771927+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f79373870e4a61394a8261ff59fc4dbaee61ad35acd6943c3078add008c3c23", "fetched_at": "2026-08-28T04:07:06.251745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/ffn"}, {"content_hash": "933656b0aeee6396b29f8d7960cc5f675894bf55ae3d3eb2d9da3b402ce08219", "fetched_at": "2026-08-29T10:02:17.870495+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ffn/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:19:19.771927+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f79373870e4a61394a8261ff59fc4dbaee61ad35acd6943c3078add008c3c23", "fetched_at": "2026-08-28T04:07:06.251745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/ffn"}, {"content_hash": "933656b0aeee6396b29f8d7960cc5f675894bf55ae3d3eb2d9da3b402ce08219", "fetched_at": "2026-08-29T10:02:17.870495+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ffn/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:19:19.771927+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f79373870e4a61394a8261ff59fc4dbaee61ad35acd6943c3078add008c3c23", "fetched_at": "2026-08-28T04:07:06.251745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/ffn"}, {"content_hash": "933656b0aeee6396b29f8d7960cc5f675894bf55ae3d3eb2d9da3b402ce08219", "fetched_at": "2026-08-29T10:02:17.870495+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ffn/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:07:06.251745+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:19:19.771927+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f79373870e4a61394a8261ff59fc4dbaee61ad35acd6943c3078add008c3c23", "fetched_at": "2026-08-28T04:07:06.251745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/ffn"}, {"content_hash": "933656b0aeee6396b29f8d7960cc5f675894bf55ae3d3eb2d9da3b402ce08219", "fetched_at": "2026-08-29T10:02:17.870495+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ffn/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:19:19.771927+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f79373870e4a61394a8261ff59fc4dbaee61ad35acd6943c3078add008c3c23", "fetched_at": "2026-08-28T04:07:06.251745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/ffn"}, {"content_hash": "933656b0aeee6396b29f8d7960cc5f675894bf55ae3d3eb2d9da3b402ce08219", "fetched_at": "2026-08-29T10:02:17.870495+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ffn/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:19:19.771927+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f79373870e4a61394a8261ff59fc4dbaee61ad35acd6943c3078add008c3c23", "fetched_at": "2026-08-28T04:07:06.251745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/ffn"}, {"content_hash": "933656b0aeee6396b29f8d7960cc5f675894bf55ae3d3eb2d9da3b402ce08219", "fetched_at": "2026-08-29T10:02:17.870495+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ffn/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.251745+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:19:19.771927+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f79373870e4a61394a8261ff59fc4dbaee61ad35acd6943c3078add008c3c23", "fetched_at": "2026-08-28T04:07:06.251745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/ffn"}, {"content_hash": "933656b0aeee6396b29f8d7960cc5f675894bf55ae3d3eb2d9da3b402ce08219", "fetched_at": "2026-08-29T10:02:17.870495+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ffn/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:19:19.771927+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f79373870e4a61394a8261ff59fc4dbaee61ad35acd6943c3078add008c3c23", "fetched_at": "2026-08-28T04:07:06.251745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/ffn"}, {"content_hash": "933656b0aeee6396b29f8d7960cc5f675894bf55ae3d3eb2d9da3b402ce08219", "fetched_at": "2026-08-29T10:02:17.870495+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ffn/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:19:19.771927+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f79373870e4a61394a8261ff59fc4dbaee61ad35acd6943c3078add008c3c23", "fetched_at": "2026-08-28T04:07:06.251745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/ffn"}, {"content_hash": "933656b0aeee6396b29f8d7960cc5f675894bf55ae3d3eb2d9da3b402ce08219", "fetched_at": "2026-08-29T10:02:17.870495+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ffn/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:19:19.771927+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f79373870e4a61394a8261ff59fc4dbaee61ad35acd6943c3078add008c3c23", "fetched_at": "2026-08-28T04:07:06.251745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/ffn"}, {"content_hash": "933656b0aeee6396b29f8d7960cc5f675894bf55ae3d3eb2d9da3b402ce08219", "fetched_at": "2026-08-29T10:02:17.870495+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ffn/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 64}, "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": 4458, "days_push": 20, "days_rel": 162, "gap_med": 60.0, "n_releases_24m": 5}, "score": 86, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}