Deep reinforcement learning framework for quantitative trading research
open sourceMITfree
FinRL is the AI4Finance Foundation's open source framework for financial reinforcement learning: a train, test and trade pipeline that downloads market data (Yahoo Finance and other sources), adds technical indicators, builds Gym-style market environments, and trains agents such as A2C, DDPG, PPO, TD3 and SAC with Stable Baselines 3, ElegantRL or RLlib for stock trading and portfolio allocation, with basic paper or live trading through Alpaca. Its makers now keep it for education, benchmarking and research prototypes, and point production users to its successor FinRL-X.
Problems it solves
- train a reinforcement learning agent to trade stocks
- backtest a deep RL portfolio allocation strategy
- research framework for RL in quantitative finance
Features
- market data download and technical indicators
- Gym-style trading environments
- A2C, DDPG, PPO, TD3 and SAC agents
- Stable Baselines 3, ElegantRL and RLlib backends
- backtesting and Alpaca trading
Limitations
- Its makers keep it as the educational and research framework: for live trading and production they point new users to FinRL-X (FinRL-Trading).1
Alternatives
The same job
These do what FinRL does.
- Qlib Microsoft's open source AI platform for quantitative investment research
- AI Hedge Fund Terminal app where AI investor agents paper-trade and backtest stock funds
- Vibe-Trading Open source trading agent that turns finance questions into research reports, backtests and paper portfolios
- VeighNa (vn.py) Open source Python framework and platform for quantitative trading
- Qbot Python platform for quantitative trading research: data, AI strategies, backtesting, paper trading and automated live trading
- LEAN (QuantConnect) Open source algorithmic trading engine for backtesting and live trading in Python and C#
