{"adoption": {"forks": 479, "observed_at": "2026-08-28T04:06:42.641403+00:00", "stars": 2386}, "canonical_url": "https://ross.abutalabs.com/products/gym-anytrading", "card": {"archived": false, "artifact_type": "library", "description": "The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)", "domain": ["reinforcement-learning", "fintech", "machine-learning"], "enriched": true, "function": ["reinforcement-learning", "simulation", "machine-learning"], "health_score": 22, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["AminHP/gym-anytrading"], "name": "AminHP/gym-anytrading", "platform": ["python", "cross-platform"], "pushed_at": "2024-03-14T04:33:05+00:00", "repo": "AminHP/gym-anytrading", "stars": 2386, "tags": ["openai-gym", "trading-environment", "forex", "stocks", "q-learning", "dqn", "rl-environments", "algorithms"], "topics": ["openai-gym", "reinforcement-learning", "q-learning", "dqn", "trading", "trading-environments", "forex", "stocks", "gym-environments", "trading-algorithms"], "urls": [], "use_cases": ["train an RL agent to trade stocks", "backtest a DQN trading strategy", "build a q-learning forex trading bot", "gym environment for algorithmic trading research", "simulate trading positions and rewards for reinforcement learning", "benchmark RL trading algorithms"], "what_it_is": "gym-anytrading is a collection of OpenAI Gym environments for developing and testing reinforcement learning-based trading algorithms in FOREX and stock markets. It provides an abstract TradingEnv plus concrete ForexEnv and StocksEnv with simplified buy/sell actions and positions.", "when_to_avoid": ["you need a full production trading system with money management and multiple markets", "you require realistic broker execution, fees, and order types", "you expect an RL agent to handle all trading decisions like hold, budget, and portfolio allocation"], "when_to_choose": ["you want a simple, ready-made Gym environment for RL trading experiments", "you are prototyping DQN or Q-learning agents on stock or forex price data", "you need a flexible base class to extend with custom trading environments"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/gym-anytrading", "repo": "AminHP/gym-anytrading", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.811672+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f153f19895a1dd981cbd203c001ec110737ed6067b80a52a4ad87cc61fb45e89", "fetched_at": "2026-08-28T04:06:42.641403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AminHP/gym-anytrading"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.811672+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f153f19895a1dd981cbd203c001ec110737ed6067b80a52a4ad87cc61fb45e89", "fetched_at": "2026-08-28T04:06:42.641403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AminHP/gym-anytrading"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.811672+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f153f19895a1dd981cbd203c001ec110737ed6067b80a52a4ad87cc61fb45e89", "fetched_at": "2026-08-28T04:06:42.641403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AminHP/gym-anytrading"}], "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:06:42.641403+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.811672+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f153f19895a1dd981cbd203c001ec110737ed6067b80a52a4ad87cc61fb45e89", "fetched_at": "2026-08-28T04:06:42.641403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AminHP/gym-anytrading"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.811672+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f153f19895a1dd981cbd203c001ec110737ed6067b80a52a4ad87cc61fb45e89", "fetched_at": "2026-08-28T04:06:42.641403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AminHP/gym-anytrading"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.811672+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f153f19895a1dd981cbd203c001ec110737ed6067b80a52a4ad87cc61fb45e89", "fetched_at": "2026-08-28T04:06:42.641403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AminHP/gym-anytrading"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:42.641403+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.811672+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f153f19895a1dd981cbd203c001ec110737ed6067b80a52a4ad87cc61fb45e89", "fetched_at": "2026-08-28T04:06:42.641403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AminHP/gym-anytrading"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.811672+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f153f19895a1dd981cbd203c001ec110737ed6067b80a52a4ad87cc61fb45e89", "fetched_at": "2026-08-28T04:06:42.641403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AminHP/gym-anytrading"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.811672+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f153f19895a1dd981cbd203c001ec110737ed6067b80a52a4ad87cc61fb45e89", "fetched_at": "2026-08-28T04:06:42.641403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AminHP/gym-anytrading"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:34:35.811672+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f153f19895a1dd981cbd203c001ec110737ed6067b80a52a4ad87cc61fb45e89", "fetched_at": "2026-08-28T04:06:42.641403+00:00", "kind": "readme", "missing": false, "url": "https://github.com/AminHP/gym-anytrading"}], "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": 2543, "days_push": 902, "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}}