首页 > 最新文献

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

英文 中文
The Random Forest Model for Analyzing and Forecasting the US Stock Market in the Context of Smart Finance 智能金融背景下用于分析和预测美国股市的随机森林模型
Pub Date : 2024-02-27 DOI: arxiv-2402.17194
Jiajian Zheng, Duan Xin, Qishuo Cheng, Miao Tian, Le Yang
The stock market is a crucial component of the financial market, playing avital role in wealth accumulation for investors, financing costs for listedcompanies, and the stable development of the national macroeconomy. Significantfluctuations in the stock market can damage the interests of stock investorsand cause an imbalance in the industrial structure, which can interfere withthe macro level development of the national economy. The prediction of stockprice trends is a popular research topic in academia. Predicting the threetrends of stock pricesrising, sideways, and falling can assist investors inmaking informed decisions about buying, holding, or selling stocks.Establishing an effective forecasting model for predicting these trends is ofsubstantial practical importance. This paper evaluates the predictiveperformance of random forest models combined with artificial intelligence on atest set of four stocks using optimal parameters. The evaluation considers bothpredictive accuracy and time efficiency.
股票市场是金融市场的重要组成部分,在投资者财富积累、上市公司融资成本、国家宏观经济稳定发展等方面发挥着重要作用。股票市场的大幅波动会损害股票投资者的利益,造成产业结构失衡,从而干扰国民经济的宏观发展。股票价格趋势预测是学术界的热门研究课题。预测股价上涨、横盘和下跌的三种趋势可以帮助投资者做出买入、持有或卖出股票的明智决策。本文使用最优参数评估了随机森林模型与人工智能相结合对四种股票的预测性能。评估同时考虑了预测准确性和时间效率。
{"title":"The Random Forest Model for Analyzing and Forecasting the US Stock Market in the Context of Smart Finance","authors":"Jiajian Zheng, Duan Xin, Qishuo Cheng, Miao Tian, Le Yang","doi":"arxiv-2402.17194","DOIUrl":"https://doi.org/arxiv-2402.17194","url":null,"abstract":"The stock market is a crucial component of the financial market, playing a\u0000vital role in wealth accumulation for investors, financing costs for listed\u0000companies, and the stable development of the national macroeconomy. Significant\u0000fluctuations in the stock market can damage the interests of stock investors\u0000and cause an imbalance in the industrial structure, which can interfere with\u0000the macro level development of the national economy. The prediction of stock\u0000price trends is a popular research topic in academia. Predicting the three\u0000trends of stock pricesrising, sideways, and falling can assist investors in\u0000making informed decisions about buying, holding, or selling stocks.\u0000Establishing an effective forecasting model for predicting these trends is of\u0000substantial practical importance. This paper evaluates the predictive\u0000performance of random forest models combined with artificial intelligence on a\u0000test set of four stocks using optimal parameters. The evaluation considers both\u0000predictive accuracy and time efficiency.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-02-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140009765","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
Long Short-Term Memory Pattern Recognition in Currency Trading 货币交易中的长短期记忆模式识别
Pub Date : 2024-02-23 DOI: arxiv-2403.18839
Jai Pal
This study delves into the analysis of financial markets through the lens ofWyckoff Phases, a framework devised by Richard D. Wyckoff in the early 20thcentury. Focusing on the accumulation pattern within the Wyckoff framework, theresearch explores the phases of trading range and secondary test, elucidatingtheir significance in understanding market dynamics and identifying potentialtrading opportunities. By dissecting the intricacies of these phases, the studysheds light on the creation of liquidity through market structure, offeringinsights into how traders can leverage this knowledge to anticipate pricemovements and make informed decisions. The effective detection and analysis ofWyckoff patterns necessitate robust computational models capable of processingcomplex market data, with spatial data best analyzed using Convolutional NeuralNetworks (CNNs) and temporal data through Long Short-Term Memory (LSTM) models.The creation of training data involves the generation of swing points,representing significant market movements, and filler points, introducing noiseand enhancing model generalization. Activation functions, such as the sigmoidfunction, play a crucial role in determining the output behavior of neuralnetwork models. The results of the study demonstrate the remarkable efficacy ofdeep learning models in detecting Wyckoff patterns within financial data,underscoring their potential for enhancing pattern recognition and analysis infinancial markets. In conclusion, the study highlights the transformativepotential of AI-driven approaches in financial analysis and trading strategies,with the integration of AI technologies shaping the future of trading andinvestment practices.
本研究通过理查德-D-怀科夫(Richard D. Wyckoff)在 20 世纪初设计的框架--"怀科夫阶段"(Wyckoff Phases)--的视角深入分析金融市场。本研究以威可夫框架中的累积模式为重点,探讨了交易区间和二次测试阶段,阐明了它们在理解市场动态和识别潜在交易机会方面的重要意义。通过剖析这些阶段的复杂性,研究揭示了通过市场结构创造流动性的过程,为交易者如何利用这些知识预测价格变动并做出明智决策提供了启示。要有效检测和分析 Wyckoff 模式,就必须建立能够处理复杂市场数据的强大计算模型,其中空间数据最好使用卷积神经网络(CNN)进行分析,时间数据则使用长短期记忆(LSTM)模型。激活函数(如 sigmoid 函数)在决定神经网络模型的输出行为方面起着至关重要的作用。研究结果表明,深度学习模型在检测金融数据中的 Wyckoff 模式方面效果显著,凸显了其在增强金融市场模式识别和分析方面的潜力。总之,这项研究强调了人工智能驱动的方法在金融分析和交易策略中的变革潜力,人工智能技术的整合将塑造交易和投资实践的未来。
{"title":"Long Short-Term Memory Pattern Recognition in Currency Trading","authors":"Jai Pal","doi":"arxiv-2403.18839","DOIUrl":"https://doi.org/arxiv-2403.18839","url":null,"abstract":"This study delves into the analysis of financial markets through the lens of\u0000Wyckoff Phases, a framework devised by Richard D. Wyckoff in the early 20th\u0000century. Focusing on the accumulation pattern within the Wyckoff framework, the\u0000research explores the phases of trading range and secondary test, elucidating\u0000their significance in understanding market dynamics and identifying potential\u0000trading opportunities. By dissecting the intricacies of these phases, the study\u0000sheds light on the creation of liquidity through market structure, offering\u0000insights into how traders can leverage this knowledge to anticipate price\u0000movements and make informed decisions. The effective detection and analysis of\u0000Wyckoff patterns necessitate robust computational models capable of processing\u0000complex market data, with spatial data best analyzed using Convolutional Neural\u0000Networks (CNNs) and temporal data through Long Short-Term Memory (LSTM) models.\u0000The creation of training data involves the generation of swing points,\u0000representing significant market movements, and filler points, introducing noise\u0000and enhancing model generalization. Activation functions, such as the sigmoid\u0000function, play a crucial role in determining the output behavior of neural\u0000network models. The results of the study demonstrate the remarkable efficacy of\u0000deep learning models in detecting Wyckoff patterns within financial data,\u0000underscoring their potential for enhancing pattern recognition and analysis in\u0000financial markets. In conclusion, the study highlights the transformative\u0000potential of AI-driven approaches in financial analysis and trading strategies,\u0000with the integration of AI technologies shaping the future of trading and\u0000investment practices.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-02-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140323436","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 for Optimal Execution when Liquidity is Time-Varying 流动性随时间变化时优化执行的强化学习
Pub Date : 2024-02-19 DOI: arxiv-2402.12049
Andrea Macrì, Fabrizio Lillo
Optimal execution is an important problem faced by any trader. Most solutionsare based on the assumption of constant market impact, while liquidity is knownto be dynamic. Moreover, models with time-varying liquidity typically assumethat it is observable, despite the fact that, in reality, it is latent and hardto measure in real time. In this paper we show that the use of Double DeepQ-learning, a form of Reinforcement Learning based on neural networks, is ableto learn optimal trading policies when liquidity is time-varying. Specifically,we consider an Almgren-Chriss framework with temporary and permanent impactparameters following several deterministic and stochastic dynamics. Usingextensive numerical experiments, we show that the trained algorithm learns theoptimal policy when the analytical solution is available, and overcomesbenchmarks and approximated solutions when the solution is not available.
最佳执行是任何交易者都面临的一个重要问题。大多数解决方案都基于市场影响恒定的假设,而众所周知流动性是动态的。此外,具有时变流动性的模型通常假定流动性是可观测的,尽管事实上流动性是潜在的,难以实时测量。在本文中,我们展示了在流动性时变的情况下,使用基于神经网络的强化学习(Double DeepQ-learning)能够学习最优交易策略。具体来说,我们考虑了一个 Almgren-Chriss 框架,该框架具有临时和永久影响参数,并遵循几种确定性和随机动态。通过大量的数值实验,我们发现当分析解可用时,训练有素的算法可以学习到最优策略,而当分析解不可用时,算法可以克服基准解和近似解。
{"title":"Reinforcement Learning for Optimal Execution when Liquidity is Time-Varying","authors":"Andrea Macrì, Fabrizio Lillo","doi":"arxiv-2402.12049","DOIUrl":"https://doi.org/arxiv-2402.12049","url":null,"abstract":"Optimal execution is an important problem faced by any trader. Most solutions\u0000are based on the assumption of constant market impact, while liquidity is known\u0000to be dynamic. Moreover, models with time-varying liquidity typically assume\u0000that it is observable, despite the fact that, in reality, it is latent and hard\u0000to measure in real time. In this paper we show that the use of Double Deep\u0000Q-learning, a form of Reinforcement Learning based on neural networks, is able\u0000to learn optimal trading policies when liquidity is time-varying. Specifically,\u0000we consider an Almgren-Chriss framework with temporary and permanent impact\u0000parameters following several deterministic and stochastic dynamics. Using\u0000extensive numerical experiments, we show that the trained algorithm learns the\u0000optimal policy when the analytical solution is available, and overcomes\u0000benchmarks and approximated solutions when the solution is not available.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-02-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139928078","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
Closed-form solutions for generic N-token AMM arbitrage 通用 Noken AMM 套利的闭式解法
Pub Date : 2024-02-09 DOI: arxiv-2402.06731
Matthew Willetts, Christian Harrington
Convex optimisation has provided a mechanism to determine arbitrage trades onautomated market markets (AMMs) since almost their inception. Here we outlinegeneric closed-form solutions for $N$-token geometric mean market maker poolarbitrage, that in simulation (with synthetic and historic data) provide betterarbitrage opportunities than convex optimisers and is able to capitalise onthose opportunities sooner. Furthermore, the intrinsic parallelism of theproposed approach (unlike convex optimisation) offers the ability to scale onGPUs, opening up a new approach to AMM modelling by offering an alternative tonumerical-solver-based methods. The lower computational cost of running thisnew mechanism can also enable on-chain arbitrage bots for multi-asset pools.
自自动市场(AMMs)诞生以来,凸优化就为其提供了一种确定套利交易的机制。在此,我们概述了 $N$ 代币几何平均数做市商池套利的通用闭式解决方案,在模拟(使用合成数据和历史数据)中,它比凸优化器提供了更好的套利机会,并能更快地利用这些机会。此外,拟议方法的内在并行性(不同于凸优化)提供了在 GPU 上扩展的能力,通过提供基于数值求解器的方法的替代方案,为 AMM 建模开辟了新途径。运行这种新机制的计算成本较低,因此也能为多资产池提供链上套利机器人。
{"title":"Closed-form solutions for generic N-token AMM arbitrage","authors":"Matthew Willetts, Christian Harrington","doi":"arxiv-2402.06731","DOIUrl":"https://doi.org/arxiv-2402.06731","url":null,"abstract":"Convex optimisation has provided a mechanism to determine arbitrage trades on\u0000automated market markets (AMMs) since almost their inception. Here we outline\u0000generic closed-form solutions for $N$-token geometric mean market maker pool\u0000arbitrage, that in simulation (with synthetic and historic data) provide better\u0000arbitrage opportunities than convex optimisers and is able to capitalise on\u0000those opportunities sooner. Furthermore, the intrinsic parallelism of the\u0000proposed approach (unlike convex optimisation) offers the ability to scale on\u0000GPUs, opening up a new approach to AMM modelling by offering an alternative to\u0000numerical-solver-based methods. The lower computational cost of running this\u0000new mechanism can also enable on-chain arbitrage bots for multi-asset pools.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-02-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139760680","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
DeepTraderX: Challenging Conventional Trading Strategies with Deep Learning in Multi-Threaded Market Simulations DeepTraderX:在多线程市场模拟中利用深度学习挑战传统交易策略
Pub Date : 2024-02-06 DOI: arxiv-2403.18831
Armand Mihai Cismaru
In this paper, we introduce DeepTraderX (DTX), a simple Deep Learning-basedtrader, and present results that demonstrate its performance in amulti-threaded market simulation. In a total of about 500 simulated marketdays, DTX has learned solely by watching the prices that other strategiesproduce. By doing this, it has successfully created a mapping from market datato quotes, either bid or ask orders, to place for an asset. Trained onhistorical Level-2 market data, i.e., the Limit Order Book (LOB) for specifictradable assets, DTX processes the market state $S$ at each timestep $T$ todetermine a price $P$ for market orders. The market data used in both trainingand testing was generated from unique market schedules based on real historicstock market data. DTX was tested extensively against the best strategies inthe literature, with its results validated by statistical analysis. Ourfindings underscore DTX's capability to rival, and in many instances, surpass,the performance of public-domain traders, including those that outclass humantraders, emphasising the efficiency of simple models, as this is required tosucceed in intricate multi-threaded simulations. This highlights the potentialof leveraging "black-box" Deep Learning systems to create more efficientfinancial markets.
本文介绍了基于深度学习的简单交易工具 DeepTraderX (DTX),并展示了其在多线程市场模拟中的表现。在总共约 500 个模拟市场日中,DTX 完全通过观察其他策略产生的价格来学习。通过这种方式,它成功地创建了从市场数据到报价的映射,无论是买入还是卖出订单,都可以为资产下单。DTX 根据历史二级市场数据(即特定可交易资产的限价订单簿 (LOB))进行训练,在每个时间点 $T$ 处理市场状态 $S$ 以确定市场订单的价格 $P$。训练和测试中使用的市场数据均由基于真实历史股票市场数据的独特市场时间表生成。DTX 与文献中的最佳策略进行了广泛测试,并通过统计分析验证了其结果。我们的发现强调了 DTX 的能力,它可以与公共领域交易员的表现相媲美,在许多情况下甚至超过了他们,包括那些超越人类交易员的交易员,这也强调了简单模型的效率,因为这是在复杂的多线程模拟中取得成功的必要条件。这凸显了利用 "黑盒 "深度学习系统创建更高效金融市场的潜力。
{"title":"DeepTraderX: Challenging Conventional Trading Strategies with Deep Learning in Multi-Threaded Market Simulations","authors":"Armand Mihai Cismaru","doi":"arxiv-2403.18831","DOIUrl":"https://doi.org/arxiv-2403.18831","url":null,"abstract":"In this paper, we introduce DeepTraderX (DTX), a simple Deep Learning-based\u0000trader, and present results that demonstrate its performance in a\u0000multi-threaded market simulation. In a total of about 500 simulated market\u0000days, DTX has learned solely by watching the prices that other strategies\u0000produce. By doing this, it has successfully created a mapping from market data\u0000to quotes, either bid or ask orders, to place for an asset. Trained on\u0000historical Level-2 market data, i.e., the Limit Order Book (LOB) for specific\u0000tradable assets, DTX processes the market state $S$ at each timestep $T$ to\u0000determine a price $P$ for market orders. The market data used in both training\u0000and testing was generated from unique market schedules based on real historic\u0000stock market data. DTX was tested extensively against the best strategies in\u0000the literature, with its results validated by statistical analysis. Our\u0000findings underscore DTX's capability to rival, and in many instances, surpass,\u0000the performance of public-domain traders, including those that outclass human\u0000traders, emphasising the efficiency of simple models, as this is required to\u0000succeed in intricate multi-threaded simulations. This highlights the potential\u0000of leveraging \"black-box\" Deep Learning systems to create more efficient\u0000financial markets.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-02-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140323284","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
Perpetual Future Contracts in Centralized and Decentralized Exchanges: Mechanism and Traders' Behavior 集中式和分散式交易所中的永续期货合约:机制与交易者行为
Pub Date : 2024-02-06 DOI: arxiv-2402.03953
Erdong Chen, Mengzhong Ma, Zixin Nie
This study presents a groundbreaking Systematization of Knowledge (SoK)initiative, focusing on an in-depth exploration of the dynamics and behavior oftraders on perpetual future contracts across both centralized exchanges (CEXs),and decentralized exchanges (DEXs). We have refined the existing model forinvestigating traders' behavior in reaction to price volatility to create a newanalytical framework specifically for these contract platforms, while alsohighlighting the role of blockchain technology in their application. Ourresearch includes a comparative analysis of historical data from CEXs and amore extensive examination of complete transactional data on DEXs. On DEX ofVirtual Automated Market Making (VAMM) Model, open interest on short and longpositions exert effect on price volatility in opposite direction, attributableto VAMM's price formation mechanism. In the DEXs with Oracle Pricing Model, weobserved a distinct asymmetry in trader behavior between buyers and sellers.Such asymmetry might stem from uninformed traders reacting more strongly topositive news than to negative, leading to a tendency to accumulate longpositions. This study sheds light on the potential risks and advantages ofusing perpetual future contracts within the DeFi space while providesmathematical basis and empirical insights based on which future theoreticalworks can be configurated, offering crucial insights into the rapidly evolvingworld of blockchain-based financial instruments.
本研究提出了一项开创性的知识系统化(SoK)计划,重点是深入探讨中心化交易所(CEX)和去中心化交易所(DEX)永久期货合约交易者的动态和行为。我们完善了现有的交易者对价格波动反应行为的研究模型,专门为这些合约平台创建了一个新的分析框架,同时还强调了区块链技术在其应用中的作用。我们的研究包括对 CEX 历史数据的比较分析,以及对 DEX 完整交易数据的更广泛研究。在虚拟自动做市商(VAMM)模式的DEX上,空头和多头头寸的未平仓合约对价格波动产生了反向影响,这归因于VAMM的价格形成机制。在使用 Oracle 定价模型的 DEX 中,我们观察到买方和卖方之间的交易者行为存在明显的不对称性。这种不对称性可能源于不明真相的交易者对利好消息的反应比对利空消息的反应更强烈,从而导致积累多头头寸的倾向。本研究揭示了在 DeFi 空间内使用永久期货合约的潜在风险和优势,同时提供了可以配置未来理论工作的数学基础和经验见解,为快速发展的基于区块链的金融工具世界提供了重要见解。
{"title":"Perpetual Future Contracts in Centralized and Decentralized Exchanges: Mechanism and Traders' Behavior","authors":"Erdong Chen, Mengzhong Ma, Zixin Nie","doi":"arxiv-2402.03953","DOIUrl":"https://doi.org/arxiv-2402.03953","url":null,"abstract":"This study presents a groundbreaking Systematization of Knowledge (SoK)\u0000initiative, focusing on an in-depth exploration of the dynamics and behavior of\u0000traders on perpetual future contracts across both centralized exchanges (CEXs),\u0000and decentralized exchanges (DEXs). We have refined the existing model for\u0000investigating traders' behavior in reaction to price volatility to create a new\u0000analytical framework specifically for these contract platforms, while also\u0000highlighting the role of blockchain technology in their application. Our\u0000research includes a comparative analysis of historical data from CEXs and a\u0000more extensive examination of complete transactional data on DEXs. On DEX of\u0000Virtual Automated Market Making (VAMM) Model, open interest on short and long\u0000positions exert effect on price volatility in opposite direction, attributable\u0000to VAMM's price formation mechanism. In the DEXs with Oracle Pricing Model, we\u0000observed a distinct asymmetry in trader behavior between buyers and sellers.\u0000Such asymmetry might stem from uninformed traders reacting more strongly to\u0000positive news than to negative, leading to a tendency to accumulate long\u0000positions. This study sheds light on the potential risks and advantages of\u0000using perpetual future contracts within the DeFi space while provides\u0000mathematical basis and empirical insights based on which future theoretical\u0000works can be configurated, offering crucial insights into the rapidly evolving\u0000world of blockchain-based financial instruments.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-02-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139760763","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
Learning the Market: Sentiment-Based Ensemble Trading Agents 学习市场:基于情绪的集合交易代理
Pub Date : 2024-02-02 DOI: arxiv-2402.01441
Andrew Ye, James Xu, Yi Wang, Yifan Yu, Daniel Yan, Ryan Chen, Bosheng Dong, Vipin Chaudhary, Shuai Xu
We propose the integration of sentiment analysis and deep-reinforcementlearning ensemble algorithms for stock trading, and design a strategy capableof dynamically altering its employed agent given concurrent market sentiment.In particular, we create a simple-yet-effective method for extracting newssentiment and combine this with general improvements upon existing works,resulting in automated trading agents that effectively consider bothqualitative market factors and quantitative stock data. We show that ourapproach results in a strategy that is profitable, robust, and risk-minimal --outperforming the traditional ensemble strategy as well as single agentalgorithms and market metrics. Our findings determine that the conventionalpractice of switching ensemble agents every fixed-number of months issub-optimal, and that a dynamic sentiment-based framework greatly unlocksadditional performance within these agents. Furthermore, as we have designedour algorithm with simplicity and efficiency in mind, we hypothesize that thetransition of our method from historical evaluation towards real-time tradingwith live data should be relatively simple.
我们提出将情绪分析和深度强化学习集合算法整合到股票交易中,并设计了一种能够根据当前市场情绪动态改变其所使用的代理的策略。特别是,我们创建了一种简单而有效的方法来提取新闻情绪,并将其与对现有工作的总体改进相结合,从而产生了同时有效考虑定量市场因素和定量股票数据的自动交易代理。我们的研究结果表明,我们的方法产生了一种盈利能力强、稳健且风险最小的策略,其表现优于传统的组合策略以及单一代理算法和市场指标。我们的研究结果表明,传统的每隔固定月数切换组合代理的做法是次优的,而基于情绪的动态框架则大大释放了这些代理的额外性能。此外,由于我们在设计算法时考虑到了简单性和效率,因此我们假设我们的方法从历史评估向实时数据交易的过渡应该相对简单。
{"title":"Learning the Market: Sentiment-Based Ensemble Trading Agents","authors":"Andrew Ye, James Xu, Yi Wang, Yifan Yu, Daniel Yan, Ryan Chen, Bosheng Dong, Vipin Chaudhary, Shuai Xu","doi":"arxiv-2402.01441","DOIUrl":"https://doi.org/arxiv-2402.01441","url":null,"abstract":"We propose the integration of sentiment analysis and deep-reinforcement\u0000learning ensemble algorithms for stock trading, and design a strategy capable\u0000of dynamically altering its employed agent given concurrent market sentiment.\u0000In particular, we create a simple-yet-effective method for extracting news\u0000sentiment and combine this with general improvements upon existing works,\u0000resulting in automated trading agents that effectively consider both\u0000qualitative market factors and quantitative stock data. We show that our\u0000approach results in a strategy that is profitable, robust, and risk-minimal --\u0000outperforming the traditional ensemble strategy as well as single agent\u0000algorithms and market metrics. Our findings determine that the conventional\u0000practice of switching ensemble agents every fixed-number of months is\u0000sub-optimal, and that a dynamic sentiment-based framework greatly unlocks\u0000additional performance within these agents. Furthermore, as we have designed\u0000our algorithm with simplicity and efficiency in mind, we hypothesize that the\u0000transition of our method from historical evaluation towards real-time trading\u0000with live data should be relatively simple.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-02-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139690179","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
ESG driven pairs algorithm for sustainable trading: Analysis from the Indian market ESG 驱动的可持续交易对算法:印度市场分析
Pub Date : 2024-01-26 DOI: arxiv-2401.14761
Eeshaan Dutta, Sarthak Diwan, Siddhartha P. Chakrabarty
This paper proposes an algorithmic trading framework integratingEnvironmental, Social, and Governance (ESG) ratings with a pairs tradingstrategy. It addresses the demand for socially responsible investment solutionsby developing a unique algorithm blending ESG data with methods for identifyingco-integrated stocks. This allows selecting profitable pairs adhering to ESGprinciples. Further, it incorporates technical indicators for optimal tradeexecution within this sustainability framework. Extensive back-testing providesevidence of the model's effectiveness, consistently generating positive returnsexceeding conventional pairs trading strategies, while upholding ESGprinciples. This paves the way for a transformative approach to algorithmictrading, offering insights for investors, policymakers, and academics.
本文提出了一种将环境、社会和治理(ESG)评级与配对交易策略相结合的算法交易框架。它通过开发一种独特的算法,将 ESG 数据与识别共同整合股票的方法相结合,满足了对社会责任投资解决方案的需求。这样就可以选择符合 ESG 原则的盈利股票对。此外,它还将技术指标纳入了这一可持续发展框架,以优化交易执行。广泛的回溯测试证明了该模型的有效性,在坚持 ESG 原则的前提下,该模型持续产生超越传统配对交易策略的正收益。这为算法交易的变革铺平了道路,为投资者、政策制定者和学术界提供了真知灼见。
{"title":"ESG driven pairs algorithm for sustainable trading: Analysis from the Indian market","authors":"Eeshaan Dutta, Sarthak Diwan, Siddhartha P. Chakrabarty","doi":"arxiv-2401.14761","DOIUrl":"https://doi.org/arxiv-2401.14761","url":null,"abstract":"This paper proposes an algorithmic trading framework integrating\u0000Environmental, Social, and Governance (ESG) ratings with a pairs trading\u0000strategy. It addresses the demand for socially responsible investment solutions\u0000by developing a unique algorithm blending ESG data with methods for identifying\u0000co-integrated stocks. This allows selecting profitable pairs adhering to ESG\u0000principles. Further, it incorporates technical indicators for optimal trade\u0000execution within this sustainability framework. Extensive back-testing provides\u0000evidence of the model's effectiveness, consistently generating positive returns\u0000exceeding conventional pairs trading strategies, while upholding ESG\u0000principles. This paves the way for a transformative approach to algorithmic\u0000trading, offering insights for investors, policymakers, and academics.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-01-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139580771","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
Stylized Facts and Market Microstructure: An In-Depth Exploration of German Bond Futures Market 风格化事实与市场微观结构:德国债券期货市场的深入探索
Pub Date : 2024-01-19 DOI: arxiv-2401.10722
Hamza Bodor, Laurent Carlier
This paper presents an in-depth analysis of stylized facts in the context offutures on German bonds. The study examines four futures contracts on Germanbonds: Schatz, Bobl, Bund and Buxl, using tick-by-tick limit order bookdatasets. It uncovers a range of stylized facts and empirical observations,including the distribution of order sizes, patterns of order flow, andinter-arrival times of orders. The findings reveal both commonalities andunique characteristics across the different futures, thereby enriching ourunderstanding of these markets. Furthermore, the paper introduces insightfulrealism metrics that can be used to benchmark market simulators. The studycontributes to the literature on financial stylized facts by extendingempirical observations to this class of assets, which has been relativelyunderexplored in existing research. This work provides valuable guidance forthe development of more accurate and realistic market simulators.
本文深入分析了德国债券期货的典型事实。研究考察了四种德国债券期货合约:使用逐笔限价订单簿数据集,对 Schatz、Bobl、Bund 和 Buxl 四种德国债券期货合约进行了研究。研究揭示了一系列典型事实和经验观察,包括订单规模分布、订单流动模式和订单到达时间。研究结果揭示了不同期货的共性和独特性,从而丰富了我们对这些市场的理解。此外,本文还介绍了可用于基准市场模拟器的具有洞察力的现实主义指标。该研究通过将经验观察扩展到这一类资产,为金融典型事实文献做出了贡献,而现有研究对这一类资产的探索相对不足。这项工作为开发更准确、更逼真的市场模拟器提供了宝贵的指导。
{"title":"Stylized Facts and Market Microstructure: An In-Depth Exploration of German Bond Futures Market","authors":"Hamza Bodor, Laurent Carlier","doi":"arxiv-2401.10722","DOIUrl":"https://doi.org/arxiv-2401.10722","url":null,"abstract":"This paper presents an in-depth analysis of stylized facts in the context of\u0000futures on German bonds. The study examines four futures contracts on German\u0000bonds: Schatz, Bobl, Bund and Buxl, using tick-by-tick limit order book\u0000datasets. It uncovers a range of stylized facts and empirical observations,\u0000including the distribution of order sizes, patterns of order flow, and\u0000inter-arrival times of orders. The findings reveal both commonalities and\u0000unique characteristics across the different futures, thereby enriching our\u0000understanding of these markets. Furthermore, the paper introduces insightful\u0000realism metrics that can be used to benchmark market simulators. The study\u0000contributes to the literature on financial stylized facts by extending\u0000empirical observations to this class of assets, which has been relatively\u0000underexplored in existing research. This work provides valuable guidance for\u0000the development of more accurate and realistic market simulators.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-01-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139515129","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
BioFinBERT: Finetuning Large Language Models (LLMs) to Analyze Sentiment of Press Releases and Financial Text Around Inflection Points of Biotech Stocks BioFinBERT:微调大型语言模型 (LLM),分析生物技术股拐点附近的新闻稿和金融文本情绪
Pub Date : 2024-01-19 DOI: arxiv-2401.11011
Valentina Aparicio, Daniel Gordon, Sebastian G. Huayamares, Yuhuai Luo
Large language models (LLMs) are deep learning algorithms being used toperform natural language processing tasks in various fields, from socialsciences to finance and biomedical sciences. Developing and training a new LLMcan be very computationally expensive, so it is becoming a common practice totake existing LLMs and finetune them with carefully curated datasets fordesired applications in different fields. Here, we present BioFinBERT, afinetuned LLM to perform financial sentiment analysis of public text associatedwith stocks of companies in the biotechnology sector. The stocks of biotechcompanies developing highly innovative and risky therapeutic drugs tend torespond very positively or negatively upon a successful or failed clinicalreadout or regulatory approval of their drug, respectively. These clinical orregulatory results are disclosed by the biotech companies via press releases,which are followed by a significant stock response in many cases. In ourattempt to design a LLM capable of analyzing the sentiment of these pressreleases,we first finetuned BioBERT, a biomedical language representation modeldesigned for biomedical text mining, using financial textual databases. Ourfinetuned model, termed BioFinBERT, was then used to perform financialsentiment analysis of various biotech-related press releases and financial textaround inflection points that significantly affected the price of biotechstocks.
大型语言模型(LLM)是一种深度学习算法,被用于执行从社会科学到金融和生物医学等各个领域的自然语言处理任务。开发和训练一个新的 LLM 的计算成本非常昂贵,因此,利用现有的 LLM 并通过精心策划的数据集对其进行微调以满足不同领域的应用需求正成为一种常见的做法。在此,我们介绍 BioFinBERT,这是一种经过调整的 LLM,用于对与生物技术领域公司股票相关的公开文本进行金融情感分析。开发高度创新和高风险治疗药物的生物技术公司的股票往往会在其药物临床试验成功或失败或获得监管部门批准后分别做出非常积极或消极的反应。这些临床或监管结果由生物技术公司通过新闻稿披露,在许多情况下,新闻稿发布后,股票会出现大幅反弹。为了设计一种能够分析这些新闻稿情感的 LLM,我们首先使用金融文本数据库对 BioBERT 进行了微调,这是一种专为生物医学文本挖掘设计的生物医学语言表示模型。经过微调的模型被称为 BioFinBERT,随后被用于对各种生物技术相关新闻稿和金融文本进行金融情感分析,这些分析围绕着对生物技术股票价格有重大影响的拐点展开。
{"title":"BioFinBERT: Finetuning Large Language Models (LLMs) to Analyze Sentiment of Press Releases and Financial Text Around Inflection Points of Biotech Stocks","authors":"Valentina Aparicio, Daniel Gordon, Sebastian G. Huayamares, Yuhuai Luo","doi":"arxiv-2401.11011","DOIUrl":"https://doi.org/arxiv-2401.11011","url":null,"abstract":"Large language models (LLMs) are deep learning algorithms being used to\u0000perform natural language processing tasks in various fields, from social\u0000sciences to finance and biomedical sciences. Developing and training a new LLM\u0000can be very computationally expensive, so it is becoming a common practice to\u0000take existing LLMs and finetune them with carefully curated datasets for\u0000desired applications in different fields. Here, we present BioFinBERT, a\u0000finetuned LLM to perform financial sentiment analysis of public text associated\u0000with stocks of companies in the biotechnology sector. The stocks of biotech\u0000companies developing highly innovative and risky therapeutic drugs tend to\u0000respond very positively or negatively upon a successful or failed clinical\u0000readout or regulatory approval of their drug, respectively. These clinical or\u0000regulatory results are disclosed by the biotech companies via press releases,\u0000which are followed by a significant stock response in many cases. In our\u0000attempt to design a LLM capable of analyzing the sentiment of these press\u0000releases,we first finetuned BioBERT, a biomedical language representation model\u0000designed for biomedical text mining, using financial textual databases. Our\u0000finetuned model, termed BioFinBERT, was then used to perform financial\u0000sentiment analysis of various biotech-related press releases and financial text\u0000around inflection points that significantly affected the price of biotech\u0000stocks.","PeriodicalId":501478,"journal":{"name":"arXiv - QuantFin - Trading and Market Microstructure","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2024-01-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139559728","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