IDEAS home Printed from https://ideas.repec.org/a/gam/jijfss/v11y2022i1p5-d1011886.html
   My bibliography  Save this article

Stock Movement Prediction Using Machine Learning Based on Technical Indicators and Google Trend Searches in Thailand

Author

Listed:
  • Kittipob Saetia

    (KMITL Digital Analytics and Intelligence Center, School of Science, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand)

  • Jiraphat Yokrattanasak

    (Department of Mathematics, School of Science, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand
    Business Innovation and Investment Laboratory (B2I-Lab), School of Science, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand)

Abstract

Machine learning for stock market prediction has recently been popular for identifying stock selection strategies and providing market insights. In this study, we adopted machine learning algorithms to analyze technical indicators, and Google Trends search terms based on the Thai stock market. This study uses three datasets, which are technical indicators, Google Trends search terms, and a combination of the two. The objectives were to study and identify the factors in stock selection, develop and evaluate portfolio selection models using keyword proxies from the three datasets mentioned, and compare the performance of the selected algorithms. In the prediction process, we discovered that the combination of technical indicators and Google Trends search terms while applying Logistic Regression, Random Forest, and Extreme Gradient Boosting (XGBoost) exhibited the highest ROC curves. For success prediction rate and annualized return, Random Forest and XGBoost were almost similar but still different. While XGBoost performs well during a period of market critical conditions (COVID-19), Random Forest performs marginally better than XGBoost during normal market conditions in terms of average success rate.

Suggested Citation

  • Kittipob Saetia & Jiraphat Yokrattanasak, 2022. "Stock Movement Prediction Using Machine Learning Based on Technical Indicators and Google Trend Searches in Thailand," IJFS, MDPI, vol. 11(1), pages 1-21, December.
  • Handle: RePEc:gam:jijfss:v:11:y:2022:i:1:p:5-:d:1011886
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7072/11/1/5/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7072/11/1/5/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Nikoletta Poutachidou & Stephanos Papadamou, 2021. "The Effect of Quantitative Easing through Google Metrics on US Stock Indices," IJFS, MDPI, vol. 9(4), pages 1-19, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Papadamou, Stephanos & Fassas, Athanasios P. & Kenourgios, Dimitris & Dimitriou, Dimitrios, 2023. "Effects of the first wave of COVID-19 pandemic on implied stock market volatility: International evidence using a google trend measure," The Journal of Economic Asymmetries, Elsevier, vol. 28(C).

    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:gam:jijfss:v:11:y:2022:i:1:p:5-:d:1011886. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.