IDEAS home Printed from https://ideas.repec.org/a/gam/jforec/v8y2026i2p34-d1924171.html

Leakage-Controlled Horizon-Specific Model Selection for Daily Equity Forecasting: An Automated Multi-Model Pipeline

Author

Listed:
  • Francisco Augusto Nuñez Perez

    (Universidad Politécnica de Lázaro Cárdenas, Lázaro Cárdenas 60998, Mexico)

  • Francisco Javier Aguilar Mosqueda

    (Universidad Politécnica de Lázaro Cárdenas, Lázaro Cárdenas 60998, Mexico)

  • Adrian Ramos Cuevas

    (Universidad Politécnica de Lázaro Cárdenas, Lázaro Cárdenas 60998, Mexico)

  • Jaqueline Muñoz Beltran

    (Universidad Politécnica de Lázaro Cárdenas, Lázaro Cárdenas 60998, Mexico)

  • Jose Cruz Nuñez Perez

    (Centro de Investigación y Desarrollo de Tecnología Digital (CITEDI), Instituto Politécnico Nacional, Av. Instituto Politécnico Nacional No. 1310, Tijuana 22435, Mexico)

Abstract

Short-horizon equity forecasting remains challenging because daily prices are noisy, heavy-tailed, and subject to structural breaks and regime shifts. We develop a fully automated, reproducible, and leakage-controlled multi-model pipeline for daily forecasting with horizon-specific configuration selection. The task is formulated as predicting cumulative H -day log-returns from OHLCV-derived information and converting them to implied price forecasts. All model families share a homologated design: causal feature construction, a strictly chronological split with an explicit purging rule to prevent label-window overlap for multi-day targets, training-only robustification (winsorization and adaptive clipping), and a unified metric suite computed consistently in return and price spaces. The framework benchmarks transparent baselines (zero- and mean-return), gradient-boosted trees (XGBoost), and deep temporal models (LSTM and CNN/TCN). Lookback length L ∈ { 60 , 180 , 500 } is selected via an internal walk-forward procedure on the pre-evaluation block, and final performance is reported on an external hold-out segment (last 15% of instances). Experiments on daily data for MT, DELL, and the S&P 500 index (through 3 February 2026) show that all families achieve similarly strong price-level fit at H = 1 , largely driven by persistence in the price process, while separation across families becomes more visible at H = 5 . However, predictive performance in return space remains weak, with R 2 close to zero or negative, and Diebold–Mariano tests do not provide consistent evidence of statistical superiority over naive benchmarks. Under an operational rule that minimizes hold-out RMSE on the price scale, selected models are asset- and horizon-dependent, supporting horizon-wise selection rather than a single global architecture. Overall, the primary contribution lies in the proposed leakage-controlled evaluation and benchmarking framework rather than in demonstrating consistent predictive gains in financial time series forecasting.

Suggested Citation

  • Francisco Augusto Nuñez Perez & Francisco Javier Aguilar Mosqueda & Adrian Ramos Cuevas & Jaqueline Muñoz Beltran & Jose Cruz Nuñez Perez, 2026. "Leakage-Controlled Horizon-Specific Model Selection for Daily Equity Forecasting: An Automated Multi-Model Pipeline," Forecasting, MDPI, vol. 8(2), pages 1-35, April.
  • Handle: RePEc:gam:jforec:v:8:y:2026:i:2:p:34-:d:1924171
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2571-9394/8/2/34/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2571-9394/8/2/34/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jforec:v:8:y:2026:i:2:p:34-:d:1924171. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.