Using a Deep Learning Model to Simulate Human Stock Trader's Methods of Chart Analysis (2304.14870v3)
Abstract: Despite the efficient market hypothesis, many studies suggest the existence of inefficiencies in the stock market leading to the development of techniques to gain above-market returns. Systematic trading has undergone significant advances in recent decades with deep learning schemes emerging as a powerful tool for analyzing and predicting market behavior. In this paper, a method is proposed that is inspired by how professional technical analysts trade. This scheme looks at stock prices of the previous 600 days and predicts whether the stock price will rise or fall 10% or 20% within the next D days. The proposed method uses the Resnet's (a deep learning model) skip connections and logits to increase the probability of the prediction. The model was trained and tested using historical data from both the Korea and US stock markets. The backtest is done using the data from 2020 to 2022. Using the proposed method for the Korea market it gave return of 75.36% having Sharpe ratio of 1.57, which far exceeds the market return by 36% and 0.61, respectively. On the US market it gives total return of 27.17% with Sharpe ratio of 0.61, which outperforms other benchmarks such as NASDAQ, S&P500, DOW JONES index by 17.69% and 0.27, respectively.
- Arksey, H. (2021). RSI and the experts: The construction of medical knowledge. Routledge.
- Value and momentum everywhere. The journal of finance, 68, 929–985.
- Bollinger, J. (2002). Bollinger on Bollinger bands. McGraw-Hill New York.
- Intelligent technical analysis based equivolume charting for stock trading using neural networks. Expert Systems with Applications, 34, 1004–1017. URL: https://www.sciencedirect.com/science/article/pii/S0957417406003617. doi:https://doi.org/10.1016/j.eswa.2006.10.028.
- A hybrid stock trading framework integrating technical analysis with machine learning techniques. The Journal of Finance and Data Science, 2, 42–57. URL: https://www.sciencedirect.com/science/article/pii/S2405918815300179. doi:https://doi.org/10.1016/j.jfds.2016.03.002.
- Dow jones trading with deep learning: The unreasonable effectiveness of recurrent neural networks. In Data (pp. 142–153).
- Dissecting anomalies. The journal of finance, 63, 1653–1678.
- Forecasting directional movements of stock prices for intraday trading using lstm and random forests. Finance Research Letters, 46, 102280.
- A deep learning based stock trading model with 2-d cnn trend detection. In 2017 IEEE symposium series on computational intelligence (SSCI) (pp. 1–8). IEEE.
- A machine learning trading system for the stock market based on n-period min-max labeling using xgboost. Expert Systems with Applications, 211, 118581. URL: https://www.sciencedirect.com/science/article/pii/S0957417422016414. doi:https://doi.org/10.1016/j.eswa.2022.118581.
- Harvey, A. C. (1990). Arima models. In J. Eatwell, M. Milgate, & P. Newman (Eds.), Time Series and Statistics (pp. 22–24). London: Palgrave Macmillan UK. URL: https://doi.org/10.1007/978-1-349-20865-4_2. doi:10.1007/978-1-349-20865-4_2.
- Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 770–778).
- Returns to buying winners and selling losers: Implications for stock market efficiency. The Journal of finance, 48, 65–91.
- Using deep learning neural networks and candlestick chart representation to predict stock market. arXiv preprint arXiv:1903.12258, .
- Practical deep reinforcement learning approach for stock trading. arXiv preprint arXiv:1811.07522, .
- A local and global event sentiment based efficient stock exchange forecasting using deep learning. International Journal of Information Management, 50, 432–451.
- Stock market prediction using deep learning algorithms. CAAI Transactions on Intelligence Technology, 8, 82–94.
- Sommer, J. (2022). Mutual funds that consistently beat the market? not one of 2,13. https://www.nytimes.com/2022/12/02/business/stock-market-index-funds.html [Accessed: 2023-07-26].
- Applying deep learning to enhance momentum trading strategies in stocks. In Technical Report. Stanford University Stanford, CA, USA.
- A method for automatic stock trading combining technical analysis and nearest neighbor classification. Expert Systems with Applications, 37, 6885–6890. URL: https://www.sciencedirect.com/science/article/pii/S0957417410002149. doi:https://doi.org/10.1016/j.eswa.2010.03.033.
- Time series classification from scratch with deep neural networks: A strong baseline. In 2017 International joint conference on neural networks (IJCNN) (pp. 1578–1585). IEEE.
- Adaptive stock trading strategies with deep reinforcement learning methods. Information Sciences, 538, 142–158.
- Stock prediction using deep learning and sentiment analysis. In 2019 IEEE International Conference on Big Data (Big Data) (pp. 5573–5580). doi:10.1109/BigData47090.2019.9006342.
- Stock prediction using deep learning and sentiment analysis. In 2019 IEEE international conference on big data (big data) (pp. 5573–5580). IEEE.
- Deep reinforcement learning for automated stock trading: An ensemble strategy. In Proceedings of the first ACM international conference on AI in finance (pp. 1–8).
- Using lstm in stock prediction and quantitative trading. CS230: Deep Learning, Winter, (pp. 1–6).