arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07071q-fin.TRcs.AIcs.LGq-fin.CP
收藏

TRADES: 使用扩散模型生成逼真市场模拟

TRADES: Generating Realistic Market Simulations with Diffusion Models

Technical University of Munich(慕尼黑技术大学)

Leonardo Berti, Bardh Prenkaj, Paola Velardi

AI总结:

TRADES通过基于变换器的扩散模型生成逼真市场模拟,提升合成数据在金融任务中的应用价值。

摘要:

金融市场是复杂系统,具有高统计噪声、非线性、波动性和持续演变的特性。因此,对其进行建模非常困难。本文针对生成逼真且响应迅速的订单簿(LOB)市场模拟任务,这是校准和测试交易策略、进行市场影响实验以及生成合成市场数据的基础。我们提出了一种新颖的基于变换器的去噪扩散概率引擎用于LOB模拟(TRADES)。TRADES生成逼真的订单流作为时间序列,根据市场状态进行条件生成,利用基于变换器的架构来捕捉高频市场数据的时序和空间特征。文献中缺乏对生成市场模拟模型的定量评估指标。为了解决这个问题,我们通过在合成数据上训练股票价格预测模型并在真实数据上测试,将预测得分(以MAE衡量)适应到市场数据中。我们对两种股票进行了TRADES与先前工作的比较,报告了预测得分比现有最佳方法分别提高了3.27和3.48,证明我们生成了对金融下游任务有用的合成市场数据。此外,我们评估了TRADES的市场模拟真实性和响应性,显示其能够有效学习条件数据分布,并成功响应实验代理,为交易策略和市场影响实验的校准和评估提供了可能。为进行实验,我们开发了DeepMarket,这是首个基于深度学习的LOB市场模拟开源Python框架。在我们的仓库中,我们包含了一个由TRADES生成的合成LOB数据集。

英文摘要:

Financial markets are complex systems characterized by high statistical noise, nonlinearity, volatility, and constant evolution. Thus, modeling them is extremely hard. Here, we address the task of generating realistic and responsive Limit Order Book (LOB) market simulations, which are fundamental for calibrating and testing trading strategies, performing market impact experiments, and generating synthetic market data. We propose a novel TRAnsformer-based Denoising Diffusion Probabilistic Engine for LOB Simulations (TRADES). TRADES generates realistic order flows as time series conditioned on the state of the market, leveraging a transformer-based architecture that captures the temporal and spatial characteristics of high-frequency market data. There is a notable absence of quantitative metrics for evaluating generative market simulation models in the literature. To tackle this problem, we adapt the predictive score, a metric measured as an MAE, to market data by training a stock price predictive model on synthetic data and testing it on real data. We compare TRADES with previous works on two stocks, reporting a 3.27 and 3.48 improvement over SoTA according to the predictive score, demonstrating that we generate useful synthetic market data for financial downstream tasks. Furthermore, we assess TRADES's market simulation realism and responsiveness, showing that it effectively learns the conditional data distribution and successfully reacts to an experimental agent, giving sprout to possible calibrations and evaluations of trading strategies and market impact experiments. To perform the experiments, we developed DeepMarket, the first open-source Python framework for LOB market simulation with deep learning. In our repository, we include a synthetic LOB dataset composed of TRADES's generated simulations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑