[Paper Review] A Deep Learning Framework for Predicting Digital Asset Price Movement from Trade-by-trade Data
This paper proposes a deep learning framework using Long Short-Term Memory (LSTM) networks to predict short-term price movements in cryptocurrencies using high-frequency trade-by-trade data. Trained on over 119 million BTC-USDT trades, the model achieves over 60% accuracy on out-of-sample test data and generalizes effectively to other digital assets without retraining, demonstrating the existence of universal price-predictive features in trade-level data.
This paper presents a deep learning framework based on Long Short-term Memory Network(LSTM) that predicts price movement of cryptocurrencies from trade-by-trade data. The main focus of this study is on predicting short-term price changes in a fixed time horizon from a looking back period. By carefully designing features and detailed searching for best hyper-parameters, the model is trained to achieve high performance on nearly a year of trade-by-trade data. The optimal model delivers stable high performance(over 60% accuracy) on out-of-sample test periods. In a realistic trading simulation setting, the prediction made by the model could be easily monetized. Moreover, this study shows that the LSTM model could extract universal features from trade-by-trade data, as the learned parameters well maintain their high performance on other cryptocurrency instruments that were not included in training data. This study exceeds existing researches in term of the scale and precision of data used, as well as the high prediction accuracy achieved.
Motivation & Objective
- To develop a deep learning framework capable of predicting short-term price direction in cryptocurrencies using high-frequency trade-by-trade data.
- To address challenges in financial time series forecasting such as skewed class distributions, non-stationary price regimes, and high transaction frequency.
- To evaluate model performance on out-of-sample data and assess transferability across different cryptocurrency trading pairs.
- To investigate whether universal features exist in trade-by-trade data that enable cross-asset generalization of price prediction models.
- To demonstrate the practical monetization potential of the model in a realistic trading simulation environment.
Proposed method
- The model uses a Long Short-Term Memory (LSTM) network architecture to process sequential trade-by-trade data over a fixed lookback window.
- Features are carefully engineered from raw trade data, including price changes, volume imbalances, and order flow indicators within rolling time windows.
- A novel data sampling strategy employs random offsets to generate diverse training examples, reducing redundancy while maintaining data coverage and utilization.
- The training and validation sets are constructed with stratified sampling to preserve similar class distributions, improving generalization and reducing overfitting.
- Hyperparameters are tuned via extensive grid search, with optimal settings found for lookback window length (l=300,000 trades) and prediction horizon (m=6 five-minute intervals).
- A trading simulation is conducted by resampling trade data into five-minute intervals and executing trades based on model predictions, with transaction costs considered.
Experimental results
Research questions
- RQ1Can an LSTM-based model achieve high accuracy in predicting short-term price movements using only trade-by-trade data from a single cryptocurrency?
- RQ2Does the model generalize to other digital assets without retraining, indicating the presence of universal features in trade-level data?
- RQ3How do hyperparameter choices—particularly lookback window size and prediction horizon—affect model performance and generalization?
- RQ4Can the model’s predictions be monetized in a realistic trading simulation with transaction costs?
- RQ5Is there a stable correlation between model performance and resampling interval length or prediction horizon?
Key findings
- The optimal LSTM model achieves an out-of-sample prediction accuracy of over 60% on a three-month test period (2019/12/01–2020/02/28), significantly exceeding baseline performance in prior research.
- The model generalizes effectively to other major cryptocurrencies: Ethereum (60.48%), Bitcoin Cash (60.17%), Litecoin (59.96%), and EOS (60.03%) all show high accuracy without retraining.
- The model outperforms Bitcoin’s price performance in a simulated trading environment, indicating potential for real-world profit generation despite transaction cost challenges.
- The model’s performance is robust across different time horizons and resampling intervals, with longer intervals and shorter prediction horizons yielding better results.
- The use of random offset sampling significantly reduces training redundancy while maintaining data utilization and model generalization.
- The results suggest that digital asset price movements are predictable to a meaningful degree, and that trade-by-trade data contains universal features extractable by deep learning models.
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.