{"adoption": {"forks": 493, "observed_at": "2026-08-28T04:07:32.551313+00:00", "stars": 2966}, "canonical_url": "https://ross.abutalabs.com/products/bt", "card": {"archived": false, "artifact_type": "framework", "description": "bt - flexible backtesting for Python", "domain": ["fintech", "data-science"], "enriched": true, "function": ["simulation", "data-visualization", "benchmarking"], "health_score": 96, "homepage": "http://pmorissette.github.io/bt", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["pmorissette/bt"], "name": "pmorissette/bt", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-07T03:38:56+00:00", "repo": "pmorissette/bt", "stars": 2966, "tags": ["backtesting", "quantitative-finance", "algorithmic-trading", "trading-strategies", "finance", "algorithms"], "topics": [], "urls": [], "use_cases": ["backtest a quantitative trading strategy in python", "test a monthly rebalanced portfolio strategy on historical data", "compare performance statistics across multiple backtests", "build modular reusable trading strategy logic", "visualize backtest results with charts", "simulate long-only equal-weight allocation strategies"], "what_it_is": "bt is a flexible Python backtesting framework for testing quantitative trading strategies. It uses composable Algos and AlgoStacks with a tree structure to build modular, reusable strategy logic, and provides charting and detailed performance statistics.", "when_to_avoid": ["you need live trading or broker execution - bt is backtesting only", "you need high-frequency or tick-level backtesting performance", "you need a production-stable release - bt is self-described as alpha stage", "you are not working in Python"], "when_to_choose": ["you are a quant developing and testing trading strategies in Python", "you want composable, reusable strategy logic blocks instead of monolithic backtest scripts", "you want built-in stats and charting for backtest comparison", "you want to leverage the Python data ecosystem (pandas, ffn) in your strategies"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/bt", "repo": "pmorissette/bt", "role": "main", "score": 92}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:32:02.001300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32f73feefbcf1b8a41916a6abeead983df24ab32ea487cc66a0d4907b56e2926", "fetched_at": "2026-08-28T04:07:32.551313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/bt"}, {"content_hash": "24e7b43e063e49c0ab68197398719a0c59c7de2b328c8b33cfce38990adaabd8", "fetched_at": "2026-08-29T09:47:14.060372+00:00", "kind": "homepage", "missing": false, "url": "http://pmorissette.github.io/bt"}, {"content_hash": "a5e917ce18cc82dd8eac4b7506b45eabe191e549773fbd73075a08de6d0679f0", "fetched_at": "2026-08-29T09:47:14.069854+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bt/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:32:02.001300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32f73feefbcf1b8a41916a6abeead983df24ab32ea487cc66a0d4907b56e2926", "fetched_at": "2026-08-28T04:07:32.551313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/bt"}, {"content_hash": "24e7b43e063e49c0ab68197398719a0c59c7de2b328c8b33cfce38990adaabd8", "fetched_at": "2026-08-29T09:47:14.060372+00:00", "kind": "homepage", "missing": false, "url": "http://pmorissette.github.io/bt"}, {"content_hash": "a5e917ce18cc82dd8eac4b7506b45eabe191e549773fbd73075a08de6d0679f0", "fetched_at": "2026-08-29T09:47:14.069854+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bt/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:32:02.001300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32f73feefbcf1b8a41916a6abeead983df24ab32ea487cc66a0d4907b56e2926", "fetched_at": "2026-08-28T04:07:32.551313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/bt"}, {"content_hash": "24e7b43e063e49c0ab68197398719a0c59c7de2b328c8b33cfce38990adaabd8", "fetched_at": "2026-08-29T09:47:14.060372+00:00", "kind": "homepage", "missing": false, "url": "http://pmorissette.github.io/bt"}, {"content_hash": "a5e917ce18cc82dd8eac4b7506b45eabe191e549773fbd73075a08de6d0679f0", "fetched_at": "2026-08-29T09:47:14.069854+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bt/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:32.551313+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:32:02.001300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32f73feefbcf1b8a41916a6abeead983df24ab32ea487cc66a0d4907b56e2926", "fetched_at": "2026-08-28T04:07:32.551313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/bt"}, {"content_hash": "24e7b43e063e49c0ab68197398719a0c59c7de2b328c8b33cfce38990adaabd8", "fetched_at": "2026-08-29T09:47:14.060372+00:00", "kind": "homepage", "missing": false, "url": "http://pmorissette.github.io/bt"}, {"content_hash": "a5e917ce18cc82dd8eac4b7506b45eabe191e549773fbd73075a08de6d0679f0", "fetched_at": "2026-08-29T09:47:14.069854+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bt/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:32:02.001300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32f73feefbcf1b8a41916a6abeead983df24ab32ea487cc66a0d4907b56e2926", "fetched_at": "2026-08-28T04:07:32.551313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/bt"}, {"content_hash": "24e7b43e063e49c0ab68197398719a0c59c7de2b328c8b33cfce38990adaabd8", "fetched_at": "2026-08-29T09:47:14.060372+00:00", "kind": "homepage", "missing": false, "url": "http://pmorissette.github.io/bt"}, {"content_hash": "a5e917ce18cc82dd8eac4b7506b45eabe191e549773fbd73075a08de6d0679f0", "fetched_at": "2026-08-29T09:47:14.069854+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bt/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:32:02.001300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32f73feefbcf1b8a41916a6abeead983df24ab32ea487cc66a0d4907b56e2926", "fetched_at": "2026-08-28T04:07:32.551313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/bt"}, {"content_hash": "24e7b43e063e49c0ab68197398719a0c59c7de2b328c8b33cfce38990adaabd8", "fetched_at": "2026-08-29T09:47:14.060372+00:00", "kind": "homepage", "missing": false, "url": "http://pmorissette.github.io/bt"}, {"content_hash": "a5e917ce18cc82dd8eac4b7506b45eabe191e549773fbd73075a08de6d0679f0", "fetched_at": "2026-08-29T09:47:14.069854+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bt/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.551313+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:32:02.001300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32f73feefbcf1b8a41916a6abeead983df24ab32ea487cc66a0d4907b56e2926", "fetched_at": "2026-08-28T04:07:32.551313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/bt"}, {"content_hash": "24e7b43e063e49c0ab68197398719a0c59c7de2b328c8b33cfce38990adaabd8", "fetched_at": "2026-08-29T09:47:14.060372+00:00", "kind": "homepage", "missing": false, "url": "http://pmorissette.github.io/bt"}, {"content_hash": "a5e917ce18cc82dd8eac4b7506b45eabe191e549773fbd73075a08de6d0679f0", "fetched_at": "2026-08-29T09:47:14.069854+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bt/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:32:02.001300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32f73feefbcf1b8a41916a6abeead983df24ab32ea487cc66a0d4907b56e2926", "fetched_at": "2026-08-28T04:07:32.551313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/bt"}, {"content_hash": "24e7b43e063e49c0ab68197398719a0c59c7de2b328c8b33cfce38990adaabd8", "fetched_at": "2026-08-29T09:47:14.060372+00:00", "kind": "homepage", "missing": false, "url": "http://pmorissette.github.io/bt"}, {"content_hash": "a5e917ce18cc82dd8eac4b7506b45eabe191e549773fbd73075a08de6d0679f0", "fetched_at": "2026-08-29T09:47:14.069854+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bt/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:32:02.001300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32f73feefbcf1b8a41916a6abeead983df24ab32ea487cc66a0d4907b56e2926", "fetched_at": "2026-08-28T04:07:32.551313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/bt"}, {"content_hash": "24e7b43e063e49c0ab68197398719a0c59c7de2b328c8b33cfce38990adaabd8", "fetched_at": "2026-08-29T09:47:14.060372+00:00", "kind": "homepage", "missing": false, "url": "http://pmorissette.github.io/bt"}, {"content_hash": "a5e917ce18cc82dd8eac4b7506b45eabe191e549773fbd73075a08de6d0679f0", "fetched_at": "2026-08-29T09:47:14.069854+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bt/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:32:02.001300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32f73feefbcf1b8a41916a6abeead983df24ab32ea487cc66a0d4907b56e2926", "fetched_at": "2026-08-28T04:07:32.551313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmorissette/bt"}, {"content_hash": "24e7b43e063e49c0ab68197398719a0c59c7de2b328c8b33cfce38990adaabd8", "fetched_at": "2026-08-29T09:47:14.060372+00:00", "kind": "homepage", "missing": false, "url": "http://pmorissette.github.io/bt"}, {"content_hash": "a5e917ce18cc82dd8eac4b7506b45eabe191e549773fbd73075a08de6d0679f0", "fetched_at": "2026-08-29T09:47:14.069854+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/bt/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 81}, "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": 26, "days_rel": 130, "gap_med": 29, "n_releases_24m": 6}, "score": 92, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}