TL;DR
This paper introduces "PreBit," a multimodal deep learning model that combines Twitter sentiment (using FinBERT embeddings) with traditional financial data to predict extreme price movements in Bitcoin. By leveraging both textual and numerical data, PreBit achieves improved prediction accuracy and enables the development of a profitable trading strategy with reduced risk, particularly during volatile market conditions.
What Problem Does This Paper Address?
Predicting extreme price movements in volatile assets like Bitcoin is a significant challenge. While traditional methods rely on historical price and technical indicators, they often miss the influence of real-time market sentiment. Existing approaches that incorporate social media data often simplify it to sentiment scores, potentially losing valuable contextual information. This paper aims to bridge this gap by developing a multimodal model that uses rich, domain-specific text embeddings from Twitter (FinBERT) alongside financial data to achieve more accurate predictions of extreme price fluctuations.
Methods
The core of the PreBit model is a hybrid architecture that fuses predictions from two main components:
- Twitter CNN Model: This component processes daily tweets. After preprocessing, tweets are embedded using FinBERT, a BERT model fine-tuned on financial text. These embeddings are then fed into either a parallel or sequential Convolutional Neural Network (CNN) architecture to capture linguistic patterns and collective sentiment.
- TA SVM Model: This component utilizes traditional financial data, including candlestick (OHLCV) data, technical indicators, and prices of correlated assets (Ethereum, Gold). A Support Vector Machine (SVM) with a Radial Basis Function (RBF) kernel is employed for prediction.
These two models are then combined in a Fusion Model, which takes the predicted probabilities from each component and makes a final prediction. The authors also explore the impact of different loss functions (Cross Entropy vs. Focal Loss) for the CNN and investigate the influence of predictive thresholds on trading strategy performance.
Datasets
- PreBit Dataset: A newly introduced, publicly available dataset comprising:
- 9,435,437 tweets containing the keyword "Bitcoin" from January 1, 2015, to May 31, 2021.
- Daily Bitcoin OHLCV data from CryptoCompare.
- 13 standard technical indicators and prices of correlated assets (Ethereum, Gold).
Key Insights and Ideas
- FinBERT's Advantage: Using FinBERT for tweet embeddings, which is pre-trained on financial lexicons, significantly improves the model's ability to understand financial jargon and context compared to general-purpose NLP models.
- Multimodality Matters: Combining Twitter data with traditional financial data (TA) leads to better prediction performance, especially for upward price movements, confirming the value of incorporating social media sentiment.
- Fusion Model Balance: The fusion model effectively balances the strengths of the TA SVM (precision) and Twitter CNN (recall), leading to improved overall performance and a more robust trading strategy.
- Threshold Tuning for Risk Management: Adjusting the prediction threshold for the fusion model can significantly impact the trade-off between precision and recall, allowing for strategies that are more risk-averse or opportunity-seeking.
- Bear Market Usefulness: The proposed models and trading strategies demonstrate significant value during bear markets, where they can provide positive returns and reduce risk exposure compared to simple buy-and-hold strategies.
Key Results
- Improved Prediction Accuracy: The fusion models (both parallel and sequential CNNs) generally outperformed individual modality models (TA SVM and Twitter CNN alone) across various tasks, particularly in predicting upward price movements. For Task Up 5%, the fusion model achieved a higher F1-score and overall accuracy than the TA SVM.
- Trading Strategy Performance: Backtesting results for a simple long-only trading strategy based on predicting a 5% upward movement showed promising results. The TA SVM and Fusion models (especially with a 0.95 threshold) achieved competitive profits while significantly reducing maximum drawdown compared to Buy and Hold strategies.
- Risk Reduction: During the bear period, the TA SVM and Fusion models with higher thresholds (0.95 and 0.99) demonstrated superior performance, achieving positive profits (e.g., 32% for Fusion model with 0.99 threshold) while the Buy and Hold strategy incurred substantial losses (-40.5%).
Limitations and Future Work
- Tweet Representativeness: The current dataset of 5,000 tweets per day might not fully capture the entire market sentiment, especially as the Bitcoin market grows. Future work could focus on selecting tweets from influential users ("crypto-Twitter sphere") or fine-tuning the embedding model for cryptocurrency-specific language.
- Limited Test Period: The backtesting was conducted on a specific period, which included a bull and a bear phase. Testing on more diverse market conditions and longer timeframes is needed to assess robustness.
- Statistical Significance: While statistical tests were explored, they did not meet the criteria to reject the null hypothesis, suggesting the need for more robust testing methods in future research.
- Trading Strategy Complexity: The current trading strategy is simple. Future work could explore more complex strategies, including position sizing based on model probabilities and incorporating transaction costs.
- Generalizability: Testing the model on other digital assets (e.g., Ethereum, Solana, FLOW) would be valuable to assess its generalizability.
Summary updated