FinRL
The reference deep-reinforcement-learning framework for trading and allocation
By AI4Finance Foundation
Documentation reviewed ·
What the documentation says
- Broker and exchange integrations
- Alpaca ('Basic Alpaca support' per the FinRL vs FinRL-X table; trade.py stage)
Documented integrations, not confirmation that an order ran.
Evidence 'Live Trading | Basic Alpaca support | Full multi-account integration + risk controls' (FinRL vs FinRL-X table); unit_tests/downloaders/test_alpaca_downloader.py
- Paper or simulated trading
Not stated in the reviewed documentation
Evidence Not stated.
- Backtesting
Documented
Evidence 'python examples/FinRL_StockTrading_2026_3_Backtest.py ... compares their performance against two baselines: Mean Variance Optimization (MVO) and the DJIA index.'
- Live-trading caution
Disclaimer: We are sharing codes for academic purposes under the MIT license. Nothing herein constitutes financial advice or a recommendation to trade real money. Users are solely responsible for any financial decisions made using this software.
Evidence README 'LICENSE' section disclaimer.
- Markets
- US stocks (DOW 30 tutorial)
- CN securities / A-shares (Akshare, Baostock, Tushare, JoinQuant, RiceQuant)
- crypto (Binance, CCXT)
- FX (FXMacroData)
- Taiwan securities (Sinopac)
- Data sources
- Akshare
- Alpaca
- Baostock
- Binance
- CCXT
- EODhistoricaldata
- FXMacroData
- IEXCloud
- JoinQuant
- QuantConnect
- RiceQuant
- Sinopac
- Tushare
- WRDS
- YahooFinance
- Model providers
No model provider documented
The documented setup does not require a model API key.
Evidence for markets, data and models
- Markets
- 'This script downloads DOW 30 stock data from Yahoo Finance'; 'Supported Data Sources' table (CN Securities, Cryptocurrency, FX spot rates, Taiwan securities); applications folder 'cryptocurrency_trading', 'portfolio_allocation', 'high_frequency_trading'
- Data sources
- README 'Supported Data Sources' table.
- Model providers
- No LLM provider named; 'Strategies | DRL agents (A2C, DDPG, PPO, SAC, TD3)'; FinRL-X described as 'AI-Native (ML + DRL + LLM-ready)'
Review scope: Documentation review on 8–9 October 2026. We did not install or run the software. Upstream commit hashes were not recorded, so the documentation may have changed since.
Audit dataset, field definitions and downloadsRead the audit article
Live GitHub metrics
Live GitHub data · Nov 27, 2026Latest release v0.3.8 on Mar 20, 2026. Repository created Jul 26, 2020.
What it is
FinRL wraps market environments as Gym-style tasks and provides DRL agents (PPO, A2C, SAC, TD3 and more) for trading and portfolio allocation. It predates the LLM wave and remains the standard starting point for RL-based trading research.
In the maintainers' words: “FinRL®: Financial Reinforcement Learning. 🔥”
Tags
- Reinforcement learning
- Gym environments
- Framework
- #algorithmic-trading
- #deep-reinforcement-learning
- #drl-algorithms
- #drl-framework
- #drl-trading-agents
- #finance
- #fintech
- #multi-agent-learning