574
Views
2
CrossRef citations to date
0
Altmetric
Research Papers

Constructing long-short stock portfolio with a new listwise learn-to-rank algorithm

, &
Pages 321-331 | Received 12 Dec 2020, Accepted 24 May 2021, Published online: 21 Jul 2021
 

Abstract

Factor strategies have gained growing popularity in industry with the fast development of machine learning. Usually, multi-factors are fed to an algorithm for some cross-sectional return predictions, which are then further used to construct a long-short portfolio. Instead of predicting the value of the stock return, emerging studies predict a ranked stock list using the mature learn-to-rank technology. In this study, we propose a new listwise learn-to-rank loss function which aims to emphasize both the top and the bottom of a rank list. Our loss function, motivated by the long-short strategy, is endogenously shift-invariant and can be viewed as a direct generalization of ListMLE. Under different transformation functions, our loss can lead to consistency with binary classification loss or permutation level 0-1 loss. A probabilistic explanation for our model is also given as a generalized Plackett-Luce model. Based on a dataset of 68 factors in the China A-share market from 2006 to 2019, our empirical study has demonstrated the strength of our method which achieves an out-of-sample annual return of 38% with Sharpe ratio 2.

JEL Classifications:

Disclosure statement

No potential conflict of interest was reported by the authors.

Notes

1 Data is obtained from the Wind database, https://www.wind.com.cn/NewSite/data.html

2 For MLP the last ReLU layer is not necessary since there are negative returns.

Additional information

Funding

Wu's research is supported by the Key Laboratory of Mathematical Economics and Quantitative Finance (Ministry of Education) at Peking University.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 53.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 691.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.