# FinRL-Meta **Repository Path**: txshare/FinRL-Meta ## Basic Information - **Project Name**: FinRL-Meta - **Description**: FinRL-Meta: Dynamic datasets and market environments for FinRL. - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-08 - **Last Updated**: 2025-12-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FinRL-Meta: A Metaverse of Market Environments and Benchmarks for Data-Driven Financial Reinforcement Learning [](https://pepy.tech/project/finrl_meta) [](https://pepy.tech/project/finrl_meta) [](https://www.python.org/downloads/release/python-360/) [](https://pypi.org/project/finrl_meta/) FinRL-Meta ([docs website](https://finrl.readthedocs.io/en/latest/finrl_meta/background.html)) builds a universe of market environments for data-driven financial reinforcement learning. We aim to help the users in our community to easily build environments. 1. FinRL-Meta provides hundreds of market environments. 2. FinRL-Meta reproduces existing papers as benchmarks. 3. FinRL-Meta provides dozens of demos/tutorials, organized in a curriculum. Previously called **Neo_FinRL**: **N**ear real-market **E**nvironments f**o**r data-driven **Fin**ancial **R**einforcement **L**earning. ## Outline - [News and Tutorials](#news-and-tutorials) - [Our Goals](#our-goals) - [Design Principles](#design-principles) - [Overview](#overview) - [Plug-and-Play](#plug-and-play) - [Training-Testing-Trading](#training-testing-trading-pipeline) - [Our Vision](#our-vision) ## News and Tutorials + [MLearning.ai] [Financial Metaverse as a Playground for Financial Machine Learning](https://medium.com/@zx2325/finrl-meta-from-market-environments-to-a-financial-metaverse-5db8490a83df) + [DataDrivenInvestor] [FinRL-Meta: A Universe of Near Real-Market Environments for Data-Driven Financial Reinforcement Learning](https://medium.datadriveninvestor.com/finrl-meta-a-universe-of-near-real-market-en-vironments-for-data-driven-financial-reinforcement-e1894e1ebfbd) + [深圳特区报] [深港两城深度融合 用“创新”续写“春天的故事”](https://www.sh-stic.com/news_72/515.html) [香港特别行政区联络办公室](http://www.locpg.gov.cn/jsdt/2022-06/06/c_1211654176.htm) + [央广网] [2021 IDEA大会于福田圆满落幕:群英荟萃论道AI 多项目发布亮点纷呈](http://tech.cnr.cn/techph/20211123/t20211123_525669092.shtml) + [央广网] [2021 IDEA大会开启AI思想盛宴 沈向洋理事长发布六大前沿产品](https://baijiahao.baidu.com/s?id=1717101783873523790&wfr=spider&for=pc) + [IDEA新闻] [2021 IDEA大会发布产品FinRL-Meta——基于数据驱动的强化学习金融风险模拟系统](https://idea.edu.cn/news/20211213143128.html) + [知乎] [FinRL-Meta基于数据驱动的强化学习金融元宇宙](https://zhuanlan.zhihu.com/p/437804814) ## Our Goals + To provide benchmarks and facilitate fair comparisons, we allow researchers to evaluate different strategies on the same dataset. Also, it would help researchers to better understand the “black-box” nature (deep neural network-based) of DRL algorithms. + To reduce the simulation-reality gap: existing works use backtesting on historical data, while the actual performance may be quite different. + To reduce the data pre-processing burden, so that quants can focus on developing and optimizing strategies. ## Design Principles + **Plug-and-Play (PnP)**: Modularity; Handle different markets (say T0 vs. T+1) + **Completeness and universal:** Multiple markets; Various data sources (APIs, Excel, etc); User-friendly variables. + **Layer structure and extensibility**: Three layers including: data layer, environment layer, and agent layer. Layers interact through end-to-end interfaces, achieving high extensibility. + **“Training-Testing-Trading” pipeline**: simulation for training and connecting real-time APIs for testing/trading, closing the sim-real gap. + **Efficient data sampling**: accelerate the data sampling process is the key to DRL training! From the ElegantRL project. we know that multi-processing is powerful to reduce the training time (scheduling between CPU + GPU). + **Transparency**: a virtual env that is invisible to the upper layer + **Flexibility and extensibility**: Inheritance might be helpful here ## Overview  We utilize a layered structure in FinRL-Meta, as shown in the figure above, that consists of three layers: data layer, environment layer, and agent layer. Each layer executes its functions and is independent. Meanwhile, layers interact through end-to-end interfaces to implement the complete workflow of algorithm trading. Moreover, the layer structure allows easy extension of user-defined functions. ## DataOps DataOps applies the ideas of lean development and DevOps to the data analytics field. DataOps practices have been developed in companies and organizations to improve the quality and efficiency of data analytics. These implementations consolidate various data sources, unify and automate the pipeline of data analytics, including data accessing, cleaning, analysis, and visualization. However, the DataOps methodology has not been applied to financial reinforcement learning researches. Most researchers access data, clean data, and extract technical indicators (features) in a case-by-case manner, which involves heavy manual work and may not guarantee the data quality. To deal with financial big data (unstructured), we follow the DataOps paradigm and implement an automatic pipeline in the following figure: task planning, data processing, training-testing-trading, and monitoring agents’ performance. Through this pipeline, we continuously produce DRL benchmarks on dynamic market datasets.