Abstract:
هدف: در سالهای اخیر، روشهای پیشبینی دادههای سری زمانی مبتنی بر هوش مصنوعی و یادگیری عمیق گسترش بسیاری یافته است. با توجه به اینکه این دادهها در حوزه سرمایهگذاری و پیشبینی قیمت سهام ابعاد بزرگی دارند، روشهای سنتی تحلیل داده، بهسختی میتوانند به یادگیری آنها بپردازند. در این پژوهش، قدرت مدلهای مختلف مبتنی بر یادگیری ماشین، در پیشبینی روند قیمت سهام در بورس اوراق بهادار تهران بررسی شده است.
روش: پس از جمعآوری دادههای 150 شرکت بزرگ پذیرفتهشده در بورس اوراق بهادار تهران، از سال 1390 تا 1399، با تنظیم دقیق روشهای یادگیری ماشین برای هر یک از سهام، به پیشبینی روند قیمت سهام و صحتسنجی هر یک از روشها پرداختیم و آنها را با هم مقایسه کردیم. در این روشها، در هر مرحله یادگیری، بخشی از دادهها را به بخش یادگیری و ارزیابی و بقیه را به بخش آزمون اختصاص دادیم. این روشها عبارت بودند از: مدلهای خطی، مدلهای خودهمبسته، جنگل تصادفی و شبکههای عصبی.
یافتهها: مدلهای مبتنی بر یادگیری عمیق نسبت به سایر مدلها عملکرد بهتری از خود نشان میدهند و در پیشبینی روند کوتاهمدت قیمت سهام، از دقتی حدود 70 تا 80 درصد برخوردارند. همچنین، مدلهای یادگیری کمعمق دقت بالاتری داشتند. بهطور کلی، بیشتر مدلها در پیشبینی روندهای منفی سهام، عملکرد بهتری نشان میدهند.
نتیجهگیری: در این پژوهش، تلاش شد تا مدلها با دقت بسیار بهکار گرفته شوند. نتایج پژوهش نشان داد که برخلاف یافتههای پژوهشهای گذشته، این مدلها نتایج خیرهکنندهای در اختیار سرمایهگذاران قرار نمیدهند.
Objective: Time series prediction methods based on artificial intelligence have been widely developed in recent years. Given that these data have large dimensions in the field of investment and stock price forecasting, traditional data analysis methods have low predictive power. This study examines the predictive power of a variety of models based on machine learning in the Tehran Stock Exchange. Methods: After collecting data from 150 large companies listed on the Tehran Stock Exchange from 2012 to 2021, we want to predict the stock price trend- the movement direction of the price- and then validate each method and compare their accuracy. In these methods, we allocate part of the data to the learning section and the rest to the test section. We take these periods as training and trading sets. These methods include linear models, autocorrelation models, trees, and neural networks. Results: Deep learning models show better performance than other models and have an accuracy of about 70 percent. Also, we show the time series of the best-performance model accuracy of portfolios of some large industries. The best-performance model of DL in this study is Recurrent Neural Networks. In addition, we show that shallow learning models have higher accuracy and most models perform better in predicting descending stock trends. Conclusion: In this study, after trying to use the models very carefully, the result is that these models do not provide stunning results to investors.
Machine summary:
در اين پژوهش ، قدرت مدل هاي مختلف مبتني بر يادگيري ماشين ، در پيش بيني روند قيمـت سهام در بورس اوراق بهادار تهران بررسي شده است .
روش : پس از جمع آوري داده هاي ١٥٠ شرکت بزرگ پذيرفته شده در بورس اوراق بهادار تهران ، از سال ١٣٩٠ تا ١٣٩٩، بـا تنظـيم دقيـق روش هاي يادگيري ماشين براي هر يک از سهام ، به پيش بيني روند قيمت سهام و صحت سنجي هر يک از روش ها پرداختيم و آن ها را بـا هم مقايسه کرديم .
Harvey, Liu & Zhu 8.
در پژوهشي که روي شاخص کل بورس اوراق بهادار تهران با استفاده از رأي اکثريت انجام شد، خروجي مدل هـاي يادگيري ماشين ، دقت بسيار بالايي را در پيش بيني روند نشان داد.
Chen, Pelger & Zhu 6.
ما در اين پژوهش ، به بررسي و مقايسة عملکرد مدل هاي مختلف يادگيري ماشين در پيش بيني روند قيمت سهام در بورس اوراق بهادار تهران پرداخته ايم .
Investigating Performance of Bayesian and Levenberg-Marquardt Neural Network in Comparison Classical Models in Stock Price Forecasting.
Paired Trading Strategy Optimization Using the Reinforcement Learning Method: Intraday Data of Tehran Stock Exchange.
(in Persian) Fama, E.
Common risk factors in the returns on stocks and bonds.
Empirical asset pricing via machine learning.
Time series forecasting using a hybrid ARIMA and neural network model.