FinRL-Meta  by AI4Finance-Foundation

Market environment for financial reinforcement learning research

created 4 years ago
1,615 stars

Top 26.6% on sourcepulse

GitHubView on GitHub
Project Summary

FinRL-Meta provides a comprehensive suite of dynamic market environments and benchmarks for data-driven financial reinforcement learning. It aims to simplify environment creation, reduce the simulation-reality gap, and facilitate fair comparisons for researchers and practitioners in quantitative finance.

How It Works

FinRL-Meta employs a layered architecture (data, environment, agent) with plug-and-play capabilities, allowing seamless integration of various DRL libraries like ElegantRL, Stable-Baselines3, and RLlib. It follows a DataOps paradigm for automated data processing and feature engineering across diverse financial markets and data sources, including Chinese and US equities, cryptocurrencies, and more. The "Training-Testing-Trading" pipeline ensures a structured workflow, mitigating information leakage and enabling robust backtesting and potential live trading.

Quick Start & Requirements

  • Installation: Typically via pip install -e . (from source).
  • Prerequisites: Python 3.7+, PyTorch, and specific DRL libraries. Data access may require API keys or specific software (e.g., Akshare, CCXT).
  • Resources: Requires significant disk space for datasets and computational resources (CPU/GPU) for training DRL agents.
  • Documentation: FinRL-Meta Documentation

Highlighted Details

  • Supports over a dozen data sources (e.g., Akshare, Alpaca, Binance, YahooFinance) with various frequencies and market coverage.
  • Reproduces existing research papers as benchmarks for standardized evaluation.
  • Offers a curriculum of dozens of demos and tutorials for guided learning.
  • Implements efficient data sampling using multiprocessing for accelerated DRL training.

Maintenance & Community

  • Active development with contributions from multiple researchers.
  • Associated with the FinRL project, indicating a broader ecosystem.
  • Community engagement channels are not explicitly detailed in the README, but academic citations suggest an active research community.

Licensing & Compatibility

  • License: MIT License.
  • Trademark Disclaimer: FinRL® is a registered trademark; use of the name/logo requires prior written consent.
  • Compatibility: Permissive for commercial use and closed-source linking, but trademark restrictions apply.

Limitations & Caveats

The project is research-oriented, and while it aims to reduce the sim-real gap, actual trading performance may vary. The "Training-Testing-Trading" pipeline is crucial for mitigating data leakage but requires careful implementation. Trademark restrictions on the "FinRL" name should be noted for branding.

Health Check
Last commit

5 days ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
0
Star History
103 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.