Home / LLM agents & research
tensortrade-org/tensortrade
Python reinforcement learning framework for training trading agents
What it is
An open-source Python framework for building, training, and evaluating reinforcement learning agents for algorithmic trading. It provides composable components—environments, action schemes, reward schemes, observers, and data feeds—that can be combined to create custom trading systems, with training scripts built around Ray RLlib and Optuna. Traders and researchers experimenting with RL-based strategies will find its tutorials, architecture guides, and documented experiments useful. The project's own research notes that commission costs can exceed prediction profits for frequently trading agents, so results depend heavily on assumptions like trading frequency and fees.
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 | GPU optional |
| Maintenance | No commits in over six months |
GitHub stars, last 30 days
Daily snapshots since 2026-09-12 (up to 30 days): +85 over the period, now 7,197. Gaps mean no snapshot was taken that day.
An open source reinforcement learning framework for training, evaluating, and deploying robust trading agents.
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
Modular schedule-driven backtesting engine for equities and ETFs
Gym-style environment for reinforcement learning trading and backtesting