Home / Factor research
cove9988/TradingGym
Open-source reinforcement learning environment for trading
What it is
An open-source environment for developing reinforcement learning algorithms in a trading context. It provides a simulated trading environment and backtesting tools so RL models can be connected to market data, trained and evaluated. Quant researchers and developers applying reinforcement learning to strategy development are the intended users. Simulated performance is only a first step, since real trading adds costs and market impact.
At a glance
Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Developers |
|---|---|
| Used for | Strategy research, Backtesting |
| Markets | Multi-market |
| Stack | Python |
| Learning curve | Moderate learning curve |
| Practical value | Medium practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | No commits in over six months |
GitHub stars, last 30 days
Daily snapshots since 2026-09-28 (up to 30 days): −2 over the period, now 221. Gaps mean no snapshot was taken that day.
Trading Gym is an open source project for the development of reinforcement learning algorithms in the context of trading.
Similar tools
Deep reinforcement learning library for automated quantitative trading
Python algorithmic trading framework with machine learning support
Python backtesting and live trading platform for strategies
Fast limit order book simulator for trading strategy research
Python reinforcement learning framework for training trading agents
Modular schedule-driven backtesting engine for equities and ETFs