IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2404.19324.html
   My bibliography  Save this paper

The Effect of Data Types' on the Performance of Machine Learning Algorithms for Financial Prediction

Author

Listed:
  • Hulusi Mehmet Tanrikulu
  • Hakan Pabuccu

Abstract

Forecasting cryptocurrencies as a financial issue is crucial as it provides investors with possible financial benefits. A small improvement in forecasting performance can lead to increased profitability; therefore, obtaining a realistic forecast is very important for investors. Successful forecasting provides traders with effective buy-or-hold strategies, allowing them to make more profits. The most important thing in this process is to produce accurate forecasts suitable for real-life applications. Bitcoin, frequently mentioned recently due to its volatility and chaotic behavior, has begun to pay great attention and has become an investment tool, especially during and after the COVID-19 pandemic. This study provided a comprehensive methodology, including constructing continuous and trend data using one and seven years periods of data as inputs and applying machine learning (ML) algorithms to forecast Bitcoin price movement. A binarization procedure was applied using continuous data to construct the trend data representing each input feature trend. Following the related literature, the input features are determined as technical indicators, google trends, and the number of tweets. Random forest (RF), K-Nearest neighbor (KNN), Extreme Gradient Boosting (XGBoost-XGB), Support vector machine (SVM) Naive Bayes (NB), Artificial Neural Networks (ANN), and Long-Short-Term Memory (LSTM) networks were applied on the selected features for prediction purposes. This work investigates two main research questions: i. How does the sample size affect the prediction performance of ML algorithms? ii. How does the data type affect the prediction performance of ML algorithms? Accuracy and area under the ROC curve (AUC) values were used to compare the model performance. A t-test was performed to test the statistical significance of the prediction results.

Suggested Citation

  • Hulusi Mehmet Tanrikulu & Hakan Pabuccu, 2024. "The Effect of Data Types' on the Performance of Machine Learning Algorithms for Financial Prediction," Papers 2404.19324, arXiv.org.
  • Handle: RePEc:arx:papers:2404.19324
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2404.19324
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Lahmiri, Salim & Bekiros, Stelios, 2020. "Intelligent forecasting with machine learning trading systems in chaotic intraday Bitcoin market," Chaos, Solitons & Fractals, Elsevier, vol. 133(C).
    2. Goutte, Stéphane & Le, Hoang-Viet & Liu, Fei & von Mettenheim, Hans-Jörg, 2023. "Deep learning and technical analysis in cryptocurrency market," Finance Research Letters, Elsevier, vol. 54(C).
    3. Chen, Wei & Xu, Huilin & Jia, Lifen & Gao, Ying, 2021. "Machine learning model for Bitcoin exchange rate prediction using economic and technology determinants," International Journal of Forecasting, Elsevier, vol. 37(1), pages 28-43.
    4. Dev Shah & Haruna Isah & Farhana Zulkernine, 2019. "Stock Market Analysis: A Review and Taxonomy of Prediction Techniques," IJFS, MDPI, vol. 7(2), pages 1-22, May.
    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. Mingzhe Wei & Georgios Sermpinis & Charalampos Stasinakis, 2023. "Forecasting and trading Bitcoin with machine learning techniques and a hybrid volatility/sentiment leverage," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(4), pages 852-871, July.
    2. Bhaskar Tripathi & Rakesh Kumar Sharma, 2023. "Modeling Bitcoin Prices using Signal Processing Methods, Bayesian Optimization, and Deep Neural Networks," Computational Economics, Springer;Society for Computational Economics, vol. 62(4), pages 1919-1945, December.
    3. Kamaladdin Fataliyev & Aneesh Chivukula & Mukesh Prasad & Wei Liu, 2021. "Stock Market Analysis with Text Data: A Review," Papers 2106.12985, arXiv.org, revised Jul 2021.
    4. Saqib Farid & Rubeena Tashfeen & Tahseen Mohsan & Arsal Burhan, 2023. "Forecasting stock prices using a data mining method: Evidence from emerging market," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(2), pages 1911-1917, April.
    5. Goodell, John W. & Ben Jabeur, Sami & Saâdaoui, Foued & Nasir, Muhammad Ali, 2023. "Explainable artificial intelligence modeling to forecast bitcoin prices," International Review of Financial Analysis, Elsevier, vol. 88(C).
    6. Htet Htet Htun & Michael Biehl & Nicolai Petkov, 2023. "Survey of feature selection and extraction techniques for stock market prediction," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-25, December.
    7. Daiki Matsunaga & Toyotaro Suzumura & Toshihiro Takahashi, 2019. "Exploring Graph Neural Networks for Stock Market Predictions with Rolling Window Analysis," Papers 1909.10660, arXiv.org, revised Nov 2019.
    8. Oscar Claveria & Enric Monte & Petar Soric & Salvador Torra, 2022. ""An application of deep learning for exchange rate forecasting"," IREA Working Papers 202201, University of Barcelona, Research Institute of Applied Economics, revised Jan 2022.
    9. Nghia Chu & Binh Dao & Nga Pham & Huy Nguyen & Hien Tran, 2022. "Predicting Mutual Funds' Performance using Deep Learning and Ensemble Techniques," Papers 2209.09649, arXiv.org, revised Jul 2023.
    10. Gaies, Brahim & Nakhli, Mohamed Sahbi & Sahut, Jean-Michel & Schweizer, Denis, 2023. "Interactions between investors’ fear and greed sentiment and Bitcoin prices," The North American Journal of Economics and Finance, Elsevier, vol. 67(C).
    11. Sudersan Behera & Sarat Chandra Nayak & A. V. S. Pavan Kumar, 2024. "Evaluating the Performance of Metaheuristic Based Artificial Neural Networks for Cryptocurrency Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 64(2), pages 1219-1258, August.
    12. Bartosz Bieganowski & Robert Ślepaczuk, 2024. "Supervised Autoencoder MLP for Financial Time Series Forecasting," Working Papers 2024-03, Faculty of Economic Sciences, University of Warsaw.
    13. Wang, Yijun & Andreeva, Galina & Martin-Barragan, Belen, 2023. "Machine learning approaches to forecasting cryptocurrency volatility: Considering internal and external determinants," International Review of Financial Analysis, Elsevier, vol. 90(C).
    14. Hakan Pabuccu & Adrian Barbu, 2023. "Feature Selection with Annealing for Forecasting Financial Time Series," Papers 2303.02223, arXiv.org, revised Feb 2024.
    15. Arjun Prakash & Nick James & Max Menzies & Gilad Francis, 2020. "Structural clustering of volatility regimes for dynamic trading strategies," Papers 2004.09963, arXiv.org, revised Nov 2021.
    16. Minati, Ludovico & Mancinelli, Mattia & Frasca, Mattia & Bettotti, Paolo & Pavesi, Lorenzo, 2021. "An analog electronic emulator of non-linear dynamics in optical microring resonators," Chaos, Solitons & Fractals, Elsevier, vol. 153(P2).
    17. Adebayo Felix Adekoya & Isaac Kofi Nti & Benjamin Asubam Weyori, 2021. "Long Short-Term Memory Network for Predicting Exchange Rate of the Ghanaian Cedi," FinTech, MDPI, vol. 1(1), pages 1-19, December.
    18. Wai Khuen Cheng & Khean Thye Bea & Steven Mun Hong Leow & Jireh Yi-Le Chan & Zeng-Wei Hong & Yen-Lin Chen, 2022. "A Review of Sentiment, Semantic and Event-Extraction-Based Approaches in Stock Forecasting," Mathematics, MDPI, vol. 10(14), pages 1-20, July.
    19. Jingyang Wu & Xinyi Zhang & Fangyixuan Huang & Haochen Zhou & Rohtiash Chandra, 2024. "Review of deep learning models for crypto price prediction: implementation and evaluation," Papers 2405.11431, arXiv.org, revised Jun 2024.
    20. L.J. Basson & Sune Ferreira-Schenk & Zandri Dickason-Koekemoer, 2022. "Fractal Dimension Option Hedging Strategy Implementation During Turbulent Market Conditions in Developing and Developed Countries," International Journal of Economics and Financial Issues, Econjournals, vol. 12(2), pages 84-95, March.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:arx:papers:2404.19324. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.