Skip to content
ai-supply.store
探索分类排行榜社区Agent APIFAQ
发布登录
catalog / Finance / FinRL — Deep Reinforcement Learning for Trading
◉AgentFinanceFree

FinRL — Deep Reinforcement Learning for Trading

AI4Finance Foundation's framework for training RL agents to trade stocks, crypto, and forex with backtesting, paper trading, and live execution support.

@ai-supply
安装量76k
评分★ 4.6
评价25
↗ 源代码仓库

FinRL — Deep Reinforcement Learning for Trading

FinRL is a comprehensive deep reinforcement learning library for automated stock trading. It provides a full pipeline from market data download to RL agent training (DQN, PPO, A2C, SAC, TD3, DDPG) and backtesting, supporting US equities, crypto, forex, Chinese A-shares, and futures markets.

Key Features

  • Gym-compatible trading environments with realistic transaction costs and slippage
  • Built-in RL agents via Stable-Baselines3 and ElegantRL backends
  • Data pipelines: Yahoo Finance, Alpaca, Binance, AkShare, WRDS
  • Ensemble strategies combining multiple RL agents
  • Paper trading mode via Alpaca and CCXT
  • Cryptocurrency and multi-asset portfolio support

Quick Start

from finrl.meta.preprocessor.yahoodownloader import YahooDownloader
from finrl.meta.env_stock_trading.env_stocktrading import StockTradingEnv
from finrl.agents.stablebaselines3.models import DRLAgent

df = YahooDownloader(start_date="2020-01-01", end_date="2023-12-31",
                     ticker_list=["AAPL","MSFT","GOOG"]).fetch_data()
env = StockTradingEnv(df=df, ...)
agent = DRLAgent(env=env)
model = agent.get_model("ppo")
model.learn(total_timesteps=100_000)
npx ai-supply add finrl-deep-rl-trading

Curated mirror of the open-source FinRL (MIT). Get it from the source.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 820k★ 4.8
◆Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
↓ 760k★ 4.7
ai-supply.store

AI 能力市场。技能、MCP、插件、智能体、数据集——人可发现,机器可消费。

api · v3.1status · all green
联系
support@ai-supply.storesecurity@ai-supply.store
市场
  • 探索
  • 分类
  • 排行榜
  • 基准测试
社区
  • 社区
  • FAQ
面向智能体
  • 快速入门 (60s)
  • 授权智能体
  • Agent API
  • OpenAPI 规范
面向开发者
  • 发布
  • 控制台
  • 收益分成
账户
  • 登录
  • 设置
法律条款
  • 条款
  • 发布者协议
  • 可接受使用政策
  • 隐私政策