# FinRL-Trading

> 第 4 章 · GitHub 事实 2026-10-22 · 网页版: https://finance-agents.dev/zh/projects/finrl-trading

## 它做什么

README 把项目称为 FinRL-X，并写成以权重为中心的接口，把数据处理、策略组合、回测和券商执行放在一起的量化交易基础设施。它链接了论文 `arxiv.org/abs/2603.21330`。`requirements.txt` 包含 `torch`、`lightgbm`、`xgboost`、`yfinance`、`alpaca-py`、`openai` 和 `streamlit`。本清单按这个 FinRL-X 技术栈收录它。

## 仓库事实

<div class="afa-facts afa-kv">

| | |
| --- | --- |
| 仓库 | [AI4Finance-Foundation/FinRL-Trading](https://github.com/AI4Finance-Foundation/FinRL-Trading) |
| GitHub 简介 | FinRL-X: An AI-Native Modular Infrastructure for Quantitative Trading |
| Star | 3,845 |
| Fork | 1,123 |
| 创建 | 2020-07-26 |
| 默认分支 | `master` |
| 最近提交 | [2026-09-18](https://github.com/AI4Finance-Foundation/FinRL-Trading/commit/4409abe925c904e570be78ebfb5e77ac3491dff8) `4409abe` |
| 最近推送 | 2026-09-18 |
| 许可证 | Apache-2.0 |
| 主页 | https://ai4finance.org |
| 主要语言 | Python |
| 语言 | Python, Shell, Dockerfile |
| Topics | deep-reinforcement-learning, stock-trading, a2c-algorithm, ppo, ddpg, ensemble-strategy, stock-trading-strategy, automated-stock-trading, sharpe-ratio, finrl, portfolio, portfolio-allocation, stock-selection, finrl-x |

</div>

来源：GitHub API，2026-10-22。


## 技术栈

GitHub 报告的主要语言: Python.
GitHub 报告的语言: Python, Shell, Dockerfile.

依赖文件（仅包名，抓取当日）:
- `requirements.txt`: `numpy`, `pandas`, `scikit-learn`, `lightgbm`, `xgboost`, `yfinance`, `alpaca-py`, `openai`, `streamlit`, `torch`, `finnhub`

## 近期活动

默认分支 `master` 上最近一次提交是 2026-09-18（[`4409abe`](https://github.com/AI4Finance-Foundation/FinRL-Trading/commit/4409abe925c904e570be78ebfb5e77ac3491dff8)）。提交说明：Merge pull request #95 from emt-Q/fix/ml-strategy-apply-risk-limits

仓库最近一次 push 是 2026-09-18。仓库创建于 2020-07-26。

## 适合谁

适合从最初的 FinRL 教程迁到模块化技术栈的人。FinRL 的 README 把较新的架构指向这个仓库。

## 在这份清单里

收录位置: [第 4 章](/zh/chapters/4-trading-execution-and-portfolio-management).

分类导读: [交易与组合](/zh/categories/trading-and-portfolio).

相关项目页: [FinRL](/zh/projects/finrl)、[Qlib](/zh/projects/qlib).

对照: [Best open-source trading agents（开源交易 agent 对照）](/zh/compare/open-source-trading-agents).

---

GitHub facts: 2026-10-22. CC0 1.0 · https://github.com/aowang-ai/awesome-finance-agents

由 Ao Wang（王奥，https://aowang.ai）维护。
