首页 > 最新文献

arXiv - QuantFin - Trading and Market Microstructure最新文献

英文 中文
High-Frequency Options Trading | With Portfolio Optimization 高频期权交易与投资组合优化
Pub Date : 2024-08-16 DOI: arxiv-2408.08866
Sid Bhatia
This paper explores the effectiveness of high-frequency options tradingstrategies enhanced by advanced portfolio optimization techniques,investigating their ability to consistently generate positive returns comparedto traditional long or short positions on options. Utilizing SPY options datarecorded in five-minute intervals over a one-month period, we calculate keymetrics such as Option Greeks and implied volatility, applying the BinomialTree model for American options pricing and the Newton-Raphson algorithm forimplied volatility calculation. Investment universes are constructed based oncriteria like implied volatility and Greeks, followed by the application ofvarious portfolio optimization models, including Standard Mean-Variance andRobust Methods. Our research finds that while basic long-short strategiescentered on implied volatility and Greeks generally underperform, moresophisticated strategies incorporating advanced Greeks, such as Vega and Rho,along with dynamic portfolio optimization, show potential in effectivelynavigating the complexities of the options market. The study highlights theimportance of adaptability and responsiveness in dynamic portfolio strategieswithin the high-frequency trading environment, particularly under volatilemarket conditions. Future research could refine strategy parameters and exploreless frequently traded options, offering new insights into high-frequencyoptions trading and portfolio management.
本文探讨了通过高级投资组合优化技术增强的高频期权交易策略的有效性,研究了与传统的期权多头或空头头寸相比,高频期权交易策略持续产生正收益的能力。利用一个月内以 5 分钟为间隔记录的 SPY 期权数据,我们计算了期权希腊字母和隐含波动率等关键指标,并应用二叉树模型进行美式期权定价和牛顿-拉斐尔森算法计算隐含波动率。根据隐含波动率和希腊字母等标准构建投资宇宙,然后应用各种投资组合优化模型,包括标准均值-方差法和稳健法。我们的研究发现,虽然以隐含波动率和希腊字母为核心的基本多空策略通常表现不佳,但将 Vega 和 Rho 等高级希腊字母与动态投资组合优化相结合的复杂策略则显示出有效驾驭期权市场复杂性的潜力。这项研究强调了高频交易环境下动态投资组合策略的适应性和响应性的重要性,尤其是在市场波动条件下。未来的研究可以完善策略参数,探索交易频率更低的期权,为高频期权交易和投资组合管理提供新的见解。
{"title":"High-Frequency Options Trading | With Portfolio Optimization","authors":"Sid Bhatia","doi":"arxiv-2408.08866","DOIUrl":"https://doi.org/arxiv-2408.08866","url":null,"abstract":"This paper explores the effectiveness of high-frequency options trading\u0000strategies enhanced by advanced portfolio optimization techniques,\u0000investigating their ability to consistently generate positive returns compared\u0000to traditional long or short positions on options. Utilizing SPY options data\u0000recorded in five-minute intervals over a one-month period, we calculate key\u0000metrics such as Option Greeks and implied volatility, applying the Binomial\u0000Tree model for American options pricing and the Newton-Raphson algorithm for\u0000implied volatility calculation. Investment universes are constructed based on\u0000criteria like implied volatility and Greeks, followed by the application of\u0000various portfolio optimization models, including Standard Mean-Variance and\u0000Robust Methods. Our research finds that while basic long-short strategies\u0000centered on implied volatility and Greeks generally underperform, more\u0000sophisticated strategies incorporating advanced Greeks, such as Vega and Rho,\u0000along with dynamic portfolio optimization, show potential in effectively\u0000navigating the complexities of the options market. The study highlights the\u0000importance of adaptability and responsiveness in dynamic portfolio strategies\u0000within the high-frequency trading environment, particularly under volatile\u0000market conditions. Future research could refine strategy parameters and explore\u0000less frequently traded options, offering new insights into high-frequency\u0000options trading and portfolio management.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-08-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142194505","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Forecasting High Frequency Order Flow Imbalance 高频订单流失衡预测
Pub Date : 2024-08-07 DOI: arxiv-2408.03594
Aditya Nittur Anantha, Shashi Jain
Market information events are generated intermittently and disseminated athigh speeds in real-time. Market participants consume this high-frequency datato build limit order books, representing the current bids and offers for agiven asset. The arrival processes, or the order flow of bid and offer events,are asymmetric and possibly dependent on each other. The quantum and directionof this asymmetry are often associated with the direction of the traded pricemovement. The Order Flow Imbalance (OFI) is an indicator commonly used toestimate this asymmetry. This paper uses Hawkes processes to estimate the OFIwhile accounting for the lagged dependence in the order flow between bids andoffers. Secondly, we develop a method to forecast the near-term distribution ofthe OFI, which can then be used to compare models for forecasting OFI. Thirdly,we propose a method to compare the forecasts of OFI for an arbitrarily largenumber of models. We apply the approach developed to tick data from theNational Stock Exchange and observe that the Hawkes process modeled with a Sumof Exponential's kernel gives the best forecast among all competing models.
市场信息事件间歇性产生,并实时高速传播。市场参与者利用这些高频数据建立限价订单簿,代表了某项资产的当前出价和要价。买入和卖出事件的到达过程或订单流是不对称的,而且可能相互依赖。这种不对称的数量和方向通常与交易价格变动的方向有关。订单流量不平衡(OFI)是常用来估计这种不对称的指标。本文使用霍克斯过程来估计订单流失衡,同时考虑出价和要价之间订单流的滞后依赖性。其次,我们开发了一种预测 OFI 近期分布的方法,然后可以用它来比较预测 OFI 的模型。第三,我们提出了一种方法来比较任意数量模型的 OFI 预测。我们将所开发的方法应用于国家证券交易所的股票数据,并观察到在所有竞争模型中,以指数核和为模型的霍克斯过程给出了最佳预测。
{"title":"Forecasting High Frequency Order Flow Imbalance","authors":"Aditya Nittur Anantha, Shashi Jain","doi":"arxiv-2408.03594","DOIUrl":"https://doi.org/arxiv-2408.03594","url":null,"abstract":"Market information events are generated intermittently and disseminated at\u0000high speeds in real-time. Market participants consume this high-frequency data\u0000to build limit order books, representing the current bids and offers for a\u0000given asset. The arrival processes, or the order flow of bid and offer events,\u0000are asymmetric and possibly dependent on each other. The quantum and direction\u0000of this asymmetry are often associated with the direction of the traded price\u0000movement. The Order Flow Imbalance (OFI) is an indicator commonly used to\u0000estimate this asymmetry. This paper uses Hawkes processes to estimate the OFI\u0000while accounting for the lagged dependence in the order flow between bids and\u0000offers. Secondly, we develop a method to forecast the near-term distribution of\u0000the OFI, which can then be used to compare models for forecasting OFI. Thirdly,\u0000we propose a method to compare the forecasts of OFI for an arbitrarily large\u0000number of models. We apply the approach developed to tick data from the\u0000National Stock Exchange and observe that the Hawkes process modeled with a Sum\u0000of Exponential's kernel gives the best forecast among all competing models.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-08-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141948368","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Correlation emergence in two coupled simulated limit order books 两个耦合模拟限价订单簿中出现的相关性
Pub Date : 2024-08-06 DOI: arxiv-2408.03181
Dominic Bauer, Derick Diana, Tim Gebbie
We use random walks to simulate the fluid limit of two coupled diffusivelimit order books to model correlation emergence. The model implements thearrival, cancellation and diffusion of orders coupled by a pairs traderprofiting from the mean-reversion between the two order books in the fluidlimit for a Lit order book with vanishing boundary conditions and order volumeconservation. We are able to demonstrate the recovery of an Epps effect fromthis. We discuss how various stylised facts depend on the model parameters andthe numerical scheme and discuss the various strengths and weaknesses of theapproach. We demonstrate how the Epps effect depends on different choices oftime and price discretisation. This shows how an Epps effect can emerge withoutrecourse to market microstructure noise relative to a latent model but canrather be viewed as an emergent property arising from trader interactions in aworld of asynchronous events.
我们使用随机游走模拟两个耦合扩散限价订单簿的流体极限,以模拟相关性的出现。该模型实现了订单的到达、取消和扩散,这些订单由一对交易者耦合而成,该交易者从流体极限中两个订单簿之间的均值反转中获利,而流体极限中的 Lit 订单簿具有消失边界条件和订单量守恒。我们能够证明埃普斯效应的恢复。我们讨论了各种典型事实如何取决于模型参数和数值方案,并讨论了该方法的各种优缺点。我们展示了埃普斯效应如何取决于时间和价格离散化的不同选择。这说明了埃普斯效应是如何在相对于潜在模型的市场微观结构噪声的情况下出现的,而可以将其视为异步事件世界中交易者互动所产生的新兴属性。
{"title":"Correlation emergence in two coupled simulated limit order books","authors":"Dominic Bauer, Derick Diana, Tim Gebbie","doi":"arxiv-2408.03181","DOIUrl":"https://doi.org/arxiv-2408.03181","url":null,"abstract":"We use random walks to simulate the fluid limit of two coupled diffusive\u0000limit order books to model correlation emergence. The model implements the\u0000arrival, cancellation and diffusion of orders coupled by a pairs trader\u0000profiting from the mean-reversion between the two order books in the fluid\u0000limit for a Lit order book with vanishing boundary conditions and order volume\u0000conservation. We are able to demonstrate the recovery of an Epps effect from\u0000this. We discuss how various stylised facts depend on the model parameters and\u0000the numerical scheme and discuss the various strengths and weaknesses of the\u0000approach. We demonstrate how the Epps effect depends on different choices of\u0000time and price discretisation. This shows how an Epps effect can emerge without\u0000recourse to market microstructure noise relative to a latent model but can\u0000rather be viewed as an emergent property arising from trader interactions in a\u0000world of asynchronous events.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-08-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141948370","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Data time travel and consistent market making: taming reinforcement learning in multi-agent systems with anonymous data 数据时间旅行与一致的市场决策:利用匿名数据驯服多代理系统中的强化学习
Pub Date : 2024-08-05 DOI: arxiv-2408.02322
Vincent Ragel, Damien Challet
Reinforcement learning works best when the impact of the agent's actions onits environment can be perfectly simulated or fully appraised from availabledata. Some systems are however both hard to simulate and very sensitive tosmall perturbations. An additional difficulty arises when an RL agent mustlearn to be part of a multi-agent system using only anonymous data, which makesit impossible to infer the state of each agent, thus to use data directly.Typical examples are competitive systems without agent-resolved data such asfinancial markets. We introduce consistent data time travel for offline RL as aremedy for these problems: instead of using historical data in a sequentialway, we argue that one needs to perform time travel in historical data, i.e.,to adjust the time index so that both the past state and the influence of theRL agent's action on the state coincide with real data. This both alleviatesthe need to resort to imperfect models and consistently accounts for both theimmediate and long-term reactions of the system when using anonymous historicaldata. We apply this idea to market making in limit order books, a notoriouslydifficult task for RL; it turns out that the gain of the agent is significantlyhigher with data time travel than with naive sequential data, which suggeststhat the difficulty of this task for RL may have been overestimated.
当代理的行为对环境的影响可以完全模拟或从可用数据中完全评估时,强化学习的效果最佳。然而,有些系统既难以模拟,又对微小的扰动非常敏感。当一个 RL 代理必须仅使用匿名数据来学习成为多代理系统的一部分时,就会出现额外的困难,这使得它无法推断每个代理的状态,从而无法直接使用数据。我们为离线 RL 引入了一致数据时间旅行,作为解决这些问题的方法:我们认为,与其顺序使用历史数据,不如在历史数据中执行时间旅行,即调整时间指数,使过去的状态和 RL 代理的行动对状态的影响与真实数据相吻合。这既减轻了使用不完全模型的需要,又能在使用匿名历史数据时始终如一地考虑到系统的即时和长期反应。我们将这一想法应用于限价订单簿中的做市交易--这对 RL 来说是一项众所周知的困难任务;结果表明,代理在数据时间旅行中的收益要明显高于在天真的顺序数据中的收益,这表明这项任务对 RL 来说的难度可能被高估了。
{"title":"Data time travel and consistent market making: taming reinforcement learning in multi-agent systems with anonymous data","authors":"Vincent Ragel, Damien Challet","doi":"arxiv-2408.02322","DOIUrl":"https://doi.org/arxiv-2408.02322","url":null,"abstract":"Reinforcement learning works best when the impact of the agent's actions on\u0000its environment can be perfectly simulated or fully appraised from available\u0000data. Some systems are however both hard to simulate and very sensitive to\u0000small perturbations. An additional difficulty arises when an RL agent must\u0000learn to be part of a multi-agent system using only anonymous data, which makes\u0000it impossible to infer the state of each agent, thus to use data directly.\u0000Typical examples are competitive systems without agent-resolved data such as\u0000financial markets. We introduce consistent data time travel for offline RL as a\u0000remedy for these problems: instead of using historical data in a sequential\u0000way, we argue that one needs to perform time travel in historical data, i.e.,\u0000to adjust the time index so that both the past state and the influence of the\u0000RL agent's action on the state coincide with real data. This both alleviates\u0000the need to resort to imperfect models and consistently accounts for both the\u0000immediate and long-term reactions of the system when using anonymous historical\u0000data. We apply this idea to market making in limit order books, a notoriously\u0000difficult task for RL; it turns out that the gain of the agent is significantly\u0000higher with data time travel than with naive sequential data, which suggests\u0000that the difficulty of this task for RL may have been overestimated.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-08-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141948369","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
CLVR Ordering of Transactions on AMMs 对 AMM 上的事务进行 CLVR 排序
Pub Date : 2024-08-05 DOI: arxiv-2408.02634
Robert McLaughlin, Nir Chemaya, Dingyue Liu, Dahlia Malkhi
Trading on decentralized exchanges via an Automated Market Maker (AMM)mechanism has been massively adopted, with a daily trading volume reaching $1B.This trading method has also received close attention from researchers, centralbanks, and financial firms, who have the potential to adopt it to traditionalfinancial markets such as foreign exchanges and stock markets. A criticalchallenge of AMM-powered trading is that transaction order has high financialvalue, so a policy or method to order transactions in a "good" (optimal) manneris vital. We offer economic measures of both price stability (low volatility)and inequality that inform how a "social planner" should pick an optimalordering. We show that there is a trade-off between achieving price stabilityand reducing inequality, and that policymakers must choose which to prioritize.In addition, picking the optimal order can often be costly, especially whenperforming an exhaustive search over trade orderings (permutations). As analternative we provide a simple algorithm, Clever Look-ahead VolatilityReduction (CLVR). This algorithm constructs an ordering which approximatelyminimizes price volatility with a small computation cost. We also provideinsight into the strategy changes that may occur if traders are subject to thissequencing algorithm.
通过自动做市商(AMM)机制在去中心化交易所进行的交易已被大量采用,日交易量达到 10 亿美元。这种交易方法也受到了研究人员、中央银行和金融公司的密切关注,他们有可能将其应用到传统金融市场,如国外交易所和股票市场。以 AMM 为动力的交易面临的一个关键挑战是交易订单具有很高的金融价值,因此以 "良好"(最优)的方式安排交易订单的政策或方法至关重要。我们提供了价格稳定性(低波动性)和不平等性的经济衡量标准,为 "社会规划者 "如何选择最优排序提供了参考。我们表明,在实现价格稳定和减少不平等之间存在权衡,决策者必须选择哪个优先。此外,选择最优排序往往代价高昂,尤其是在对交易排序(排列)进行穷举搜索时。作为一种替代方法,我们提供了一种简单的算法--聪明的前瞻波动率降低算法(Clever Look-ahead VolatilityReduction,CLVR)。该算法能以较小的计算成本构建一个近似最小化价格波动的排序。我们还提供了交易者采用这种排序算法时可能发生的策略变化。
{"title":"CLVR Ordering of Transactions on AMMs","authors":"Robert McLaughlin, Nir Chemaya, Dingyue Liu, Dahlia Malkhi","doi":"arxiv-2408.02634","DOIUrl":"https://doi.org/arxiv-2408.02634","url":null,"abstract":"Trading on decentralized exchanges via an Automated Market Maker (AMM)\u0000mechanism has been massively adopted, with a daily trading volume reaching $1B.\u0000This trading method has also received close attention from researchers, central\u0000banks, and financial firms, who have the potential to adopt it to traditional\u0000financial markets such as foreign exchanges and stock markets. A critical\u0000challenge of AMM-powered trading is that transaction order has high financial\u0000value, so a policy or method to order transactions in a \"good\" (optimal) manner\u0000is vital. We offer economic measures of both price stability (low volatility)\u0000and inequality that inform how a \"social planner\" should pick an optimal\u0000ordering. We show that there is a trade-off between achieving price stability\u0000and reducing inequality, and that policymakers must choose which to prioritize.\u0000In addition, picking the optimal order can often be costly, especially when\u0000performing an exhaustive search over trade orderings (permutations). As an\u0000alternative we provide a simple algorithm, Clever Look-ahead Volatility\u0000Reduction (CLVR). This algorithm constructs an ordering which approximately\u0000minimizes price volatility with a small computation cost. We also provide\u0000insight into the strategy changes that may occur if traders are subject to this\u0000sequencing algorithm.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-08-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141948411","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Deep Learning for Options Trading: An End-To-End Approach 期权交易的深度学习:端到端方法
Pub Date : 2024-07-31 DOI: arxiv-2407.21791
Wee Ling Tan, Stephen Roberts, Stefan Zohren
We introduce a novel approach to options trading strategies using a highlyscalable and data-driven machine learning algorithm. In contrast to traditionalapproaches that often require specifications of underlying market dynamics orassumptions on an option pricing model, our models depart fundamentally fromthe need for these prerequisites, directly learning non-trivial mappings frommarket data to optimal trading signals. Backtesting on more than a decade ofoption contracts for equities listed on the S&P 100, we demonstrate that deeplearning models trained according to our end-to-end approach exhibitsignificant improvements in risk-adjusted performance over existing rules-basedtrading strategies. We find that incorporating turnover regularization into themodels leads to further performance enhancements at prohibitively high levelsof transaction costs.
我们介绍了一种利用高度可扩展和数据驱动的机器学习算法来制定期权交易策略的新方法。传统的方法往往需要对基础市场动态或期权定价模型的假设进行规范,而我们的模型从根本上摆脱了对这些先决条件的需求,直接学习从市场数据到最优交易信号的非难映射。通过对标准普尔 100 指数(S&P 100)上市股票十多年的期权合约进行回溯测试,我们证明,与现有的基于规则的交易策略相比,根据我们的端到端方法训练的深度学习模型在风险调整后的性能方面有显著提高。我们发现,在模型中加入成交量正则化,可以在交易成本过高的情况下进一步提高性能。
{"title":"Deep Learning for Options Trading: An End-To-End Approach","authors":"Wee Ling Tan, Stephen Roberts, Stefan Zohren","doi":"arxiv-2407.21791","DOIUrl":"https://doi.org/arxiv-2407.21791","url":null,"abstract":"We introduce a novel approach to options trading strategies using a highly\u0000scalable and data-driven machine learning algorithm. In contrast to traditional\u0000approaches that often require specifications of underlying market dynamics or\u0000assumptions on an option pricing model, our models depart fundamentally from\u0000the need for these prerequisites, directly learning non-trivial mappings from\u0000market data to optimal trading signals. Backtesting on more than a decade of\u0000option contracts for equities listed on the S&P 100, we demonstrate that deep\u0000learning models trained according to our end-to-end approach exhibit\u0000significant improvements in risk-adjusted performance over existing rules-based\u0000trading strategies. We find that incorporating turnover regularization into the\u0000models leads to further performance enhancements at prohibitively high levels\u0000of transaction costs.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141873179","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Large Language Model Agent in Financial Trading: A Survey 金融交易中的大型语言模型代理:调查
Pub Date : 2024-07-26 DOI: arxiv-2408.06361
Han Ding, Yinheng Li, Junhao Wang, Hang Chen
Trading is a highly competitive task that requires a combination of strategy,knowledge, and psychological fortitude. With the recent success of largelanguage models(LLMs), it is appealing to apply the emerging intelligence ofLLM agents in this competitive arena and understanding if they can outperformprofessional traders. In this survey, we provide a comprehensive review of thecurrent research on using LLMs as agents in financial trading. We summarize thecommon architecture used in the agent, the data inputs, and the performance ofLLM trading agents in backtesting as well as the challenges presented in theseresearch. This survey aims to provide insights into the current state ofLLM-based financial trading agents and outline future research directions inthis field.
交易是一项竞争激烈的任务,需要策略、知识和心理承受力的综合运用。随着大型语言模型(LLMs)最近取得的成功,人们希望将 LLM 代理的新兴智能应用于这一竞争激烈的领域,并了解它们能否超越专业交易员。在本调查报告中,我们全面回顾了当前在金融交易中使用 LLM 作为代理的研究。我们总结了代理中使用的通用架构、数据输入、LLM 交易代理在回溯测试中的表现以及研究中面临的挑战。本调查旨在深入了解基于LLM 的金融交易代理的现状,并概述该领域未来的研究方向。
{"title":"Large Language Model Agent in Financial Trading: A Survey","authors":"Han Ding, Yinheng Li, Junhao Wang, Hang Chen","doi":"arxiv-2408.06361","DOIUrl":"https://doi.org/arxiv-2408.06361","url":null,"abstract":"Trading is a highly competitive task that requires a combination of strategy,\u0000knowledge, and psychological fortitude. With the recent success of large\u0000language models(LLMs), it is appealing to apply the emerging intelligence of\u0000LLM agents in this competitive arena and understanding if they can outperform\u0000professional traders. In this survey, we provide a comprehensive review of the\u0000current research on using LLMs as agents in financial trading. We summarize the\u0000common architecture used in the agent, the data inputs, and the performance of\u0000LLM trading agents in backtesting as well as the challenges presented in these\u0000research. This survey aims to provide insights into the current state of\u0000LLM-based financial trading agents and outline future research directions in\u0000this field.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-07-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142194518","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
The Negative Drift of a Limit Order Fill 限价订单成交的负漂移
Pub Date : 2024-07-23 DOI: arxiv-2407.16527
Timothy DeLise
Market making refers to a form of trading in financial markets characterizedby passive orders which add liquidity to limit order books. Market makers areimportant for the proper functioning of financial markets worldwide. Given theimportance, financial mathematics has endeavored to derive optimal strategiesfor placing limit orders in this context. This paper identifies a keydiscrepancy between popular model assumptions and the realities of realmarkets, specifically regarding the dynamics around limit order fills.Traditionally, market making models rely on an assumption of low-cost randomfills, when in reality we observe a high-cost non-random fill behavior. Namely,limit order fills are caused by and coincide with adverse price movements,which create a drag on the market maker's profit and loss. We refer to thisphenomenon as "the negative drift" associated with limit order fills. Wedescribe a discrete market model and prove theoretically that the negativedrift exists. We also provide a detailed empirical simulation using one of themost traded financial instruments in the world, the 10 Year US Treasury Bondfutures, which also confirms its existence. To our knowledge, this is the firstpaper to describe and prove this phenomenon in such detail.
做市商是指金融市场中的一种交易形式,其特点是被动下单,为限价订单簿增加流动性。做市商对于全球金融市场的正常运行非常重要。鉴于其重要性,金融数学一直在努力推导在此背景下下达限价订单的最优策略。传统上,做市商模型依赖于低成本随机成交的假设,而实际上我们观察到的是高成本非随机成交行为。也就是说,限价订单成交是由不利的价格变动引起的,并且与之相吻合,这就拖累了做市商的盈亏。我们将这种现象称为与限价订单成交相关的 "负漂移"。我们描述了一个离散市场模型,并从理论上证明了负漂移的存在。我们还使用世界上交易量最大的金融工具之一--10 年期美国国债期货--进行了详细的实证模拟,也证实了负漂移的存在。据我们所知,这是第一篇如此详细地描述和证明这一现象的论文。
{"title":"The Negative Drift of a Limit Order Fill","authors":"Timothy DeLise","doi":"arxiv-2407.16527","DOIUrl":"https://doi.org/arxiv-2407.16527","url":null,"abstract":"Market making refers to a form of trading in financial markets characterized\u0000by passive orders which add liquidity to limit order books. Market makers are\u0000important for the proper functioning of financial markets worldwide. Given the\u0000importance, financial mathematics has endeavored to derive optimal strategies\u0000for placing limit orders in this context. This paper identifies a key\u0000discrepancy between popular model assumptions and the realities of real\u0000markets, specifically regarding the dynamics around limit order fills.\u0000Traditionally, market making models rely on an assumption of low-cost random\u0000fills, when in reality we observe a high-cost non-random fill behavior. Namely,\u0000limit order fills are caused by and coincide with adverse price movements,\u0000which create a drag on the market maker's profit and loss. We refer to this\u0000phenomenon as \"the negative drift\" associated with limit order fills. We\u0000describe a discrete market model and prove theoretically that the negative\u0000drift exists. We also provide a detailed empirical simulation using one of the\u0000most traded financial instruments in the world, the 10 Year US Treasury Bond\u0000futures, which also confirms its existence. To our knowledge, this is the first\u0000paper to describe and prove this phenomenon in such detail.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-07-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141773571","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Automated Market Making and Decentralized Finance 自动做市和去中心化金融
Pub Date : 2024-07-23 DOI: arxiv-2407.16885
Marcello Monga
Automated market makers (AMMs) are a new type of trading venues which arerevolutionising the way market participants interact. At present, the majorityof AMMs are constant function market makers (CFMMs) where a deterministictrading function determines how markets are cleared. Within CFMMs, we focus onconstant product market makers (CPMMs) which implements the concentratedliquidity (CL) feature. In this thesis we formalise and study the tradingmechanism of CPMMs with CL, and we develop liquidity provision and liquiditytaking strategies. Our models are motivated and tested with market data. We derive optimal strategies for liquidity takers (LTs) who trade orders oflarge size and execute statistical arbitrages. First, we consider an LT whotrades in a CPMM with CL and uses the dynamics of prices in competing venues asmarket signals. We use Uniswap v3 data to study price, liquidity, and tradingcost dynamics, and to motivate the model. Next, we consider an LT who trades abasket of crypto-currencies whose constituents co-move. We use market data tostudy lead-lag effects, spillover effects, and causality between tradingvenues. We derive optimal strategies for strategic liquidity providers (LPs) whoprovide liquidity in CPMM with CL. First, we use stochastic control tools toderive a self-financing and closed-form optimal liquidity provision strategywhere the width of the LP's liquidity range is determined by the profitabilityof the pool, the dynamics of the LP's position, and concentration risk. Next,we use a model-free approach to solve the problem of an LP who providesliquidity in multiple CPMMs with CL. We do not specify a model for thestochastic processes observed by LPs, and use a long short-term memory (LSTM)neural network to approximate the optimal liquidity provision strategy.
自动做市商(AMM)是一种新型交易场所,它正在彻底改变市场参与者的互动方式。目前,大多数自动做市商都是恒定功能做市商(CFMM),由确定性交易功能决定市场清算方式。在恒定功能做市商(CFMMs)中,我们关注的是实现集中流动性(CL)特征的恒定产品做市商(CPMMs)。在本论文中,我们对具有集中流动性特征的 CPMMs 的交易机制进行了形式化和研究,并开发了流动性提供和流动性承接策略。我们的模型以市场数据为基础并进行了测试。我们为交易大额订单和执行统计套利的流动性承接者(LTs)推导出了最优策略。首先,我们考虑了在具有 CL 的 CPMM 中进行交易的 LT,并将竞争场所的价格动态作为市场信号。我们使用 Uniswap v3 数据来研究价格、流动性和交易成本动态,并激发模型。接下来,我们考虑一个 LT,他交易一篮子加密货币,而这些货币的成分是共同流动的。我们利用市场数据来研究领先-滞后效应、溢出效应以及交易场所之间的因果关系。我们为在 CPMM 中提供流动性的战略流动性提供者(LPs)推导出了最优策略。首先,我们使用随机控制工具推导出一种自负盈亏的闭式最优流动性提供策略,其中 LP 流动性范围的宽度由池的盈利能力、LP 头寸的动态和集中风险决定。接下来,我们使用无模型方法来解决 LP 在多个具有 CL 的 CPMM 中提供流动性的问题。我们没有为 LP 观察到的随机过程指定模型,而是使用一个长短期记忆(LSTM)神经网络来逼近最优流动性提供策略。
{"title":"Automated Market Making and Decentralized Finance","authors":"Marcello Monga","doi":"arxiv-2407.16885","DOIUrl":"https://doi.org/arxiv-2407.16885","url":null,"abstract":"Automated market makers (AMMs) are a new type of trading venues which are\u0000revolutionising the way market participants interact. At present, the majority\u0000of AMMs are constant function market makers (CFMMs) where a deterministic\u0000trading function determines how markets are cleared. Within CFMMs, we focus on\u0000constant product market makers (CPMMs) which implements the concentrated\u0000liquidity (CL) feature. In this thesis we formalise and study the trading\u0000mechanism of CPMMs with CL, and we develop liquidity provision and liquidity\u0000taking strategies. Our models are motivated and tested with market data. We derive optimal strategies for liquidity takers (LTs) who trade orders of\u0000large size and execute statistical arbitrages. First, we consider an LT who\u0000trades in a CPMM with CL and uses the dynamics of prices in competing venues as\u0000market signals. We use Uniswap v3 data to study price, liquidity, and trading\u0000cost dynamics, and to motivate the model. Next, we consider an LT who trades a\u0000basket of crypto-currencies whose constituents co-move. We use market data to\u0000study lead-lag effects, spillover effects, and causality between trading\u0000venues. We derive optimal strategies for strategic liquidity providers (LPs) who\u0000provide liquidity in CPMM with CL. First, we use stochastic control tools to\u0000derive a self-financing and closed-form optimal liquidity provision strategy\u0000where the width of the LP's liquidity range is determined by the profitability\u0000of the pool, the dynamics of the LP's position, and concentration risk. Next,\u0000we use a model-free approach to solve the problem of an LP who provides\u0000liquidity in multiple CPMMs with CL. We do not specify a model for the\u0000stochastic processes observed by LPs, and use a long short-term memory (LSTM)\u0000neural network to approximate the optimal liquidity provision strategy.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-07-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141773568","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Reinforcement Learning Pair Trading: A Dynamic Scaling approach 强化学习配对交易:动态缩放方法
Pub Date : 2024-07-23 DOI: arxiv-2407.16103
Hongshen Yang, Avinash Malik
Cryptocurrency is a cryptography-based digital asset with extremely volatileprices. Around $70 billion worth of crypto-currency is traded daily onexchanges. Trading crypto-currency is difficult due to the inherent volatilityof the crypto-market. In this work, we want to test the hypothesis: "Cantechniques from artificial intelligence help with algorithmically tradingcryptocurrencies?". In order to address this question, we combine ReinforcementLearning (RL) with pair trading. Pair trading is a statistical arbitragetrading technique which exploits the price difference between statisticallycorrelated assets. We train reinforcement learners to determine when and how totrade pairs of cryptocurrencies. We develop new reward shaping andobservation/action spaces for reinforcement learning. We performed experimentswith the developed reinforcement learner on pairs of BTC-GBP and BTC-EUR dataseparated by 1-minute intervals (n = 263,520). The traditional non-RL pairtrading technique achieved an annualised profit of 8.33%, while the proposedRL-based pair trading technique achieved annualised profits from 9.94% -31.53%, depending upon the RL learner. Our results show that RL cansignificantly outperform manual and traditional pair trading techniques whenapplied to volatile markets such as cryptocurrencies.
加密货币是一种基于密码学的数字资产,其价格极不稳定。每天在交易所交易的加密货币价值约 700 亿美元。由于加密市场固有的波动性,加密货币交易十分困难。在这项工作中,我们想测试一个假设:"人工智能技术能否帮助加密货币的算法交易?为了解决这个问题,我们将强化学习(RL)与配对交易相结合。配对交易是一种统计套利技术,它利用了统计相关资产之间的价格差异。我们训练强化学习器来确定何时以及如何进行加密货币对交易。我们为强化学习开发了新的奖励塑造和观察/行动空间。我们使用开发的强化学习器对按 1 分钟间隔划分的 BTC-GBP 和 BTC-EUR 数据对(n = 263520)进行了实验。传统的非 RL 配对交易技术实现了 8.33% 的年化利润,而所提出的基于 RL 的配对交易技术则实现了 9.94% -31.53% 的年化利润,具体取决于 RL 学习器。我们的研究结果表明,在加密货币等波动较大的市场中,RL 的表现明显优于人工和传统的配对交易技术。
{"title":"Reinforcement Learning Pair Trading: A Dynamic Scaling approach","authors":"Hongshen Yang, Avinash Malik","doi":"arxiv-2407.16103","DOIUrl":"https://doi.org/arxiv-2407.16103","url":null,"abstract":"Cryptocurrency is a cryptography-based digital asset with extremely volatile\u0000prices. Around $70 billion worth of crypto-currency is traded daily on\u0000exchanges. Trading crypto-currency is difficult due to the inherent volatility\u0000of the crypto-market. In this work, we want to test the hypothesis: \"Can\u0000techniques from artificial intelligence help with algorithmically trading\u0000cryptocurrencies?\". In order to address this question, we combine Reinforcement\u0000Learning (RL) with pair trading. Pair trading is a statistical arbitrage\u0000trading technique which exploits the price difference between statistically\u0000correlated assets. We train reinforcement learners to determine when and how to\u0000trade pairs of cryptocurrencies. We develop new reward shaping and\u0000observation/action spaces for reinforcement learning. We performed experiments\u0000with the developed reinforcement learner on pairs of BTC-GBP and BTC-EUR data\u0000separated by 1-minute intervals (n = 263,520). The traditional non-RL pair\u0000trading technique achieved an annualised profit of 8.33%, while the proposed\u0000RL-based pair trading technique achieved annualised profits from 9.94% -\u000031.53%, depending upon the RL learner. Our results show that RL can\u0000significantly outperform manual and traditional pair trading techniques when\u0000applied to volatile markets such as cryptocurrencies.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-07-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141773629","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
arXiv - QuantFin - Trading and Market Microstructure
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1