Solving Unconverged Learning of Pairs Trading Strategies with Representation Labeling Mechanism

Wei Lun Kuo*, Tian Shyr Dai, Wei Che Chang

*Corresponding author for this work

Research output: Contribution to journalConference articlepeer-review

1 Scopus citations


A pairs trading strategy (PTS) constructs a market-neutral portfolio whose value typically moves back and forth around a mean price level; investors short (long) the portfolio when its value reaches the upside (downside) opening threshold and close the position when the value reverts to the mean to earn the price difference. Recent machine learning models select the open and stop-loss thresholds either heuristically or chosen from a limited set, which significantly limits the investment performance. We address this by creating a wider set of open/stop-loss threshold recommendations that generally cover all possible scenarios; but regression- or classification-based deep learning methods for recommending thresholds fail to converge. Thus, we design a representative labeling mechanism that selects representative open and stop-loss thresholds from all possible optimal thresholds according to the selection frequencies of the thresholds and the k-means algorithm. Experiments suggest that training the multi-scale residual network with stock pairs relabeled by representative thresholds yields better investment performance than other methods in the literature.

Original languageEnglish
JournalCEUR Workshop Proceedings
StatePublished - 2021
Event2021 International Conference on Information and Knowledge Management Workshops, CIKMW 2021 - Gold Coast, Australia
Duration: 1 Nov 20215 Nov 2021


  • Opening
  • Pairs trading
  • Representation labelling
  • ResNet
  • Stop-loss triggers tuning


Dive into the research topics of 'Solving Unconverged Learning of Pairs Trading Strategies with Representation Labeling Mechanism'. Together they form a unique fingerprint.

Cite this