Designing a Stock Recommender System Using the Collaborative Filtering Algorithm for the Tehran Stock Exchange
ObjectiveWith the increasing volume of information and the complexity of financial markets, investors are increasingly seeking innovative financial tools to make more informed decisions. These tools should help investors choose the right stocks and achieve better returns. In this regard, stock recom...
Saved in:
Main Authors: | , , |
---|---|
Format: | Article |
Language: | fas |
Published: |
University of Tehran
2024-06-01
|
Series: | تحقیقات مالی |
Subjects: | |
Online Access: | https://jfr.ut.ac.ir/article_98028_86a21928c03914c0924fa69c891ac615.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
_version_ | 1823858103376936960 |
---|---|
author | Marziyeh Nourahmadi Ali Rahimi Hojjatollah Sadeqi |
author_facet | Marziyeh Nourahmadi Ali Rahimi Hojjatollah Sadeqi |
author_sort | Marziyeh Nourahmadi |
collection | DOAJ |
description | ObjectiveWith the increasing volume of information and the complexity of financial markets, investors are increasingly seeking innovative financial tools to make more informed decisions. These tools should help investors choose the right stocks and achieve better returns. In this regard, stock recommendation systems are becoming increasingly important. Stock recommendation systems can assist investors in achieving superior returns by selecting the right stocks. However, traditional stock recommendation systems often lack the necessary accuracy and efficiency. This research aims to develop a novel approach called Stock-based Collaborative Filtering to design a stock recommendation system for the Tehran Stock Exchange. This method is founded on two key assumptions: first, market inefficiency, meaning the stock market does not completely and accurately reflect all available information; and second, the presence of hidden information in stock movements, indicating that these movements contain valuable insights that can influence the prices of other stocks in the market. In this research, assuming the existence of the transmission effect on the Tehran Stock Exchange, we used the collaborative filtering technique, a common algorithm in recommender systems, to design a stock recommender system. The purpose is to help investors select the best-performing stocks to outperform the market. MethodsThis study uses historical stock price data of 145 firms listed on the Tehran Stock Exchange from 2012 to 2021. The collaborative filtering algorithm was implemented in two stages: training and testing. In the training stage, the algorithm was trained using data from 2012 to 2016, and in the testing stage, its performance was evaluated on data from 2016 to 2021. Following, buy and sell signals were generated using the stock-based collaborative filtering algorithm during the same period. Finally, the strategy was evaluated. ResultsThe algorithm was tested as an investment strategy in both in-sample and out-of-sample periods. The results obtained from the algorithm for the out-of-sample periods show that this strategy can achieve a 25-fold return. The overall index returned 16 times during this period, indicating the excellent performance of the strategy over time. Additionally, the value at risk (VaR) for the selected method during the study period stood at -12.8%, indicating the lower risk of this method. ConclusionStock-based collaborative filtering is an active investment strategy. This intelligent algorithm aims to identify undervalued stocks and achieve higher returns than the market. This algorithm can serve as a valuable tool for active investors seeking to identify valuable stocks and achieve higher returns than the market. Therefore, further research is necessary to examine the performance of this algorithm in different markets and diverse economic conditions. Also, it is recommended to implement risk control strategies and optimize the system's efficacy further. |
format | Article |
id | doaj-art-2897ae760e9e4e749238b5c2e1d4b5c4 |
institution | Kabale University |
issn | 1024-8153 2423-5377 |
language | fas |
publishDate | 2024-06-01 |
publisher | University of Tehran |
record_format | Article |
series | تحقیقات مالی |
spelling | doaj-art-2897ae760e9e4e749238b5c2e1d4b5c42025-02-11T14:02:49ZfasUniversity of Tehranتحقیقات مالی1024-81532423-53772024-06-0126231834610.22059/frj.2023.360955.100747998028Designing a Stock Recommender System Using the Collaborative Filtering Algorithm for the Tehran Stock ExchangeMarziyeh Nourahmadi0Ali Rahimi1Hojjatollah Sadeqi2Ph.D., Department of Financial Engineering, Faculty of Economic, Management and Accounting, Yazd University, Yazd, Iran.MSc., Department of Electrical Engineering, Faculty of Electrical Engineering, Amir Kabir University of Technology (Tehran Polytechnic), Tehran, Iran.Associate Prof, Department of Finance Management, Yazd University, Yazd, Iran.ObjectiveWith the increasing volume of information and the complexity of financial markets, investors are increasingly seeking innovative financial tools to make more informed decisions. These tools should help investors choose the right stocks and achieve better returns. In this regard, stock recommendation systems are becoming increasingly important. Stock recommendation systems can assist investors in achieving superior returns by selecting the right stocks. However, traditional stock recommendation systems often lack the necessary accuracy and efficiency. This research aims to develop a novel approach called Stock-based Collaborative Filtering to design a stock recommendation system for the Tehran Stock Exchange. This method is founded on two key assumptions: first, market inefficiency, meaning the stock market does not completely and accurately reflect all available information; and second, the presence of hidden information in stock movements, indicating that these movements contain valuable insights that can influence the prices of other stocks in the market. In this research, assuming the existence of the transmission effect on the Tehran Stock Exchange, we used the collaborative filtering technique, a common algorithm in recommender systems, to design a stock recommender system. The purpose is to help investors select the best-performing stocks to outperform the market. MethodsThis study uses historical stock price data of 145 firms listed on the Tehran Stock Exchange from 2012 to 2021. The collaborative filtering algorithm was implemented in two stages: training and testing. In the training stage, the algorithm was trained using data from 2012 to 2016, and in the testing stage, its performance was evaluated on data from 2016 to 2021. Following, buy and sell signals were generated using the stock-based collaborative filtering algorithm during the same period. Finally, the strategy was evaluated. ResultsThe algorithm was tested as an investment strategy in both in-sample and out-of-sample periods. The results obtained from the algorithm for the out-of-sample periods show that this strategy can achieve a 25-fold return. The overall index returned 16 times during this period, indicating the excellent performance of the strategy over time. Additionally, the value at risk (VaR) for the selected method during the study period stood at -12.8%, indicating the lower risk of this method. ConclusionStock-based collaborative filtering is an active investment strategy. This intelligent algorithm aims to identify undervalued stocks and achieve higher returns than the market. This algorithm can serve as a valuable tool for active investors seeking to identify valuable stocks and achieve higher returns than the market. Therefore, further research is necessary to examine the performance of this algorithm in different markets and diverse economic conditions. Also, it is recommended to implement risk control strategies and optimize the system's efficacy further.https://jfr.ut.ac.ir/article_98028_86a21928c03914c0924fa69c891ac615.pdfrecommender systemscollaborative filteringstock selectiontransmission effectstock forecasting |
spellingShingle | Marziyeh Nourahmadi Ali Rahimi Hojjatollah Sadeqi Designing a Stock Recommender System Using the Collaborative Filtering Algorithm for the Tehran Stock Exchange تحقیقات مالی recommender systems collaborative filtering stock selection transmission effect stock forecasting |
title | Designing a Stock Recommender System Using the Collaborative Filtering Algorithm for the Tehran Stock Exchange |
title_full | Designing a Stock Recommender System Using the Collaborative Filtering Algorithm for the Tehran Stock Exchange |
title_fullStr | Designing a Stock Recommender System Using the Collaborative Filtering Algorithm for the Tehran Stock Exchange |
title_full_unstemmed | Designing a Stock Recommender System Using the Collaborative Filtering Algorithm for the Tehran Stock Exchange |
title_short | Designing a Stock Recommender System Using the Collaborative Filtering Algorithm for the Tehran Stock Exchange |
title_sort | designing a stock recommender system using the collaborative filtering algorithm for the tehran stock exchange |
topic | recommender systems collaborative filtering stock selection transmission effect stock forecasting |
url | https://jfr.ut.ac.ir/article_98028_86a21928c03914c0924fa69c891ac615.pdf |
work_keys_str_mv | AT marziyehnourahmadi designingastockrecommendersystemusingthecollaborativefilteringalgorithmforthetehranstockexchange AT alirahimi designingastockrecommendersystemusingthecollaborativefilteringalgorithmforthetehranstockexchange AT hojjatollahsadeqi designingastockrecommendersystemusingthecollaborativefilteringalgorithmforthetehranstockexchange |