Finding Optimal Trading History in Reinforcement Learning for Stock Market Trading
Sina Montazeri, Haseebullah Jumakhan, Amir Mirzaeinia

TL;DR
This study explores how the size of historical data windows affects reinforcement learning models for stock trading, revealing that feature arrangement influences optimal window length and model performance.
Contribution
It introduces the temporal window as a hyperparameter in CNN-based DRL models and systematically examines its impact across different feature arrangements and datasets.
Findings
Shorter windows are better without feature grouping.
Longer windows improve performance with feature grouping.
Models outperform established financial trading benchmarks.
Abstract
This paper investigates the optimization of temporal windows in Financial Deep Reinforcement Learning (DRL) models using 2D Convolutional Neural Networks (CNNs). We introduce a novel approach to treating the temporal field as a hyperparameter and examine its impact on model performance across various datasets and feature arrangements. We introduce a new hyperparameter for the CNN policy, proposing that this temporal field can and should be treated as a hyperparameter for these models. We examine the significance of this temporal field by iteratively expanding the window of observations presented to the CNN policy during the deep reinforcement learning process. Our iterative process involves progressively increasing the observation period from two weeks to twelve weeks, allowing us to examine the effects of different temporal windows on the model's performance. This window expansion is…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsStock Market Forecasting Methods · Financial Markets and Investment Strategies · Complex Systems and Time Series Analysis
