{"adoption": {"forks": 258, "observed_at": "2026-08-28T04:03:18.552244+00:00", "stars": 1034}, "canonical_url": "https://ross.abutalabs.com/products/btgym", "card": {"archived": false, "artifact_type": "library", "description": "Scalable, event-driven, deep-learning-friendly backtesting library", "domain": ["reinforcement-learning", "machine-learning", "deep-learning", "artificial-intelligence", "fintech", "time-series", "data-science"], "enriched": true, "function": ["reinforcement-learning", "simulation", "trading", "machine-learning", "deep-learning", "gpu-computing", "data-science"], "health_score": 20, "homepage": "https://kismuz.github.io/btgym/", "language": "Python", "license": "LGPL-3.0", "license_family": "copyleft", "maturity": "maintenance", "member_repos": ["Kismuz/btgym"], "name": "Kismuz/btgym", "platform": ["python"], "pushed_at": "2021-08-28T22:13:14+00:00", "repo": "Kismuz/btgym", "stars": 1034, "tags": ["backtesting", "openai-gym", "backtrader", "algorithmic-trading", "a3c", "unreal", "ppo", "policy-gradient", "actor-critic", "gym-environment", "quantitative-finance", "statistical-arbitrage", "event-driven", "trading-strategies", "financial-markets", "research-framework", "tensorboard", "distributed-training", "asynchronous-rl", "market-data", "time-series", "algorithms", "linux", "gpu", "tensorflow"], "topics": ["reinforcement-learning", "deep-reinforcement-learning", "gym-environment", "openai-gym", "backtesting-trading-strategies", "algorithmic-trading-library", "time-series", "a3c", "tensorflow", "backtrader", "unreal", "advantage-actor-critic", "policy-optimisation", "policy-gradient", "quantitive-finance", "algoritmic-trading", "statistical-arbitrage", "hacktoberfest"], "urls": [], "use_cases": ["backtest trading strategies with reinforcement learning agents", "train A3C or PPO agents on historical market data", "build a gym environment for algorithmic trading research", "run deep RL experiments on non-stationary financial time series", "simulate event-driven trading episodes from CSV price data", "research statistical arbitrage with policy gradient methods"], "what_it_is": "BTGym is a Python library that wraps the Backtrader algorithmic trading engine in an OpenAI Gym environment API, enabling event-driven backtesting of reinforcement learning agents on financial time-series data. It ships integrated deep RL algorithm implementations (A3C, UNREAL, PPO) plus data servers, custom spaces, and monitoring utilities for running trading experiments.", "when_to_avoid": ["you need a production-ready or out-of-the-box profitable trading system", "you want a polished end-user experience without RL or programming background", "you need actively maintained software - the last release was in 2021 and the code is explicitly research grade", "you only need conventional backtesting without reinforcement learning - plain Backtrader may suffice"], "when_to_choose": ["you want to apply deep reinforcement learning to trading strategy research", "you need a gym-compatible backtesting environment built on Backtrader", "you want integrated A3C, UNREAL, or PPO implementations for market experiments", "you are comfortable with RL theory and Python and need a research-grade framework"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/btgym", "repo": "Kismuz/btgym", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:06:30.459070+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "984ad56df8c302be00eba1459087dc09775cb9a1111413d601bf28ef6ee9315e", "fetched_at": "2026-08-28T04:03:18.552244+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kismuz/btgym"}, {"content_hash": "da8ddfd0d284e7520b6df075b15c9fed3839351ca7bc40af669810779663d789", "fetched_at": "2026-08-29T13:06:09.812137+00:00", "kind": "homepage", "missing": false, "url": "https://kismuz.github.io/btgym/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:06:30.459070+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "984ad56df8c302be00eba1459087dc09775cb9a1111413d601bf28ef6ee9315e", "fetched_at": "2026-08-28T04:03:18.552244+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kismuz/btgym"}, {"content_hash": "da8ddfd0d284e7520b6df075b15c9fed3839351ca7bc40af669810779663d789", "fetched_at": "2026-08-29T13:06:09.812137+00:00", "kind": "homepage", "missing": false, "url": "https://kismuz.github.io/btgym/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:06:30.459070+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "984ad56df8c302be00eba1459087dc09775cb9a1111413d601bf28ef6ee9315e", "fetched_at": "2026-08-28T04:03:18.552244+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kismuz/btgym"}, {"content_hash": "da8ddfd0d284e7520b6df075b15c9fed3839351ca7bc40af669810779663d789", "fetched_at": "2026-08-29T13:06:09.812137+00:00", "kind": "homepage", "missing": false, "url": "https://kismuz.github.io/btgym/"}], "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:03:18.552244+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:06:30.459070+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "984ad56df8c302be00eba1459087dc09775cb9a1111413d601bf28ef6ee9315e", "fetched_at": "2026-08-28T04:03:18.552244+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kismuz/btgym"}, {"content_hash": "da8ddfd0d284e7520b6df075b15c9fed3839351ca7bc40af669810779663d789", "fetched_at": "2026-08-29T13:06:09.812137+00:00", "kind": "homepage", "missing": false, "url": "https://kismuz.github.io/btgym/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:06:30.459070+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "984ad56df8c302be00eba1459087dc09775cb9a1111413d601bf28ef6ee9315e", "fetched_at": "2026-08-28T04:03:18.552244+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kismuz/btgym"}, {"content_hash": "da8ddfd0d284e7520b6df075b15c9fed3839351ca7bc40af669810779663d789", "fetched_at": "2026-08-29T13:06:09.812137+00:00", "kind": "homepage", "missing": false, "url": "https://kismuz.github.io/btgym/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:06:30.459070+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "984ad56df8c302be00eba1459087dc09775cb9a1111413d601bf28ef6ee9315e", "fetched_at": "2026-08-28T04:03:18.552244+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kismuz/btgym"}, {"content_hash": "da8ddfd0d284e7520b6df075b15c9fed3839351ca7bc40af669810779663d789", "fetched_at": "2026-08-29T13:06:09.812137+00:00", "kind": "homepage", "missing": false, "url": "https://kismuz.github.io/btgym/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.552244+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:06:30.459070+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "984ad56df8c302be00eba1459087dc09775cb9a1111413d601bf28ef6ee9315e", "fetched_at": "2026-08-28T04:03:18.552244+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kismuz/btgym"}, {"content_hash": "da8ddfd0d284e7520b6df075b15c9fed3839351ca7bc40af669810779663d789", "fetched_at": "2026-08-29T13:06:09.812137+00:00", "kind": "homepage", "missing": false, "url": "https://kismuz.github.io/btgym/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:06:30.459070+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "984ad56df8c302be00eba1459087dc09775cb9a1111413d601bf28ef6ee9315e", "fetched_at": "2026-08-28T04:03:18.552244+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kismuz/btgym"}, {"content_hash": "da8ddfd0d284e7520b6df075b15c9fed3839351ca7bc40af669810779663d789", "fetched_at": "2026-08-29T13:06:09.812137+00:00", "kind": "homepage", "missing": false, "url": "https://kismuz.github.io/btgym/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:06:30.459070+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "984ad56df8c302be00eba1459087dc09775cb9a1111413d601bf28ef6ee9315e", "fetched_at": "2026-08-28T04:03:18.552244+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kismuz/btgym"}, {"content_hash": "da8ddfd0d284e7520b6df075b15c9fed3839351ca7bc40af669810779663d789", "fetched_at": "2026-08-29T13:06:09.812137+00:00", "kind": "homepage", "missing": false, "url": "https://kismuz.github.io/btgym/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:06:30.459070+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "984ad56df8c302be00eba1459087dc09775cb9a1111413d601bf28ef6ee9315e", "fetched_at": "2026-08-28T04:03:18.552244+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kismuz/btgym"}, {"content_hash": "da8ddfd0d284e7520b6df075b15c9fed3839351ca7bc40af669810779663d789", "fetched_at": "2026-08-29T13:06:09.812137+00:00", "kind": "homepage", "missing": false, "url": "https://kismuz.github.io/btgym/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "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": 3388, "days_push": 1831, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}