FinRL_Podracer  by AI4Finance-Foundation

Financial RL framework for algorithmic trading strategy development

created 4 years ago
450 stars

Top 67.9% on sourcepulse

GitHubView on GitHub
Project Summary

FinRL_Podracer is an intermediate-level, cloud-native framework for financial reinforcement learning, targeting full-stack developers and quantitative traders. It simplifies the development of algorithmic trading strategies by providing a lightweight, efficient, and stable library built on PyTorch and ElegantRL, enabling fast code iteration and performance comparable to Ray RLlib.

How It Works

The framework models stock trading as a Markov Decision Process (MDP), aiming to maximize expected returns. It utilizes an OpenAI gym-style environment for interaction, with states represented by a 181-dimensional vector including balance, stock prices, shares, and technical indicators like MACD, RSI, CCI, and ADX. Actions involve buying, selling, or holding stocks, with a configurable action space. The library supports a wide range of model-free DRL algorithms for both continuous and discrete action spaces.

Quick Start & Requirements

  • Install via pip install elegantrl.
  • Requires Python 3.x.
  • Demo notebook StockTrading_Demo.ipynb available for a PPO-based trading strategy.
  • Official documentation and educational resources are available via links in the project's repository.

Highlighted Details

  • Supports DDPG, TD3, SAC, A2C, PPO (with GAE) for continuous actions.
  • Supports DQN, DoubleDQN, D3QN for discrete actions.
  • Includes MILP for portfolio optimization using natural evolutionary strategies.
  • Core code is under 800 lines, emphasizing a Pythonic and lean development approach.
  • State-of-the-art DRL algorithms are implemented with a focus on researcher control and performance.

Maintenance & Community

The project is actively seeking community support and feedback for updates. Links to community channels or roadmaps are not explicitly provided in the README.

Licensing & Compatibility

The project's licensing is not explicitly stated in the provided README. Compatibility for commercial use or closed-source linking would require clarification of the license.

Limitations & Caveats

The README indicates the project is in a state where urgent community feedback is needed for updates, suggesting potential for unaddressed issues or a need for active maintenance. The licensing status is unclear, which could impact commercial adoption.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.