Skip to main content
Log in

Bitcoin daily price prediction through understanding blockchain transaction pattern with machine learning methods

  • Published:
Journal of Combinatorial Optimization Aims and scope Submit manuscript

Abstract

Bitcoin has became one of the most popular investment asset recent years. The volatility of bitcoin price in financial market attracting both investors and researchers to study the price changing manners of bitcoin. Existing works try to understand the bitcoin price change by manually discovering features or factors that are assumed to be reasons of price change. However, the trivial feature engineering consumes human resources without the guarantee that the assumptions or intuitions are correct. In this paper, we propose to reveal the bitcoin price change through understanding the patterns of bitcoin blockchain transactions without feature engineering. We first propose k-order transaction subgraphs to capture the patterns. Then with the help of machine learning models, Multi-Window Prediction Framework is proposed to learn the relation between the patterns and the bitcoin prices. Extensive experimental results verify the effectiveness of transaction patterns to understand the bitcoin price change and the superiority of Multi-Window Prediction Framework to integrate multiple submodels trained separately on multiple history periods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

Data availability

The raw data used in this paper are available by public as described in Sect. 5. The intermediate data generated during and/or analysed during the algorithm process are available at request by contacting with the first author.

Notes

  1. Dataset ID is bigquery-public-data: crypto_bitcoin at https://cloud.google.com/bigquery.

  2. https://www.coindesk.com/.

References

  • Aalborg HA, Molnár P, de Vries JE (2019) What can explain the price, volatility and trading volume of bitcoin? Financ Res Lett 29:255–265

    Article  Google Scholar 

  • Abay NC, Akcora CG, Gel YR, Kantarcioglu M, Islambekov UD, Tian Y, Thuraisingham BM (2019) ChainNet: learning on blockchain graphs with topological features. In: Wang J, Shim K, Wu X (eds) 2019 IEEE International Conference on Data Mining, ICDM 2019, Beijing, China, 8–11 Nov 2019. IEEE, pp 946–951. https://doi.org/10.1109/ICDM.2019.00105

  • Aggarwal A, Gupta I, Garg N, Goel A (2019) Deep learning approach to determine the impact of socio economic factors on bitcoin price prediction. In: 2019 twelfth international conference on contemporary computing, IC3 2019, Noida, India, 8–10 Aug 2019. IEEE, pp 1–5. https://doi.org/10.1109/IC3.2019.8844928

  • Akcora CG, Dey AK, Gel YR, Kantarcioglu M (2018) Forecasting bitcoin price with graph chainlets. In: Phung DQ, Tseng VS, Webb GI, Ho B, Ganji M, Rashidi L (eds) Advances in knowledge discovery and data mining—22nd Pacific–Asia conference, PAKDD 2018, Melbourne, VIC, Australia, 3–6 June 2018, Proceedings, Part III, Lecture Notes in Computer Science, vol 10939. Springer, pp 765–776. https://doi.org/10.1007/978-3-319-93040-4_60

  • Balcilar M, Bouri E, Gupta R, Roubaud D (2017) Can volume predict bitcoin returns and volatility? A quantiles-based approach. Econ Model 64:74–81

    Article  Google Scholar 

  • Balfagih AM, Keselj V (2019) Evaluating sentiment c1assifiers for bitcoin tweets in price prediction task. In: 2019 IEEE international conference on big data (big data), Los Angeles, CA, USA, 9–12 Dec 2019. IEEE, pp 5499–5506. https://doi.org/10.1109/BigData47090.2019.9006140

  • Burnie A, Yilmaz E (2019) An analysis of the change in discussions on social media with bitcoin price. In: Piwowarski B, Chevalier M, Gaussier É, Maarek Y, Nie J, Scholer F (eds) Proceedings of the 42nd international ACM SIGIR conference on research and development in information retrieval, SIGIR 2019, Paris, France, 21–25 July 2019. ACM, pp 889–892. https://doi.org/10.1145/3331184.3331304

  • Cavalli S, Amoretti M (2021) CNN-based multivariate data analysis for bitcoin trend prediction. Appl Soft Comput 101:107065. https://doi.org/10.1016/j.asoc.2020.107065

    Article  Google Scholar 

  • Cerda GC, Reutter JL (2019) Bitcoin price prediction through opinion mining. In: Amer-Yahia S, Mahdian M, Goel A, Houben G, Lerman K, McAuley JJ, Baeza-Yates R, Zia L (eds) Companion of the 2019 world wide web conference, WWW 2019, San Francisco, CA, USA, 13–17 May 2019,.ACM, pp 755–762. https://doi.org/10.1145/3308560.3316454

  • Chen C, Chang J, Lin F, Hung J, Lin C, Wang Y (2019) Comparison of forcasting ability between backpropagation network and ARIMA in the prediction of bitcoin price. In: 2019 international symposium on intelligent signal processing and communication systems, ISPACS 2019, Taipei, Taiwan, 3–6 Dec 2019. IEEE, pp 1–2. https://doi.org/10.1109/ISPACS48206.2019.8986297

  • Chen W, Zheng Z, Ma M, Wu J, Zhou Y, Yao J (2020a) Dependence structure between bitcoin price and its influence factors. IJCSE. pp 334–345. https://doi.org/10.1504/IJCSE.2020.106058

    Chapter  Google Scholar 

  • Chen Z, Li C, Sun W (2020b) Bitcoin price prediction using machine learning: an approach to sample dimension engineering. J Comput Appl Math. https://doi.org/10.1016/j.cam.2019.112395

    Article  MathSciNet  MATH  Google Scholar 

  • Ciaian P, Rajcaniova M, Kancs A (2016) The economics of bitcoin price formation. Appl Econ 48(19):1799–1815. https://doi.org/10.1080/00036846.2015.1109038

    Article  Google Scholar 

  • Ding X, Guo J, Li D, Wu W (2021) An incentive mechanism for building a secure blockchain-based internet of things. IEEE Trans Netw Sci Eng 8(1):477–487. https://doi.org/10.1109/TNSE.2020.3040446

    Article  MathSciNet  Google Scholar 

  • Ding X, Guo J, Li D, Wu W (2022) Pricing and budget allocation for IoT blockchain with edge computing. IEEE Trans Cloud Comput. https://doi.org/10.1109/TCC.2022.3150766

    Article  Google Scholar 

  • Felizardo L, Oliveira R, Del-Moral-Hernandez E, Cozman F (2019) Comparative study of bitcoin price prediction using wavenets, recurrent neural networks and other machine learning methods. In: 6th international conference on behavioral, economic and socio-cultural computing, BESC 2019, Beijing, China, 28–30 Oct 2019. IEEE, pp 1–6. https://doi.org/10.1109/BESC48373.2019.8963009

  • Georgoula I, Pournarakis D, Bilanakos C, Sotiropoulos DN, Giaglis GM (2015) Using time-series and sentiment analysis to detect the determinants of bitcoin prices. In: 9th Mediterranean conference on information systems, MCIS 2015, Samos, Greece, 2–5 Oct 2015. Proceedings, AISeL, p 20. http://aisel.aisnet.org/mcis2015/20

  • Guo H, Zhang D, Liu S, Wang L, Ding Y (2021a) Bitcoin price forecasting: a perspective of underlying blockchain transactions. Decis Support Syst 151:113650. https://doi.org/10.1016/j.dss.2021.113650

    Article  Google Scholar 

  • Guo J, Ding X, Wu W (2021b) A blockchain-enabled ecosystem for distributed electricity trading in smart city. IEEE Internet Things J 8(3):2040–2050. https://doi.org/10.1109/JIOT.2020.3015980

    Article  Google Scholar 

  • Guo J, Ding X, Wu W (2021c) Reliable traffic monitoring mechanisms based on blockchain in vehicular networks. IEEE Trans Reliab. https://doi.org/10.1109/TR.2020.3046556

    Article  Google Scholar 

  • Guo Q, Lei S, Ye Q, Fang Z (2021d) MRC-LSTM: a hybrid approach of multi-scale residual CNN and LSTM to predict bitcoin price. In: International joint conference on neural networks, IJCNN 2021, Shenzhen, China, 18–22 July 2021,.IEEE, pp 1–8. https://doi.org/10.1109/IJCNN52387.2021.9534453

  • Guo J, Ding X, Wu W (2022) An architecture for distributed energies trading in byzantine-based blockchains. IEEE Trans Green Commun Netw 6(2):1216–1230. https://doi.org/10.1109/TGCN.2022.3142438

    Article  Google Scholar 

  • Gyamerah SA (2021) Two-stage hybrid machine learning model for high-frequency intraday bitcoin price prediction based on technical indicators, variational mode decomposition, and support vector regression. Complexity 2021:1767708:1-1767708:15. https://doi.org/10.1155/2021/1767708

    Article  Google Scholar 

  • Hashish IA, Forni F, Andreotti G, Facchinetti T, Darjani S (2019) A hybrid model for bitcoin prices prediction using hidden Markov models and optimized LSTM networks. In: 24th IEEE international conference on emerging technologies and factory automation, ETFA 2019, Zaragoza, Spain, 10–13 Sept 2019. IEEE, pp 721–728. https://doi.org/10.1109/ETFA.2019.8869094

  • Koo E, Kim G (2021) Prediction of bitcoin price based on manipulating distribution strategy. Appl Soft Comput 110:107738. https://doi.org/10.1016/j.asoc.2021.107738

    Article  Google Scholar 

  • Koutmos D (2018) Bitcoin returns and transaction activity. Econ Lett 167:81–85

    Article  Google Scholar 

  • Kristoufek L (2013) Bitcoin meets google trends and Wikipedia: quantifying the relationship between phenomena of the internet era. Sci Rep 3(1):1–7

    Article  Google Scholar 

  • Kristoufek L (2015) What are the main drivers of the bitcoin price? Evidence from wavelet coherence analysis. PLoS ONE 10(4):e0123923

    Article  Google Scholar 

  • Kyle AS (1985) Continuous auctions and insider trading. Econom: J Econom Soc 53:1315–1335

    Article  MATH  Google Scholar 

  • Li X, Du L (2021) A multi-window bitcoin price prediction framework on blockchain transaction graph. In: Wu W, Du H (eds) Algorithmic aspects in information and management—15th international conference, AAIM 2021, Virtual Event, 20–22 Dec 2021, Proceedings, Lecture Notes in Computer Science, vol 13153. Springer, pp 317–328. https://doi.org/10.1007/978-3-030-93176-6_27

  • Llorente G, Michaely R, Saar G, Wang J (2002) Dynamic volume-return relation of individual stocks. Rev Financ Stud 15(4):1005–1047

    Article  Google Scholar 

  • Luo C, Xu L, Li D, Wu W (2020) Edge computing integrated with blockchain technologies. In: Du D, Wang J (eds) Complexity and approximation—in memory of Ker-I Ko, vol 12000. Lecture Notes in Computer Science. Springer, Cham, pp 268–288. https://doi.org/10.1007/978-3-030-41672-0_17

    Chapter  Google Scholar 

  • Maesa DDF, Marino A, Ricci L (2016) Uncovering the bitcoin blockchain: an analysis of the full users graph. In: 2016 IEEE international conference on data science and advanced analytics, DSAA 2016, Montreal, QC, Canada, 17–19 Oct 2016. IEEE, pp 537–546. https://doi.org/10.1109/DSAA.2016.52

  • Mallqui DCA, Fernandes RAS (2019) Predicting the direction, maximum, minimum and closing prices of daily bitcoin exchange rate using machine learning techniques. Appl Soft Comput 75:596–606. https://doi.org/10.1016/j.asoc.2018.11.038

    Article  Google Scholar 

  • Mallqui DCA, Fernandes RAS (2021) Analysis of technical, economic and social information features to predict the bitcoin price direction for day-trade operations. In: International joint conference on neural networks, IJCNN 2021, Shenzhen, China, 18–22 July 2021. IEEE, pp 1–7. https://doi.org/10.1109/IJCNN52387.2021.9534056

  • Mittal A, Dhiman V, Singh A, Prakash C (2019) Short-term bitcoin price fluctuation prediction using social media and web search data. In: 2019 twelfth international conference on contemporary computing, IC3 2019, Noida, India, 8–10 Aug 2019. IEEE, pp 1–6. https://doi.org/10.1109/IC3.2019.8844899

  • Naeem M, Bouri E, Boako G, Roubaud D (2020) Tail dependence in the return-volume of leading cryptocurrencies. Financ Res Lett 36:101326

    Article  Google Scholar 

  • Nakamoto S (2009) Bitcoin: a peer-to-peer electronic cash system

  • Nguyen D, Le H (2019) Predicting the price of bitcoin using hybrid ARIMA and machine learning. In: Dang TK, Küng J, Takizawa M, Bui SH (eds) Future data and security engineering—6th international conference, FDSE 2019, Nha Trang City, Vietnam, 27–29 Nov 2019, Proceedings, Lecture Notes in Computer Science, vol 11814. Springer, pp 696–704. https://doi.org/10.1007/978-3-030-35653-8_49

  • Pieters G, Vivanco S (2017) Financial regulations and price inconsistencies across bitcoin markets. Inf Econ Policy 39:1–14. https://doi.org/10.1016/j.infoecopol.2017.02.002

    Article  Google Scholar 

  • Rajakumar BR, Binu D, Shaek MR (2022) Optimal prediction of bitcoin prices based on deep belief network and lion algorithm with adaptive price size: optimal prediction of bitcoin prices. Int J Distrib Syst Technol 13(1):1–28. https://doi.org/10.4018/IJDST.296251

    Article  Google Scholar 

  • Schneider J (2009) A rational expectations equilibrium with informative trading volume. J Financ 64(6):2783–2805

    Article  Google Scholar 

  • Shahzad MK, Bukhari L, Khan TM, Islam SMR, Hossain MM, Kwak K (2021) BPTE: bitcoin price prediction and trend examination using twitter sentiment analysis. In: International conference on information and communication technology convergence, ICTC 2021, Jeju Island, Republic of Korea, 20–22 Oct 2021. IEEE, pp 119–122. https://doi.org/10.1109/ICTC52510.2021.9620216

  • Shin M, Mohaisen D, Kim J (2021) Bitcoin price forecasting via ensemble-based LSTM deep learning networks. In: International conference on information networking, ICOIN 2021, Jeju Island, South Korea, 13–16 Jan 2021. IEEE, pp 603–608. https://doi.org/10.1109/ICOIN50884.2021.9333853

  • Sin E, Wang L (2017) Bitcoin price prediction using ensembles of neural networks. In: Liu Y, Zhao L, Cai G, Xiao G, Li K, Wang L (eds) 13th international conference on natural computation, fuzzy systems and knowledge discovery, ICNC-FSKD 2017, Guilin, China, 29–31 July 2017. IEEE, pp 666–671. https://doi.org/10.1109/FSKD.2017.8393351

  • Vassiliadis S, Papadopoulos P, Rangoussi M, Konieczny T, Gralewski J (2017) Bitcoin value analysis based on cross-correlations. J Internet Bank Commer 22(S7):1

    Google Scholar 

  • Yao W, Xu K, Li Q (2019) Exploring the influence of news articles on bitcoin price with machine learning. In: 2019 IEEE symposium on computers and communications, ISCC 2019, Barcelona, Spain, 29 June–3 July 2019. IEEE, pp 1–6. https://doi.org/10.1109/ISCC47284.2019.8969596

  • Yermack DL (2013) Is bitcoin a real currency? An economic appraisal. Econ Innov eJournal

  • Yogeshwaran S, Kaur MJ, Maheshwari P (2019) Project based learning: predicting bitcoin prices using deep learning. In: Ashmawy AK, Schreiter S (eds) IEEE global engineering education conference, EDUCON 2019, Dubai, United Arab Emirates, 8–11 April 2019. IEEE, pp 1449–1454. https://doi.org/10.1109/EDUCON.2019.8725091

Download references

Funding

The authors declare that no funds, grants, or other support were received during the preparation of this manuscript.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xiao Li.

Ethics declarations

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

Conflict of interest

The authors declare that they have no relevant financial or non-financial interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

A preliminary version of this work has been published in the proceeding AAIM 2021 (Li and Du 2021).

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Li, X., Du, L. Bitcoin daily price prediction through understanding blockchain transaction pattern with machine learning methods. J Comb Optim 45, 4 (2023). https://doi.org/10.1007/s10878-022-00949-9

Download citation

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10878-022-00949-9

Keywords

Navigation