https://arxiv.org/api/qsGmJodUGoUWtHGCQZE5yuzg6g42026-06-20T19:13:21Z226357015http://arxiv.org/abs/2407.13688v1Deep learning for quadratic hedging in incomplete jump market2024-06-12T09:45:35ZWe propose a deep learning approach to study the minimal variance pricing and hedging problem in an incomplete jump diffusion market. It is based upon a rigorous stochastic calculus derivation of the optimal hedging portfolio, optimal option price, and the corresponding equivalent martingale measure through the means of the Stackelberg game approach. A deep learning algorithm based on the combination of the feedforward and LSTM neural networks is tested on three different market models, two of which are incomplete. In contrast, the complete market Black-Scholes model serves as a benchmark for the algorithm's performance. The results that indicate the algorithm's good performance are presented and discussed.
In particular, we apply our results to the special incomplete market model studied by Merton and give a detailed comparison between our results based on the minimal variance principle and the results obtained by Merton based on a different pricing principle. Using deep learning, we find that the minimal variance principle leads to typically higher option prices than those deduced from the Merton principle. On the other hand, the minimal variance principle leads to lower losses than the Merton principle.2024-06-12T09:45:35ZDigit Finance (2024)Nacira AgramBernt ØksendalJan Rems10.1007/s42521-024-00112-5http://arxiv.org/abs/2406.08013v1Deep reinforcement learning with positional context for intraday trading2024-06-12T09:04:45ZDeep reinforcement learning (DRL) is a well-suited approach to financial decision-making, where an agent makes decisions based on its trading strategy developed from market observations. Existing DRL intraday trading strategies mainly use price-based features to construct the state space. They neglect the contextual information related to the position of the strategy, which is an important aspect given the sequential nature of intraday trading. In this study, we propose a novel DRL model for intraday trading that introduces positional features encapsulating the contextual information into its sparse state space. The model is evaluated over an extended period of almost a decade and across various assets including commodities and foreign exchange securities, taking transaction costs into account. The results show a notable performance in terms of profitability and risk-adjusted metrics. The feature importance results show that each feature incorporating contextual information contributes to the overall performance of the model. Additionally, through an exploration of the agent's intraday trading activity, we unveil patterns that substantiate the effectiveness of our proposed model.2024-06-12T09:04:45ZEvolving Systems, 2024Sven GolužaTomislav KovačevićTessa BaumanZvonko Kostanjčar10.1007/s12530-024-09593-6http://arxiv.org/abs/2407.13685v1Beyond Trend Following: Deep Learning for Market Trend Prediction2024-06-10T11:42:30ZTrend following and momentum investing are common strategies employed by asset managers. Even though they can be helpful in the proper situations, they are limited in the sense that they work just by looking at past, as if we were driving with our focus on the rearview mirror. In this paper, we advocate for the use of Artificial Intelligence and Machine Learning techniques to predict future market trends. These predictions, when done properly, can improve the performance of asset managers by increasing returns and reducing drawdowns.2024-06-10T11:42:30ZFernando BerzalAlberto Garciahttp://arxiv.org/abs/2406.19405v1Electricity Spot Prices Forecasting Using Stochastic Volatility Models2024-06-09T11:33:44ZThere are several approaches to modeling and forecasting time series as applied to prices of commodities and financial assets. One of the approaches is to model the price as a non-stationary time series process with heteroscedastic volatility (variance of price). The goal of the research is to generate probabilistic forecasts of day-ahead electricity prices in a spot marker employing stochastic volatility models. A typical stochastic volatility model - that treats the volatility as a latent stochastic process in discrete time - is explored first. Then the research focuses on enriching the baseline model by introducing several exogenous regressors. A better fitting model - as compared to the baseline model - is derived as a result of the research. Out-of-sample forecasts confirm the applicability and robustness of the enriched model. This model may be used in financial derivative instruments for hedging the risk associated with electricity trading. Keywords: Electricity spot prices forecasting, Stochastic volatility, Exogenous regressors, Autoregression, Bayesian inference, Stan2024-06-09T11:33:44ZMaster's thesis, 55 pages, 30 figures, 10 tables, 2 algorithmsAndrei Renatovich Batyrovhttp://arxiv.org/abs/2406.04969v1An Algebraic Framework for the Modeling of Limit Order Books2024-06-07T14:33:57ZIntroducing an algebraic framework for modeling limit order books (LOBs) with tools from physics and stochastic processes, our proposed framework captures the creation and annihilation of orders, order matching, and the time evolution of the LOB state. It also enables compositional settings, accommodating the interaction of heterogeneous traders and different market structures. We employ Dirac notation and generalized generating functions to describe the state space and dynamics of LOBs. The utility of this framework is shown through simulations of simplified market scenarios, illustrating how variations in trader behavior impact key market observables such as spread, return volatility, and liquidity. The algebraic representation allows for exact simulations using the Gillespie algorithm, providing a robust tool for exploring the implications of market design and policy changes on LOB dynamics. Future research can expand this framework to incorporate more complex order types, adaptive event rates, and multi-asset trading environments, offering deeper insights into market microstructure and trader behavior and estimation of key drivers for market microstructure dynamics.2024-06-07T14:33:57ZJohannes BleherMichael Bleherhttp://arxiv.org/abs/2405.18936v2Optimizing Broker Performance Evaluation through Intraday Modeling of Execution Cost2024-06-04T14:57:01ZMinimizing execution costs for large orders is a fundamental challenge in finance. Firms often depend on brokers to manage their trades due to limited internal resources for optimizing trading strategies. This paper presents a methodology for evaluating the effectiveness of broker execution algorithms using trading data. We focus on two primary cost components: a linear cost that quantifies short-term execution quality and a quadratic cost associated with the price impact of trades. Using a model with transient price impact, we derive analytical formulas for estimating these costs. Furthermore, we enhance estimation accuracy by introducing novel methods such as weighting price changes based on their expected impact content. Our results demonstrate substantial improvements in estimating both linear and impact costs, providing a robust and efficient framework for selecting the most cost-effective brokers.2024-05-29T09:41:31Z15 pages, 4 figures, 2 tablesZoltan EislerJohannes Muhle-Karbehttp://arxiv.org/abs/2405.18938v3HLOB -- Information Persistence and Structure in Limit Order Books2024-06-04T10:42:46ZWe introduce a novel large-scale deep learning model for Limit Order Book mid-price changes forecasting, and we name it `HLOB'. This architecture (i) exploits the information encoded by an Information Filtering Network, namely the Triangulated Maximally Filtered Graph, to unveil deeper and non-trivial dependency structures among volume levels; and (ii) guarantees deterministic design choices to handle the complexity of the underlying system by drawing inspiration from the groundbreaking class of Homological Convolutional Neural Networks. We test our model against 9 state-of-the-art deep learning alternatives on 3 real-world Limit Order Book datasets, each including 15 stocks traded on the NASDAQ exchange, and we systematically characterize the scenarios where HLOB outperforms state-of-the-art architectures. Our approach sheds new light on the spatial distribution of information in Limit Order Books and on its degradation over increasing prediction horizons, narrowing the gap between microstructural modeling and deep learning-based forecasting in high-frequency financial markets.2024-05-29T09:46:44Z34 pages, 7 figures, 7 tables, 3 equationsAntonio BriolaSilvia BartolucciTomaso Astehttp://arxiv.org/abs/2403.09267v4Deep Limit Order Book Forecasting2024-06-04T07:05:33ZWe exploit cutting-edge deep learning methodologies to explore the predictability of high-frequency Limit Order Book mid-price changes for a heterogeneous set of stocks traded on the NASDAQ exchange. In so doing, we release `LOBFrame', an open-source code base to efficiently process large-scale Limit Order Book data and quantitatively assess state-of-the-art deep learning models' forecasting capabilities. Our results are twofold. We demonstrate that the stocks' microstructural characteristics influence the efficacy of deep learning methods and that their high forecasting power does not necessarily correspond to actionable trading signals. We argue that traditional machine learning metrics fail to adequately assess the quality of forecasts in the Limit Order Book context. As an alternative, we propose an innovative operational framework that evaluates predictions' practicality by focusing on the probability of accurately forecasting complete transactions. This work offers academics and practitioners an avenue to make informed and robust decisions on the application of deep learning techniques, their scope and limitations, effectively exploiting emergent statistical properties of the Limit Order Book.2024-03-14T10:44:10Z43 pages, 14 figures, 12 TablesAntonio BriolaSilvia BartolucciTomaso Astehttp://arxiv.org/abs/2407.01577v1MOT: A Mixture of Actors Reinforcement Learning Method by Optimal Transport for Algorithmic Trading2024-06-03T01:42:52ZAlgorithmic trading refers to executing buy and sell orders for specific assets based on automatically identified trading opportunities. Strategies based on reinforcement learning (RL) have demonstrated remarkable capabilities in addressing algorithmic trading problems. However, the trading patterns differ among market conditions due to shifted distribution data. Ignoring multiple patterns in the data will undermine the performance of RL. In this paper, we propose MOT,which designs multiple actors with disentangled representation learning to model the different patterns of the market. Furthermore, we incorporate the Optimal Transport (OT) algorithm to allocate samples to the appropriate actor by introducing a regularization loss term. Additionally, we propose Pretrain Module to facilitate imitation learning by aligning the outputs of actors with expert strategy and better balance the exploration and exploitation of RL. Experimental results on real futures market data demonstrate that MOT exhibits excellent profit capabilities while balancing risks. Ablation studies validate the effectiveness of the components of MOT.2024-06-03T01:42:52Z13 pages, 5 figures, PAKDD2024 acceptedXi ChengJinghao ZhangYunan ZengWenfang Xue10.1007/978-981-97-2238-9_3http://arxiv.org/abs/2405.18594v1A Novel Approach to Queue-Reactive Models: The Importance of Order Sizes2024-05-28T21:14:33ZIn this article, we delve into the applications and extensions of the queue-reactive model for the simulation of limit order books. Our approach emphasizes the importance of order sizes, in conjunction with their type and arrival rate, by integrating the current state of the order book to determine, not only the intensity of order arrivals and their type, but also their sizes. These extensions generate simulated markets that are in line with numerous stylized facts of the market. Our empirical calibration, using futures on German bonds, reveals that the extended queue-reactive model significantly improves the description of order flow properties and the shape of queue distributions. Moreover, our findings demonstrate that the extended model produces simulated markets with a volatility comparable to historical real data, utilizing only endogenous information from the limit order book. This research underscores the potential of the queue-reactive model and its extensions in accurately simulating market dynamics and providing valuable insights into the complex nature of limit order book modeling.2024-05-28T21:14:33ZHamza BodorLaurent Carlierhttp://arxiv.org/abs/2208.06046v5Automated Market Making and Loss-Versus-Rebalancing2024-05-27T19:16:04ZWe consider the market microstructure of automated market makers (AMMs) from the perspective of liquidity providers (LPs). Our central contribution is a ``Black-Scholes formula for AMMs''. We identify the main adverse selection cost incurred by LPs, which we call ``loss-versus-rebalancing'' (LVR, pronounced ``lever''). LVR captures costs incurred by AMM LPs due to stale prices that are picked off by better informed arbitrageurs. We derive closed-form expressions for LVR applicable to all automated market makers. Our model is quantitatively realistic, matching actual LP returns empirically, and shows how CFMM protocols can be redesigned to reduce or eliminate LVR.2022-08-11T21:33:57Z63 pages, 7 figuresJason MilionisCiamac C. MoallemiTim RoughgardenAnthony Lee Zhanghttp://arxiv.org/abs/2405.14767v2FinRobot: An Open-Source AI Agent Platform for Financial Applications using Large Language Models2024-05-27T12:43:42ZAs financial institutions and professionals increasingly incorporate Large Language Models (LLMs) into their workflows, substantial barriers, including proprietary data and specialized knowledge, persist between the finance sector and the AI community. These challenges impede the AI community's ability to enhance financial tasks effectively. Acknowledging financial analysis's critical role, we aim to devise financial-specialized LLM-based toolchains and democratize access to them through open-source initiatives, promoting wider AI adoption in financial decision-making. In this paper, we introduce FinRobot, a novel open-source AI agent platform supporting multiple financially specialized AI agents, each powered by LLM. Specifically, the platform consists of four major layers: 1) the Financial AI Agents layer that formulates Financial Chain-of-Thought (CoT) by breaking sophisticated financial problems down into logical sequences; 2) the Financial LLM Algorithms layer dynamically configures appropriate model application strategies for specific tasks; 3) the LLMOps and DataOps layer produces accurate models by applying training/fine-tuning techniques and using task-relevant data; 4) the Multi-source LLM Foundation Models layer that integrates various LLMs and enables the above layers to access them directly. Finally, FinRobot provides hands-on for both professional-grade analysts and laypersons to utilize powerful AI techniques for advanced financial analysis. We open-source FinRobot at \url{https://github.com/AI4Finance-Foundation/FinRobot}.2024-05-23T16:35:20ZFinRobot Whitepaper V1.0Hongyang YangBoyu ZhangNeng WangCheng GuoXiaoli ZhangLikun LinJunlin WangTianyu ZhouMao GuanRunjia ZhangChristina Dan Wanghttp://arxiv.org/abs/2405.00537v2Quantifying Price Improvement in Order Flow Auctions2024-05-24T13:33:52ZThis work introduces a framework for evaluating onchain order flow auctions (OFAs), emphasizing the metric of price improvement. Utilizing a set of open-source tools, our methodology systematically attributes price improvements to specific modifiable inputs of the system such as routing efficiency, gas optimization, and priority fee settings. When applied to leading Ethereum-based trading interfaces such as 1Inch and Uniswap, the results reveal that auction-enhanced interfaces can provide statistically significant improvements in trading outcomes, averaging 4-5 basis points in our sample. We further identify the sources of such price improvements to be added liquidity for large swaps. This research lays a foundation for future innovations in blockchain based trading platforms.2024-05-01T14:19:30ZBrad BachuXin WanCiamac C. Moallemihttp://arxiv.org/abs/2405.14418v1Continuous-time Equilibrium Returns in Markets with Price Impact and Transaction Costs2024-05-23T10:39:32ZWe consider an Ito-financial market at which the risky assets' returns are derived endogenously through a market-clearing condition amongst heterogeneous risk-averse investors with quadratic preferences and random endowments. Investors act strategically by taking into account the impact that their orders have on the assets' drift. A frictionless market and an one with quadratic transaction costs are analysed and compared. In the former, we derive the unique Nash equilibrium at which investors' demand processes reveal different hedging needs than their true ones, resulting in a deviation of the Nash equilibrium from its competitive counterpart. Under price impact and transaction costs, we characterize the Nash equilibrium as the (unique) solution of a system of FBSDEs and derive its closed-form expression. We furthermore show that under common risk aversion and absence of noise traders, transaction costs do not change the equilibrium returns. On the contrary, when noise traders are present, the effect of transaction costs on equilibrium returns is amplified due to price impact.2024-05-23T10:39:32Z30 pages, no figuresMichail AnthropelosConstantinos Stefanakishttp://arxiv.org/abs/2405.14262v1Unlocking Profit Potential: Maximizing Returns with Bayesian Optimization of Supertrend Indicator Parameters2024-05-23T07:41:40ZThis paper investigates the potential of Bayesian optimization (BO) to optimize the atr multiplier and atr period -the parameters of the Supertrend indicator for maximizing trading profits across diverse stock datasets. By employing BO, the thesis aims to automate the identification of optimal parameter settings, leading to a more data-driven and potentially more profitable trading strategy compared to relying on manually chosen parameters. The effectiveness of the BO-optimized Supertrend strategy will be evaluated through backtesting on a variety of stock datasets.2024-05-23T07:41:40ZSubmited as thesis : 13 pages, 7 figuresAbdul Rahman