IDEAS home Printed from https://ideas.repec.org/a/wsi/ijfexx/v08y2021i02ns2424786321500274.html
   My bibliography  Save this article

Predicting the trend of stock index based on feature engineering and CatBoost model

Author

Listed:
  • Renzhe Xu

    (Institute for Advanced Study, Shenzhen University, Shenzhen, Guangdong, P. R. China)

  • Yudong Chen

    (Institute for Advanced Study, Shenzhen University, Shenzhen, Guangdong, P. R. China)

  • Tenglong Xiao

    (Institute for Advanced Study, Shenzhen University, Shenzhen, Guangdong, P. R. China)

  • Jingli Wang

    (Institute for Advanced Study, Shenzhen University, Shenzhen, Guangdong, P. R. China)

  • Xiong Wang

    (Institute for Advanced Study, Shenzhen University, Shenzhen, Guangdong, P. R. China)

Abstract

As an important tool to measure the current situation of the whole stock market, the stock index has always been the focus of researchers, especially for its prediction. This paper uses trend types, which are received by clustering price series under multiple time scale, combined with the day-of-the-week effect to construct a categorical feature combination. Based on the historical data of six kinds of Chinese stock indexes, the CatBoost model is used for training and predicting. Experimental results show that the out-of-sample prediction accuracy is 0.55, and the long–short trading strategy can obtain average annualized return of 34.43%, which is a great improvement compared with other classical classification algorithms. Under the rolling back-testing, the model can always obtain stable returns in each period of time from 2012 to 2020. Among them, the SSESC’s long–short strategy has the best performance with an annualized return of 40.85% and a sharp ratio of 1.53. Therefore, the trend information on multiple time-scale features based on feature engineering can be learned by the CatBoost model well, which has a guiding effect on predicting stock index trends.

Suggested Citation

  • Renzhe Xu & Yudong Chen & Tenglong Xiao & Jingli Wang & Xiong Wang, 2021. "Predicting the trend of stock index based on feature engineering and CatBoost model," International Journal of Financial Engineering (IJFE), World Scientific Publishing Co. Pte. Ltd., vol. 8(02), pages 1-17, June.
  • Handle: RePEc:wsi:ijfexx:v:08:y:2021:i:02:n:s2424786321500274
    DOI: 10.1142/S2424786321500274
    as

    Download full text from publisher

    File URL: http://www.worldscientific.com/doi/abs/10.1142/S2424786321500274
    Download Restriction: Access to full text is restricted to subscribers

    File URL: https://libkey.io/10.1142/S2424786321500274?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    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:wsi:ijfexx:v:08:y:2021:i:02:n:s2424786321500274. 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: Tai Tone Lim (email available below). General contact details of provider: http://www.worldscientific.com/worldscinet/ijfe .

    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.