https://arxiv.org/api/1wzZ8C2BUbljAqNZCXKnN8ArZ4g2026-06-20T10:42:05Z226345015http://arxiv.org/abs/2412.18405v1Generalized Mean Absolute Directional Loss as a Solution to Overfitting and High Transaction Costs in Machine Learning Models Used in High-Frequency Algorithmic Investment Strategies2024-12-24T12:51:40ZRegardless of the selected asset class and the level of model complexity (Transformer versus LSTM versus Perceptron/RNN), the GMADL loss function produces superior results than standard MSE-type loss functions and has better numerical properties in the context of optimization than MADL. Better results mean the possibility of achieving a higher risk-weighted return based on buy and sell signals built on forecasts generated by a given theoretical model estimated using the GMADL versus MSE or MADL function. In practice, GMADL solves the problem of selecting the most preferable feature in both classification and regression problems, improving the performance of each estimation. What is important is that, through additional parameterization, GMADL also solves the problem of optimizing investment systems on high-frequency data in such a way that they focus on strategy variants that contain fewer transactions so that transaction costs do not reduce the effectiveness of a given strategy to zero. Moreover, the implementation leverages state-of-the-art machine learning tools, including frameworks for hyperparameter tuning, architecture testing, and walk-forward optimization, ensuring robust and scalable solutions for real-world algorithmic trading.2024-12-24T12:51:40Z8 pages, 4 figuresJakub MichańkówPaweł SakowskiRobert Ślepaczukhttp://arxiv.org/abs/2412.14361v2Refining and Robust Backtesting of A Century of Profitable Industry Trends2024-12-20T18:44:20ZWe revisit the long-only trend-following strategy presented in A Century of Profitable Industry Trends by Zarattini and Antonacci, which achieved exceptional historical performance with an 18.2% annualized return and a Sharpe Ratio of 1.39. While the results outperformed benchmarks, practical implementation raises concerns about robustness and evolving market conditions. This study explores modifications addressing reliance on T-bills, alternative fallback allocations, and industry exclusions. Despite attempts to enhance adaptability through momentum signals, parameter optimization, and Walk-Forward Analysis, results reveal persistent challenges. The results highlight challenges in adapting historical strategies to modern markets and offer insights for future trend-following frameworks.2024-12-18T21:57:08ZAlessandro MassaadRene MoawadOumaima Nijad FaresSahaphon Vairungrojhttp://arxiv.org/abs/2412.15959v1Battery valuation on electricity intraday markets with liquidity costs2024-12-20T14:52:51ZIn this paper, we propose a complete modelling framework to value several batteries in the electricity intraday market at the trading session scale. The model consists of a stochastic model for the 24 mid-prices (one price per delivery hour) combined with a deterministic model for the liquidity costs (representing the cost of going deeper in the order book). A stochastic optimisation framework based on dynamic programming is used to calculate the value of the batteries. We carry out a back test for the years 2021, 2022 and 2023 for the German market and for the French market. We show that it is essential to take liquidity into account, especially when the number of batteries is large: it allows much higher profits and avoids high losses using our liquidity model. The use of our stochastic model for the mid-price also significantly improves the results (compared to a deterministic framework where the mid-price forecast is the spot price).2024-12-20T14:52:51ZEnzo CognévilleThomas DeschatreXavier Warinhttp://arxiv.org/abs/2412.13311v1Productivity of Short Term Assets as a Signal of Future Stock Performance2024-12-17T20:26:51ZThis paper investigates cash productivity as a signal for future stock performance, building on the cash-return framework of Faulkender and Wang (2006). Using financial and market data from WRDS, we calculate cash returns as a proxy for operational efficiency and evaluate a long-only strategy applied to Nasdaq-listed non-financial firms. Results show limited predictive power across the broader Nasdaq universe but strong performance in a handpicked portfolio, which achieves significant positive alpha after controlling for the Fama-French three factors. These findings underscore the importance of refined universe selection. While promising, the strategy requires further validation, including the incorporation of transaction costs and performance testing across economic cycles. Our results suggest that cash productivity, when combined with other complementary signals and careful universe selection, can be a valuable tool for generating excess returns.2024-12-17T20:26:51ZVeer VohraDevyani VijJehil MehtaArman Ozcanhttp://arxiv.org/abs/2306.00621v3Optimal execution and speculation with trade signals2024-12-17T18:36:20ZWe propose a price impact model where changes in prices are purely driven by the order flow in the market. The stochastic price impact of market orders and the arrival rates of limit and market orders are functions of the market liquidity process which reflects the balance of the demand and supply of liquidity. Limit and market orders mutually excite each other so that liquidity is mean reverting. We use the theory of Meyer-$σ$-fields to introduce a short-term signal process from which a trader learns about imminent changes in order flow. Her trades impact the market through the same mechanism as other orders. With a novel version of Marcus-type SDEs we efficiently describe the intricate timing of market dynamics at moments when her orders concur with that of others. In this setting, we examine an optimal execution problem and derive the Hamilton--Jacobi--Bellman (HJB) equation for the value function of the trader. The HJB equation is solved numerically and we illustrate how the trader uses the signals to enhance the performance of execution problems and to execute speculative strategies.2023-06-01T12:45:01ZPeter BankÁlvaro CarteaLaura Körberhttp://arxiv.org/abs/2412.12458v1An Application of the Ornstein-Uhlenbeck Process to Pairs Trading2024-12-17T01:42:50ZWe conduct a preliminary analysis of a pairs trading strategy using the Ornstein-Uhlenbeck (OU) process to model stock price spreads. We compare this approach to a naive pairs trading strategy that uses a rolling window to calculate mean and standard deviation parameters. Our findings suggest that the OU model captures signals and trends effectively but underperforms the naive model on a risk-return basis, likely due to non-stationary pairs and parameter tuning limitations.2024-12-17T01:42:50ZJirat SuchatoSean WiryadiDanran ChenAva ZhaoMichael Yuehttp://arxiv.org/abs/2412.12350v1A multi-factor market-neutral investment strategy for New York Stock Exchange equities2024-12-16T20:42:32ZThis report presents a systematic market-neutral, multi-factor investment strategy for New York Stock Exchange equities with the objective of delivering steady returns while minimizing correlation with the market. A robust feature set is integrated combining momentum-based indicators, fundamental factors, and analyst recommendations. Using various statistical tests for feature selection, the strategy identifies key drivers of equity performance and ranks stocks to build a balanced portfolio of long and short positions. Portfolio construction methods, including equally weighted, risk parity, and minimum variance beta-neutral approaches, were evaluated through rigorous backtesting. Risk parity demonstrated superior performance with a higher Sharpe ratio, lower beta, and smaller maximum drawdown compared to the Standard and Poor's 500 index. Risk parity's market neutrality, combined with its ability to maintain steady returns and mitigate large drawdowns, makes it a suitable approach for managing significant capital in equity markets.2024-12-16T20:42:32Z14 pages, 6 FiguresGeorgios M. GkolemisAdwin Richie LeeAmine Roudanihttp://arxiv.org/abs/2501.16331v1Decoding OTC Government Bond Market Liquidity: An ABM Model for Market Dynamics2024-12-15T11:22:25ZThe over-the-counter (OTC) government bond markets are characterised by their bilateral trading structures, which pose unique challenges to understanding and ensuring market stability and liquidity. In this paper, we develop a bespoke ABM that simulates market-maker interactions within a stylised government bond market. The model focuses on the dynamics of liquidity and stability in the secondary trading of government bonds, particularly in concentrated markets like those found in Australia and the UK. Through this simulation, we test key hypotheses around improving market stability, focusing on the effects of agent diversity, business costs, and client base size. We demonstrate that greater agent diversity enhances market liquidity and that reducing the costs of market-making can improve overall market stability. The model offers insights into computational finance by simulating trading without price transparency, highlighting how micro-structural elements can affect macro-level market outcomes. This research contributes to the evolving field of computational finance by employing computational intelligence techniques to better understand the fundamental mechanics of government bond markets, providing actionable insights for both academics and practitioners.2024-12-15T11:22:25Z7 pagesAlicia VidlerToby Walshhttp://arxiv.org/abs/2412.12199v1Stochastic Gradient Descent in the Optimal Control of Execution Costs2024-12-14T19:54:59ZBertsimas and Lo's seminal work laid the groundwork for addressing the implementation shortfall dilemma in institutional investing, emphasizing the significance of market microstructure and price dynamics in minimizing execution costs. However, the ability to derive a theoretical Optimum market order policy is an unrealistic assumption for many investors. This study aims to bridge this gap by proposing an approach that leverages stochastic gradient descent (SGD) to derive alternative solutions for optimizing execution cost policies in dynamic markets where explicit mathematical solutions may not yet exist. The proposed methodology assumes the existence of a mathematically derived optimal solution that is a function of the underlying market dynamics. By iteratively refining strategies using SGD, economists can adapt their approaches over time based on evolving execution strategies. While these SGD-based solutions may not achieve optimality, they offer valuable insights into optimizing policies under complex market frameworks. These results serve as a bridge for economists and mathematicians, facilitating the study of the Optimum policy volatile markets while offering SGD driven implementable policies that closely approximate optimal outcomes within shorter time frames.2024-12-14T19:54:59ZSimeon Kolevhttp://arxiv.org/abs/2412.10947v1Auto-Regressive Control of Execution Costs2024-12-14T19:52:58ZBertsimas and Lo's seminal work established a foundational framework for addressing the implementation shortfall dilemma faced by large institutional investors. Their models emphasized the critical role of accurate knowledge of market microstructure and price/information dynamics in optimizing trades to minimize execution costs. However, this paper recognizes that perfect initial knowledge may not be a realistic assumption for new investors entering the market. Therefore, this study aims to bridge this gap by proposing an approach that iteratively derives OLS estimates of the market parameters from period to period. This methodology enables uninformed investors to engage in the market dynamically, adjusting their strategies over time based on evolving estimates, thus offering a practical solution for navigating the complexities of execution cost optimization without perfect initial knowledge.2024-12-14T19:52:58ZSimeon Kolevhttp://arxiv.org/abs/2005.10568v4Detecting discrete processes with the Epps effect2024-12-12T13:01:53ZThe Epps effect is key phenomenology relating to high frequency correlation dynamics in financial markets. We argue that it can be used to provide insight into whether tick data is best represented as samples from Brownian diffusions, or as samples from truly discrete events represented as connected point processes. We derive the Epps effect arising from asynchrony and provide a refined method to correct for the effect. We then propose three experiments which show how to discriminate between possible underlying representations. These in turn demonstrate how a simple Hawkes representation recovers phenomenology reported in the literature that cannot be recovered using a Brownian representation without additional ad hoc model complexity. However, complex ad hoc noise models built on Brownian motions cannot in general be discriminated relative to a Hawkes representation. Nevertheless, we argue that high frequency correlation dynamics are most faithfully recovered when tick data is represented as a web of interconnected discrete events rather than being samples from continuous Brownian diffusions even when combined with noise.2020-05-21T11:03:40ZUpdated with enhanced discussion and context. 18 pages, 28 figures, 1 table. Link to our supporting Julia code: https://github.com/CHNPAT005/PCEPTG-ECFrontiers of Mathematical Finance 2025Patrick ChangEtienne PienaarTim Gebbie10.3934/fmf.2025002http://arxiv.org/abs/2412.08624v1Efficient and Verified Continuous Double Auctions2024-12-11T18:44:37ZContinuous double auctions are commonly used to match orders at currency, stock, and commodities exchanges. A verified implementation of continuous double auctions is a useful tool for market regulators as they give rise to automated checkers that are guaranteed to detect errors in the trade logs of an existing exchange if they contain trades that violate the matching rules. We provide an efficient and formally verified implementation of continuous double auctions that takes $O(n \log n)$ time to match $n$ orders. This improves an earlier $O(n^2)$ verified implementation. We also prove a matching $Ω(n\log n)$ lower bound on the running time for continuous double auctions. Our new implementation takes only a couple of minutes to run on ten million randomly generated orders as opposed to a few days taken by the earlier implementation. Our new implementation gives rise to an efficient automatic checker.
We use the Coq proof assistant for verifying our implementation and extracting a verified OCaml program. While using Coq's standard library implementation of red-black trees to obtain our improvement, we observed that its specification has serious gaps, which we fill in this work; this might be of independent interest.2024-12-11T18:44:37Z16 pages, appeared in LPAR Complementary Volume 2024Mohit GargSuneel Sarswathttp://arxiv.org/abs/2407.16103v2Reinforcement Learning Pair Trading: A Dynamic Scaling approach2024-12-11T03:22:20ZCryptocurrency is a cryptography-based digital asset with extremely volatile prices. Around USD 70 billion worth of cryptocurrency is traded daily on exchanges. Trading cryptocurrency is difficult due to the inherent volatility of the crypto market. This study investigates whether Reinforcement Learning (RL) can enhance decision-making in cryptocurrency algorithmic trading compared to traditional methods. In order to address this question, we combined reinforcement learning with a statistical arbitrage trading technique, pair trading, which exploits the price difference between statistically correlated assets. We constructed RL environments and trained RL agents to determine when and how to trade pairs of cryptocurrencies. We developed new reward shaping and observation/action spaces for reinforcement learning. We performed experiments with the developed reinforcement learner on pairs of BTC-GBP and BTC-EUR data separated by 1 min intervals (n=263,520). The traditional non-RL pair trading technique achieved an annualized profit of 8.33%, while the proposed RL-based pair trading technique achieved annualized profits from 9.94% to 31.53%, depending upon the RL learner. Our results show that RL can significantly outperform manual and traditional pair trading techniques when applied to volatile markets such as~cryptocurrencies.2024-07-23T00:16:27ZHongshen YangAvinash Malik10.3390/jrfm17120555http://arxiv.org/abs/2412.07688v1A Joint Energy and Differentially-Private Smart Meter Data Market2024-12-10T17:25:14ZGiven the vital role that smart meter data could play in handling uncertainty in energy markets, data markets have been proposed as a means to enable increased data access. However, most extant literature considers energy markets and data markets separately, which ignores the interdependence between them. In addition, existing data market frameworks rely on a trusted entity to clear the market. This paper proposes a joint energy and data market focusing on the day-ahead retailer energy procurement problem with uncertain demand. The retailer can purchase differentially-private smart meter data from consumers to reduce uncertainty. The problem is modelled as an integrated forecasting and optimisation problem providing a means of valuing data directly rather than valuing forecasts or forecast accuracy. Value is determined by the Wasserstein distance, enabling privacy to be preserved during the valuation and procurement process. The value of joint energy and data clearing is highlighted through numerical case studies using both synthetic and real smart meter data.2024-12-10T17:25:14Z10 pages, 4 figuresSaurab ChhachhiFei Tenghttp://arxiv.org/abs/2412.07461v1A theory of passive market impact2024-12-10T12:30:27ZWhile the market impact of aggressive orders has been extensively studied, the impact of passive orders, those executed through limit orders, remains less understood. The goal of this paper is to investigate passive market impact by developing a microstructure model connecting liquidity dynamics and price moves. A key innovation of our approach is to replace the traditional assumption of constant information content for each trade by a function that depends on the available volume in the limit order book. Within this framework, we explore scaling limits and analyze the market impact of passive metaorders. Additionally, we derive useful approximations for the shape of market impact curves, leading to closed-form formulas that can be easily applied in practice.2024-12-10T12:30:27ZYoussef Ouazzani ChahdiMathieu RosenbaumGrégoire Szymanski