Home / Factor research

hackthemarket/gym-trading

Factor research★ 712 GitHub starsJupyter Notebook⏱ No commits in over six months

OpenAI Gym environment for reinforcement learning trading

What it is

An environment for training reinforcement learning trading models, built on the OpenAI Gym interface. It provides a simulated market with historical price replay and a reward signal so agents can be trained and evaluated. Researchers and machine learning developers testing RL trading ideas can plug in standard Gym-compatible agents. The simulation is simplified, so behaviour learned here may not transfer to real markets with costs and liquidity limits.

At a glance

Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.

Best forProfessional quants
Used forStrategy research, Backtesting
MarketsMulti-market
StackPython
Learning curveSteep learning curve
Practical valueLow practical value
CostFree and open source
HardwareGPU optional
MaintenanceNo commits in over six months

GitHub stars, last 30 days

Daily snapshots since 2026-09-28 (up to 30 days): +1 over the period, now 712. Gaps mean no snapshot was taken that day.

In the author's words

Environment for reinforcement-learning algorithmic trading models

Open on GitHub ↗This week's trending tools中文页面

Similar tools