%0 Journal Article %T A Reinforcement Learning-based Encoder-Decoder Framework for Learning Stock Trading Rules %J Journal of AI and Data Mining %I Shahrood University of Technology %Z 2322-5211 %A Taghian, M. %A Asadi, A. %A Safabakhsh, R. %D 2023 %\ 01/01/2023 %V 11 %N 1 %P 103-118 %! A Reinforcement Learning-based Encoder-Decoder Framework for Learning Stock Trading Rules %K Deep Reinforcement Learning %K Deep Q-Learning %K Single Stock Trading %K Portfolio Management %K Encoder-Decoder Framework %R 10.22044/jadm.2023.11979.2347 %X The quality of the extracted features from a long-term sequence of raw prices of the instruments greatly affects the performance of the trading rules learned by machine learning models. Employing a neural encoder-decoder structure to extract informative features from complex input time-series has proved very effective in other popular tasks like neural machine translation and video captioning. In this paper, a novel end-to-end model based on the neural encoder-decoder framework combined with deep reinforcement learning is proposed to learn single instrument trading strategies from a long sequence of raw prices of the instrument. In addition, the effects of different structures for the encoder and various forms of the input sequences on the performance of the learned strategies are investigated. Experimental results showed that the proposed model outperforms other state-of-the-art models in highly dynamic environments. %U https://jad.shahroodut.ac.ir/article_2706_33a46b99cf13b2b36c95852f573901b5.pdf