[Paper Review] Compatible deep neural network framework with financial time series data, including data preprocessor, neural network model and trading strategy
This paper proposes a novel, end-to-end compatible deep learning framework for financial time series forecasting that integrates data preprocessing, a hybrid CNN-LSTM neural network, and a dynamic trading strategy. By using technical indicators, XGBoost-based feature selection, multi-category data splitting, and dual CNN-based autoencoders for feature extraction, the framework achieves robust 10x–12x profit growth in one year on BTC, ETH, and S&P500 datasets.
Experience has shown that trading in stock and cryptocurrency markets has the potential to be highly profitable. In this light, considerable effort has been recently devoted to investigate how to apply machine learning and deep learning to interpret and predict market behavior. This research introduces a new deep neural network architecture and a novel idea of how to prepare financial data before feeding them to the model. In the data preparation part, the first step is to generate many features using technical indicators and then apply the XGBoost model for feature engineering. Splitting data into three categories and using separate autoencoders, we extract high-level mixed features at the second step. This data preprocessing is introduced to predict price movements. Regarding modeling, different convolutional layers, an long short-term memory unit, and several fully-connected layers have been designed to perform binary classification. This research also introduces a trading strategy to exploit the trained model outputs. Three different datasets are used to evaluate this method, where results indicate that this framework can provide us with profitable and robust predictions.
Motivation & Objective
- To develop a comprehensive, real-world applicable deep learning framework for financial time series forecasting that bridges data preparation, modeling, and trading execution.
- To address the challenge of feature quality and market volatility by introducing a dynamic, intuition-driven data preprocessing pipeline grounded in trading behavior.
- To design a neural network architecture that captures both local patterns (via convolutional layers) and temporal dependencies (via LSTM) for accurate binary classification of price direction.
- To evaluate the framework’s profitability under realistic trading conditions, including margin constraints and risk management.
- To demonstrate robust performance across diverse financial assets—cryptocurrencies (BTC, ETH) and equities (S&P500)—across different time horizons.
Proposed method
- Generates a comprehensive set of technical indicators from OHLCV (open, high, low, close, volume) data to enrich feature space.
- Applies XGBoost for feature selection to prioritize informative features based on their predictive importance.
- Splits data into three distinct categories (e.g., bull, bear, sideways markets) to enable context-aware feature learning.
- Employs two customized CNN-based autoencoders—trained on separate data splits—to extract high-level, denoised, and compressed representations of financial features.
- Designs a hybrid deep neural network with convolutional layers (for spatial feature refinement), an LSTM layer (for sequential dependency modeling), and fully connected layers (for binary classification of price direction).
- Implements a dynamic trading strategy that uses model confidence scores (thresholded by θ) to determine entry/exit points, with separate evaluation under 'with' and 'without' profit-saving margin conditions.
Experimental results
Research questions
- RQ1How can financial time series data be preprocessed in a way that reflects real trader behavior and market regime shifts?
- RQ2To what extent can autoencoders trained on market-state-specific data improve feature quality and model generalization in financial forecasting?
- RQ3Can a hybrid CNN-LSTM architecture outperform standard deep learning models in predicting one-step-ahead price direction in volatile markets?
- RQ4What is the profitability of a model-driven trading strategy when applied to diverse financial assets (cryptocurrencies and equities) under realistic margin constraints?
- RQ5How does model performance and trading profitability vary across different market regimes and asset classes?
Key findings
- The framework achieved a 10x to 12x increase in portfolio value over a one-year period on BTC/USDT, ETH/USDT, and S&P500 datasets, demonstrating high profitability.
- Model performance was robust across all datasets, with F1 scores, precision, and recall values indicating strong binary classification accuracy for price direction prediction.
- Setting the confidence threshold θ to 1/4 reduced profitability due to excessive sensitivity, highlighting the importance of optimal threshold selection in risk-adjusted trading.
- The use of separate autoencoders on split data improved feature representation and model generalization, especially in non-stationary and volatile market conditions.
- The inclusion of XGBoost-based feature engineering significantly enhanced model performance by filtering out low-informative features.
- The trading strategy with profit-saving margin conditions showed more sustainable and realistic profitability, validating the framework’s practical applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.