Learning the dynamics of technical trading strategies

Authors: Nicholas Murphy, Tim Gebbie

Quantitative Finance (2021)
arXiv: 1903.02228v3 - DOI (q-fin.CP)
Submitted to arXiv on 06 Mar. 2019
Abstract

We use an adversarial expert based online learning algorithm to learn the optimal parameters required to maximise wealth trading zero-cost portfolio strategies. The learning algorithm is used to determine the relative population dynamics of technical trading strategies that can survive historical back-testing as well as form an overall aggregated portfolio trading strategy from the set of underlying trading strategies implemented on daily and intraday Johannesburg Stock Exchange data. The resulting population time-series are investigated using unsupervised learning for dimensionality reduction and visualisation. A key contribution is that the overall aggregated trading strategies are tested for statistical arbitrage using a novel hypothesis test proposed by Jarrow et al. (2012) on both daily sampled and intraday time-scales. The (low frequency) daily sampled strategies fail the arbitrage tests after costs, while the (high frequency) intraday sampled strategies are not falsified as statistical arbitrages after costs. The estimates of trading strategy success, cost of trading and slippage are considered along with an online benchmark portfolio algorithm for performance comparison. In addition, the algorithms generalisation error is analysed by recovering a probability of back-test overfitting estimate using a nonparametric procedure introduced by Bailey et al. (2016). The work aims to explore and better understand the interplay between different technical trading strategies from a data-informed perspective.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Another approach to the problem Cited by this paper Used in depth by this paper A method it uses
    Learning zero-cost portfolio selection with pattern matching
    Fayyaaz Loonat, Tim Gebbie · 2016 · PLoS ONE · cited 5 times · Not summarized yet

    Learning zero-cost portfolio selection uses adversarial expert learning and pattern matching on JSE daily and intraday data, extending the paper's trading framework.

    Abstract

    We replicate and extend the adversarial expert based learning approach of Györfi et al to the situation of zero-cost portfolio selection implemented with a quadratic approximation derived from the mutual fund separation theorems. The algorithm is applied to daily sampled sequential Open-High-Low-Close data and sequential intraday 5-minute bar-data from the Johannesburg Stock Exchange (JSE). Statistical tests of the algorithms are considered. The algorithms are directly compared to standard NYSE test cases from prior literature. The learning algorithm is used to select parameters for experts generated by pattern matching past dynamics using a simple nearest-neighbour search algorithm. It is s…

  2. Very close Same method, another problem Cites this paper
    Learning low-frequency temporal patterns for quantitative trading
    Joel Gabriel Da Costa, Tim Gebbie · 2020 · IEEE Symposium Series on Computational Intelligence · cited 2 times · Not summarized yet

    Learning low-frequency temporal patterns applies online machine learning to JSE daily financial time series rather than learning technical-strategy populations.

    Abstract

    We develop a modularised mechanistic online machine learning framework to learn signals in low-frequency financial time series data. The framework is proved on daily sampled closing time-series data from JSE equity markets. The input patterns are vectors of pre-processed sequences of daily, weekly and monthly or quarterly sampled feature changes. The data processing is split into a batch processed step where features are learnt using a stacked autoencoder via unsupervised learning, and then both batch and online supervised learning are carried out using these learnt features. The outputs are a vector of point predictions of measured time-series feature fluctuations. Weight initializations ar…

  3. Close Another approach to the problem Cited by this paper Used in depth by this paper A method it uses
    Can We Learn to Beat the Best Stock
    A. Borodin, Ran El-Yaniv, Vincent Gogan · 2003 · Neural Information Processing Systems · cited 280 times · Not summarized yet

    Can We Learn to Beat the Best Stock uses expert learning to trade stocks through predictable pairwise relations, rather than aggregating zero-cost technical strategies.

    Abstract

    A novel algorithm for actively trading stocks is presented. While traditional universal algorithms (and technical trading heuristics) attempt to predict winners or trends, our approach relies on predictable statistical relations between all pairs of stocks in the market. Our empirical results on historical markets provide strong evidence that this type of technical trading can "beat the market" and moreover, can beat the best stock in the market. In doing so we utilize a new idea for smoothing critical parameters in the context of expert learning.

  4. Close Broader context
    Intelligent Systematic Investment Agent: an ensemble of deep learning and evolutionary strategies
    Prasang Gupta, Shaz Hoda, Anand Rao · 2022 · Artificial Intelligence · preprint, not peer reviewed · AI summary available

    Intelligent Systematic Investment Agent combines evolutionary algorithms and deep learning for long-term investment planning, unlike the paper's technical trading strategy analysis.

    Abstract

    Machine learning driven trading strategies have garnered a lot of interest over the past few years. There is, however, limited consensus on the ideal approach for the development of such trading strategies. Further, most literature has focused on trading strategies for short-term trading, with little or no focus on strategies that attempt to build long-term wealth. Our paper proposes a new approach for developing long-term investment strategies using an ensemble of evolutionary algorithms and a deep learning model by taking a series of short-term purchase decisions. Our methodology focuses on building long-term wealth by improving systematic investment planning (SIP) decisions on Exchange Tr…

  5. Close Broader context
    Practical Deep Reinforcement Learning Approach for Stock Trading
    Xiao-Yang Liu, Zhuoran Xiong, Shan Zhong et al. · 2018 · Machine Learning · preprint, not peer reviewed · cited 204 times · AI summary available

    Practical Deep Reinforcement Learning Approach for Stock Trading optimizes daily stock trading with a reinforcement-learning agent rather than adversarial expert learning.

    Abstract

    Stock trading strategy plays a crucial role in investment companies. However, it is challenging to obtain optimal strategy in the complex and dynamic stock market. We explore the potential of deep reinforcement learning to optimize stock trading strategy and thus maximize investment return. 30 stocks are selected as our trading stocks and their daily prices are used as the training and trading market environment. We train a deep reinforcement learning agent and obtain an adaptive trading strategy. The agent's performance is evaluated and compared with Dow Jones Industrial Average and the traditional min-variance portfolio allocation strategy. The proposed deep reinforcement learning approach…

  6. Close Broader context
    Forecast-Integrated Trading Algorithms with Adaptive Risk Management: Multi-Asset Empirical Evaluation
    László Vancsura, Tibor Tatay, Tibor Bareith · 2026 · FinTech · cited 1 time · Not summarized yet

    Forecast-Integrated Trading Algorithms tests forecast-driven trading and adaptive risk management across asset classes and market regimes, rather than technical-strategy populations.

    Abstract

    Predictive accuracy is often treated as a sufficient condition for profitable algorithmic trading, yet whether machine learning forecasts translate into trading performance that holds up across different market regimes remains contested. This study develops and stress-tests a prediction-driven, dynamically optimized trading framework across twelve instruments spanning equities, commodities, foreign exchange, and cryptocurrencies, and three structurally distinct regimes: a calm market (2018), the COVID-19 crisis (2020), and the Russian–Ukrainian geopolitical shock (2022). Daily price forecasts from RNN, LSTM, GRU, and hybrid architectures feed a rule-based framework that opens long or short p…

  7. Close Broader context
    Trader-Company Method: A Metaheuristic for Interpretable Stock Price Prediction
    Katsuya Ito, Kentaro Minami, Kentaro Imajo et al. · 2020 · Trading and Market Microstructure · cited 16 times · AI summary available

    Trader-Company Method develops an interpretable metaheuristic for stock-price prediction, rather than evaluating zero-cost technical trading portfolios.

    Abstract

    Investors try to predict returns of financial assets to make successful investment. Many quantitative analysts have used machine learning-based methods to find unknown profitable market rules from large amounts of market data. However, there are several challenges in financial markets hindering practical applications of machine learning-based models. First, in financial markets, there is no single model that can consistently make accurate prediction because traders in markets quickly adapt to newly available information. Instead, there are a number of ephemeral and partially correct models called "alpha factors". Second, since financial markets are highly uncertain, ensuring interpretability…

  8. Close Broader context
    A Market-Aware Dynamic Trading Strategy Based on Unsupervised Clustering and Reinforcement Learning
    Yuan Zhuang · 2026 · Advances in Economics, Management and Political Sciences · Not summarized yet

    A Market-Aware Dynamic Trading Strategy combines clustering and reinforcement learning to make stock decisions under market conditions, unlike this paper's expert-learning approach.

    Abstract

    The complexity and dynamics of the stock market make traditional absolute price prediction models based on supervised learning face great risks and limitations in practical business applications. This report proposes an innovative Hybrid Deep Reinforcement Learning trading framework to shift the forecast target from stock prices to optimal trading decisions in specific market conditions. The dataset for this experiment comes from a Malaysian listed company, GAMUDA BHD, from 2000 to 2024 on the Kaggle platform, and builds a decision-making structure with three stages. Use the Gaussian Mixture Model, the long-term and short-term memory network, and finally the Deep Q-Network to train the intel…

Prior work it builds on

  1. Close* Broader context Used in depth by this paper
    Evidence-Based Technical Analysis: Applying the Scientific Method and Statistical Inference to Trading Signals
    David R. Aronson · 2006 · cited 92 times · Not summarized yet

    Evidence-Based Technical Analysis addresses statistical inference for trading signals, a broader methodological context for evaluating technical strategies.

  2. Related* Groundwork for this paper Used in depth by this paper A method it uses
    Automated trading with boosting and expert weighting
    G. Creamer, Y. Freund · 2010 · Quantitative Finance · cited 72 times · Not summarized yet

    Automated trading with boosting and expert weighting is cited among prior approaches to expert-based automated trading.

  3. Close Broader context
    A reinforcement learning extension to the Almgren-Chriss framework for optimal trade execution
    Dieter Hendricks, D. Wilcox · 2014 · IEEE Conference on Computational Intelligence for Financial Engineering & Economics · cited 85 times · Not summarized yet

    A reinforcement learning extension to the Almgren-Chriss framework optimizes execution costs, a narrower trading problem than selecting technical strategies.

    Abstract

    Reinforcement learning is explored as a candidate machine learning technique to enhance existing analytical solutions for optimal trade execution with elements from the market microstructure. Given a volume-to-trade, fixed time horizon and discrete trading periods, the aim is to adapt a given volume trajectory such that it is dynamic with respect to favourable/unfavourable conditions during realtime execution, thereby improving overall cost of trading. We consider the standard Almgren-Chriss model with linear price impact as a candidate base model. This model is popular amongst sell-side institutions as a basis for arrival price benchmark execution algorithms. By training a learning agent to…

  4. Related* Groundwork for this paper Used in depth by this paper A method it uses
    The probability of back-test over-fitting
    David H. Bailey, J. Borwein, Marcos M. López de Prado et al. · 2016 · cited 114 times · Not summarized yet

    The probability of back-test over-fitting supplies the nonparametric procedure the paper uses to estimate its strategies' back-test overfitting.

  5. Close Another approach to the problem
    Online Learning of Portfolio Ensembles with Sector Exposure Regularization
    Guy Uziel, Ran El-Yaniv · 2016 · arXiv.org · preprint, not peer reviewed · cited 2 times · Not summarized yet

    Online Learning of Portfolio Ensembles uses online convex optimization to allocate among portfolio algorithms, while this paper learns and aggregates technical strategies with adversarial experts.

    Abstract

    We consider online learning of ensembles of portfolio selection algorithms and aim to regularize risk by encouraging diversification with respect to a predefined risk-driven grouping of stocks. Our procedure uses online convex optimization to control capital allocation to underlying investment algorithms while encouraging non-sparsity over the given grouping. We prove a logarithmic regret for this procedure with respect to the best-in-hindsight ensemble. We applied the procedure with known mean-reversion portfolio selection algorithms using the standard GICS industry sector grouping. Empirical Experimental results showed an impressive percentage increase of risk-adjusted return (Sharpe ratio…

Papers that cite it

  1. Close Review
    Human-AI Synergy in Statistical Arbitrage: Enhancing Robustness Across Volatile Financial Markets
    Binxu Lei · 2026 · Risks · Not summarized yet

    Human-AI Synergy in Statistical Arbitrage reviews AI-based statistical arbitrage and proposes human oversight, while this paper tests strategies for statistical arbitrage.

    Abstract

    This study provides a structured review of statistical arbitrage research in the context of artificial intelligence, with a particular focus on machine learning based methods. The reviewed literature highlights the evolution from linear, rule-based strategies to increasingly complex data-driven models, while also documenting persistent challenges related to tail-risk exposure, regime instability, limited interpretability, and regulatory and governance constraints in practical applications. Building on this literature synthesis, the paper develops a conceptual AI-led, human-in-the-loop statistical arbitrage framework that integrates ML-generated signal modeling with structured human oversight…

  2. Related Builds on this paper
    A Framework for Online Investment Algorithms
    A. Paskaramoorthy, Terence L van Zyl, Tim Gebbie · 2020 · cited 10 times · Not summarized yet

    A Framework for Online Investment Algorithms cites this paper while presenting an integrated online workflow for algorithmic portfolio management.

    Abstract

    The artificial segmentation of an investment management process into a workflow with silos of offline human operators can restrict silos from collectively and adaptively pursuing a unified optimal investment goal. To meet the investor's objectives, an online algorithm can provide an explicit incremental approach that makes sequential updates as data arrives at the process level. This is in stark contrast to offline (or batch) processes that are focused on making component level decisions prior to process level integration. Here we present and report results for an integrated, and online framework for algorithmic portfolio management. This article provides a workflow that can in-turn be embed…

  3. Related Builds on this paper
    A framework for online investment decisions
    A. Paskaramoorthy, Tim Gebbie, Terence L van Zyl · 2020 · Investment Analysts Journal · cited 8 times · Not summarized yet

    A framework for online investment decisions cites this paper while proposing sequential online processing across investment workflows.

    Abstract

    ABSTRACT The artificial segmentation of the investment management process into silos of human operators can restrict silos from collectively and adaptively pursuing a unified investment goal. In this article, we argue that the investment process can be accelerated and be made more cohesive by replacing batch processing for component tasks of the investment process with online processing. We propose an integrated and online framework for investment workflows, where components produce outputs that are automatically and sequentially updated as new data arrives. The workflow can be further enhanced to refine signal generation and asset class evolution and definitions. Our results demonstrate tha…

  4. Related Broader context
    Comparing the market microstructure between two South African exchanges
    Ivan Jericevich, Patrick Chang, Tim Gebbie · 2020 · arXiv: Statistical Finance · preprint, not peer reviewed · cited 4 times · Not summarized yet

    Comparing the market microstructure between two South African exchanges studies liquidity and trading costs on the JSE and A2X, relevant to the paper's JSE setting.

    Abstract

    We consider shared listings on two South African equity exchanges: the Johannesburg Stock Exchange (JSE) and the A2X Exchange. A2X is an alternative exchange that provides for both shared listings and new listings within the financial market ecosystem of South Africa. From a science perspective it provides the opportunity to compare markets trading similar shares, in a similar regulatory and economic environment, but with vastly different liquidity, costs and business models. A2X currently has competitive settlement and transaction pricing when compared to the JSE, but the JSE has deeper liquidity. In pursuit of an empirical understanding of how these differences relate to their respective p…

  5. Related* Broader context
    Leveraging asymmetric price limits for financial stability in industrial applications: An agent-based model
    Xin-Hui Yang, Jie Zhang, Qing Ye et al. · 2025 · Computers in industry (Print) · cited 6 times · Not summarized yet

    Leveraging asymmetric price limits models financial stability in industrial applications, a neighbouring topic rather than technical-strategy learning.

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 6 November 2026.

The illustrated guide to the papers around a paper