CryptoMamba: Leveraging State Space Models for Accurate Bitcoin Price Prediction

Mohammad Shahab Sepehri, Asal Mehradfar, Mahdi Soltanolkotabi, Salman Avestimehr
1/2/2025
cs.LGcs.AIcs.CE

No official code found. Best implementation: MShahabSepehri/CryptoMamba (224 stars, MIT, last commit 2025-05-27).

Abstract

Predicting Bitcoin price remains a challenging problem due to the high volatility and complex non-linear dynamics of cryptocurrency markets. Traditional time-series models, such as ARIMA and GARCH, and recurrent neural networks, like LSTMs, have been widely applied to this task but struggle to capture the regime shifts and long-range dependencies inherent in the data. In this work, we propose CryptoMamba, a novel Mamba-based State Space Model (SSM) architecture designed to effectively capture long-range dependencies in financial time-series data. Our experiments show that CryptoMamba not only provides more accurate predictions but also offers enhanced generalizability across different market conditions, surpassing the limitations of previous models. Coupled with trading algorithms for real-world scenarios, CryptoMamba demonstrates its practical utility by translating accurate forecasts into financial outcomes. Our findings signal a huge advantage for SSMs in stock and cryptocurrency price forecasting tasks.

View on arXivView PDF

Code Implementations(1)

MIT

The implementation of CryptoMamba: Leveraging State Space Models for Accurate Bitcoin Price Prediction

22471Pkl, PythonDec 28, 20241 years agoMIT

Similar Papers

Cite this paper

@article{sepehri2025cryptomamba,
  title  = {CryptoMamba: Leveraging State Space Models for Accurate Bitcoin Price Prediction},
  author = {Mohammad Shahab Sepehri and Asal Mehradfar and Mahdi Soltanolkotabi and Salman Avestimehr},
  year   = {2025},
  eprint = {2501.01010},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.01010v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.01010.svg)](https://codeofpaper.com/paper/2501.01010)

Discussion