## 4 Experimental Results and Analysis
### Experimental Results of Applying to Backtest of Trading Strategies  
Based on the above experiments, it can be found that the prediction performance of the proposed model for RSI technical indicators is slightly higher than that of BIAS. However, a certain number of labels that are rising or falling are misjudged to be flat. From the perspective of the deep network classification model, the prediction category is limited by the output of Softmax. Therefore, the proposed GRU-Attention model subsequently derives the probability output of Softmax as a reference for investors' trading strategies. In this study, the stock price fluctuations of TSMC between 20 April 2020 and 5 May 2021 \begin{table}
\begin{tabular}{l c c c c} \hline \hline  & **Trend** & **6 BIAS** & **12 BIAS** & **20 BIAS** \\ \hline \multirow{3}{*}{Precision} & Up & 59.2\% & 55.6\% & 52.2\% \\  & Flat & 87.2\% & 86.0\% & 84.3\% \\  & Down & 41.6\% & 37.2\% & 31.3\% \\ \hline \multirow{3}{*}{Recall} & Up & 61.0\% & 57.5\% & 50.0\% \\  & Flat & 81.4\% & 79.6\% & 74.3\% \\  & Down & 56.6\% & 53.3\% & 50.3\% \\ \hline \multirow{3}{*}{F1 Measure} & Up & 60.1\% & 56.5\% & 51.1\% \\  & Flat & 84.2\% & 82.7\% & 79.0\% \\ \cline{1-1}  & Down & 48.0\% & 43.8\% & 38.6\% \\ \hline Accuracy & & 75.6\% & 73.2\% & 68.0\% \\ \hline \hline \end{tabular}
\end{table} 
Table 2: Precision, Recall, F1 Measure and Accuracy of the BIAS TI. Figure 8: The Confusion Matrices of (**a**) 6 days BIAS, (**b**) 12 days BIAS, and (**c**) 20 days BIAS. Figure 7: (**a**) Loss vs. 100-epochs and (**b**) Accuracy vs. 100-epochs of 6 BIAS-labeled training data. were backtested based on the parameters with higher accuracy in the aforementioned experiments, and set the rising probability value greater than a certain threshold as the estimated buying point. The results are shown in Figures 9-15. Figure 10: The RSI-label backtest result of the stock market entry point where the predicted increase probability is between 30% and 40%. Target: TPE:2330, trading interval: 1 January 2021–11 May 2021. Figure 9: The RSI-label backtest result of the stock market entry point where the predicted increase probability is between 30% and 40%. Target: TPE:2330, trading interval: 20 April 2020–30 December 2020. Figure 11: The RSI-label backtest result of the stock market entry point where the predicted increase probability is greater than 40%. Target: TPE:2330, trading interval: 20 April 2020–30 December 2020. Figure 12: The BIAS-label backtest result of the stock market entry point where the predicted increase probability is between 30% and 40%. Target: TPE:2330, trading interval: 20 April 2020–30 December 2020. Figure 14: The BIAS-label backtest result of the stock market entry point where the predicted increase probability is greater than 40%. Target: TPE:2330, trading interval: 20 April 2020–30 December 2020. Figure 13: The BIAS-label backtest result of the stock market entry point where the predicted increase probability is between 30% and 40%. Target: TPE:2330, trading interval: 1 January 2021–11 May 2021. Figure 9 shows the results of the experiment where the probability of RSI turning upward is between 30% and 40%, and the trading range is between 20 April 2020 and 30 December 2020. The model has a total of 11 suggestions for stock market entry points in the interval. Figure 10 shows the results of the transaction date 1 January 2021-11 May 2021, and there is only one forecast with an increase probability within 30-40%. The volatility of stocks from March to May in 2021 slows down, and the model also yields reasonable predictions. The volatility between April 2020 and January 2021 is relatively large, and the proposed model also gives relatively more positive market entry estimates value. Figure 11 shows the results of the experiment where the probability of RSI turning upward is greater than 40%, and the trading range is between 20 April 2020 and 30 December 2020. During this time period, the GRU-Attention model suggested a total of eight entry points.