EconPapers    
Economics at your fingertips  
 

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

Jieni Liu ()
Additional contact information
Jieni Liu: Graduate School of Economics, The University of Osaka

No 26-06, Discussion Papers in Economics and Business from Osaka University, Graduate School of Economics

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.

Keywords: stock price forecasting; Transformer; ARMAGARCH; similar-stock search; Chinese A-share market. (search for similar items in EconPapers)
JEL-codes: C22 C45 C53 G12 G17 (search for similar items in EconPapers)
Pages: 39 pages
Date: 2026-04
New Economics Papers: this item is included in nep-ets
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www2.econ.osaka-u.ac.jp/econ_society/dp/2606.pdf (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:osk:wpaper:2606

Access Statistics for this paper

More papers in Discussion Papers in Economics and Business from Osaka University, Graduate School of Economics Contact information at EDIRC.
Bibliographic data for series maintained by The Economic Society of Osaka University ().

 
Page updated 2026-05-05
Handle: RePEc:osk:wpaper:2606