Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. AI in Finance
  3. FinRL

FinRL

MITJupyter Notebookv0.3.8

An open-source framework for applying deep reinforcement learning to quantitative finance, featuring a train-test-trade pipeline for stock and crypto trading.

Visit WebsiteGitHubGitHub
15.8k stars3.4k forks0 contributors

What is FinRL?

FinRL is an open-source framework that applies deep reinforcement learning to quantitative finance. It provides a structured pipeline for developing, training, and backtesting automated trading agents on financial data, solving the problem of creating adaptive, data-driven trading strategies.

Target Audience

Students, researchers, and developers interested in learning about or prototyping financial reinforcement learning strategies for stocks, cryptocurrencies, and portfolio management.

Value Proposition

Developers choose FinRL for its status as the first open-source framework in this domain, its comprehensive educational resources, and its integrated workflow that simplifies the process of going from data to a trained trading agent.

Overview

FinRL®: Financial Reinforcement Learning. 🔥

Use Cases

Best For

  • Learning the fundamentals of reinforcement learning applied to finance
  • Prototyping and benchmarking new DRL trading algorithms
  • Conducting academic research on automated trading systems
  • Backtesting trading strategies on historical stock data
  • Experimenting with crypto trading bots using DRL
  • Building educational demos for quantitative finance courses

Not Ideal For

  • Teams building production trading systems requiring live deployment and advanced risk controls
  • Developers preferring modular, decoupled architectures for easy customization and scalability
  • Quantitative firms needing professional backtesting engines and multi-account integration
  • Projects focused solely on high-frequency trading with millisecond data precision

Pros & Cons

Pros

Educational Tutorials

Provides step-by-step examples like the FinRL Stock Trading 2026 tutorial, offering a clear workflow from data download to backtesting, which is ideal for learners and researchers.

Wide Data Source Support

Integrates over a dozen sources including Yahoo Finance, Alpaca, and Binance, with automated preprocessing for technical indicators, enabling diverse market experimentation.

Integrated DRL Pipeline

Offers a train-test-trade workflow with gym-style environments and agents from libraries like Stable Baselines 3, simplifying the end-to-end process for financial RL prototyping.

Research Benchmarking

As the first open-source framework in this domain, it includes multiple DRL algorithms (e.g., A2C, PPO) for benchmarking, supported by peer-reviewed publications.

Cons

Monolithic Architecture

The README describes FinRL as a 'coupled monolith' with a three-layer structure, making it less flexible and harder to extend compared to modular alternatives like FinRL-X.

Outdated for Production

Admits that FinRL-X is the next-generation version for production, indicating this original framework has basic live trading support and lacks advanced risk management features.

Custom Backtesting Loops

Uses hand-rolled evaluation loops instead of professional backtesting libraries, which may limit robustness and performance compared to industry-standard tools.

Frequently Asked Questions

Quick Stats

Stars15,795
Forks3,438
Contributors0
Open Issues286
Last commit10 days ago
CreatedSince 2020

Tags

#backtesting#algorithmic-trading#finance#deep-learning#cryptocurrency-trading#tensorflow2#python#deep-reinforcement-learning#stock-trading#machine-learning#quantitative-finance#reinforcement-learning#portfolio-optimization

Built With

S
Stable-Baselines3
P
Python
P
PyTorch

Links & Resources

Website

Included in

AI in Finance5.6k
Auto-fetched 18 hours ago

Related Projects

stockpredictionaistockpredictionai

In this noteboook I will create a complete process for predicting stock price movements. Follow along and we will achieve some pretty good results. For that purpose we will use a Generative Adversarial Network (GAN) with LSTM, a type of Recurrent Neural Network, as generator, and a Convolutional Neural Network, CNN, as a discriminator. We use LSTM for the obvious reason that we are trying to predict time series data. Why we use GAN and specifically CNN as a discriminator? That is a good question: there are special sections on that later.

Stars5,581
Forks1,885
Last commit11 months ago
Ensemble-StrategyEnsemble-Strategy

FinRL-X: An AI-Native Modular Infrastructure for Quantitative Trading

Stars3,474
Forks1,037
Last commit2 months ago
PersonaePersonae

📈 Personae is a repo of implements and environment of Deep Reinforcement Learning & Supervised Learning for Quantitative Trading.

Stars1,408
Forks341
Last commit7 years ago
mlforecastmlforecast

Scalable machine 🤖 learning for time series forecasting.

Stars1,255
Forks129
Last commit2 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub