Home / Factor research
thedimlebowski/Trading-Gym
Reinforcement learning environment for developing trading algorithms
What it is
An open-source project for developing reinforcement learning algorithms in a trading setting. It turns market data into an interactive environment where agents act and receive rewards, so RL strategies can be tested and iterated. Researchers and developers applying reinforcement learning to trading can use it as their training ground. The environment is a simplification of real markets, so strategies need further testing with realistic costs before any live use.
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): 0 over the period, now 568. 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