Zahra Pourahmadi; Dariush Farid; Hamid Reza Mirzaei
Abstract
Stock trading is a significant decision-making problem in asset management. This study introduces a financial trading system (FTS) that leverages artificial intelligence (AI) techniques to automate buy and sell orders specifically in Iran's stock market. Due to limited availability of labeled data in ...
Read More
Stock trading is a significant decision-making problem in asset management. This study introduces a financial trading system (FTS) that leverages artificial intelligence (AI) techniques to automate buy and sell orders specifically in Iran's stock market. Due to limited availability of labeled data in financial markets, the FTS utilizes reinforcement learning (RL), a subset of AI, for training. The model incorporates technical analysis and a constrained policy to enhance decision-making capabilities. The proposed algorithm is applied to the Tehran Securities Exchange, evaluating its efficiency across 45 periods using three different stock market indices. Performance comparisons are made against common strategies such as buy and hold, randomly selected actions, and maintaining the initial stock portfolio, with and without transaction costs. The results indicate that the FTS outperforms these methods, exhibiting excellent performance metrics including Sharp ratio, PP, PF, and MDD. Consequently, the findings suggest that the FTS serves as a valuable asset management tool in the Iranian financial market.
Maryam Moradi; Najme Neshat; Amir Mohammad Ahmadzade Semeskande
Abstract
Safe investment can be experienced by incorporating human experience and modern predicting science. Artificial Intelligence (AI) plays a vital role in reducing errors in this winning layout. This study aims at performance analysis of Deep Learning (DL) and Machine Learning (ML) methods in modellingand ...
Read More
Safe investment can be experienced by incorporating human experience and modern predicting science. Artificial Intelligence (AI) plays a vital role in reducing errors in this winning layout. This study aims at performance analysis of Deep Learning (DL) and Machine Learning (ML) methods in modellingand predicting the stock returns time series based on the return rate of previous periods and a set of exogenous variables. The data used includes the weekly data of the stock return index of 200 companies included in the Tehran Stock Exchange market from 2016 to 2021. Two Long Short-Term Memory (LSTM)and Deep Q-Network (DQN) models as DL processes and two Random Forest (RF) and Support Vector Machine (SVM) models as ML algorithms were selected. The results showed the superiority of DLalgorithms over ML, which can indicate the existence of strong dependence patterns in these time series, as well as relatively complex nonlinear relationships with uncertainty between the determinant variables. Meanwhile, LSTM with R-squared equals to 87 percent and the analysis of the results of five other evaluation models have shown the highest accuracy and the least error of prediction. On the other hand, the RF model results in the least prediction accuracy by including the highest amount of error.