IDEAS home Printed from https://ideas.repec.org/p/osk/wpaper/2606.html

A Search-Then-Forecast Transformer Framework for Mid-Term Stock Price Prediction: An Empirical Case Study on the Chinese A-Share Market

Author

Listed:
  • LIU JIENI

    (Graduate School of Economics, The University of Osaka)

Abstract

This paper proposes a search-then-forecast framework for mid-term (20-trading-day) stock price forecasting and evaluates it on Chinese A-share data. The framework combines a multi-distance voting-based similar-stock search for sample augmentation, a sample-level PCA–ICA feature reconstruction, and a Transformer encoder–decoder whose decoder is initialised at inference with the single-step return at the end of the observation window rather than the conventional zero-padding. Using Luoyang Molybdenum (stock code 603993) from the SSE 180 pool as a single-stock case study, we compare six configurations—TransE, TransED (nhead = 3 and 6), BiLSTM, ARMAGARCH, and a TransED-Embed ablation—across ten observation window lengths, and introduce two baseline-referenced metrics, R2 hist and MASEnaive, to address the limited interpretability of standard R2 and MASE on non-stationary financial series. ARMAGARCH attains the lowest root mean squared error (RMSE) across all tested windows, outperforming the best deep learning model (TransE) by 1.4% to 17.0%; MASEnaive further reveals that most deep learning models fail to surpass a random-walk naive baseline. Observation window length and model architecture exhibit a clear interaction, and a smaller internal Transformer dimension does not hurt performance. Within this single-stock case study, the findings suggest that parsimonious statistical models can match or outperform highly parameterised deep learning architectures for mid-term Chinese A-share forecasting.

Suggested Citation

  • Liu Jieni, 2026. "A Search-Then-Forecast Transformer Framework for Mid-Term Stock Price Prediction: An Empirical Case Study on the Chinese A-Share Market," Discussion Papers in Economics and Business 26-06, Osaka University, Graduate School of Economics.
  • Handle: RePEc:osk:wpaper:2606
    as

    Download full text from publisher

    File URL: https://www2.econ.osaka-u.ac.jp/econ_society/dp/2606.pdf
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • G12 - Financial Economics - - General Financial Markets - - - Asset Pricing; Trading Volume; Bond Interest Rates
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:osk:wpaper:2606. 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: The Economic Society of Osaka University (email available below). General contact details of provider: https://edirc.repec.org/data/feosujp.html .

    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.