IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i18p3012-d1752016.html

Risk-Aware Crypto Price Prediction Using DQN with Volatility-Adjusted Rewards Across Multi-Period State Representations

Author

Listed:
  • Otabek Sattarov

    (School of Computing, Gachon University, Seongnam 13120, Republic of Korea)

  • Fazliddin Makhmudov

    (Department of Computer Engineering, Gachon University, Seongnam 13120, Republic of Korea)

Abstract

Forecasting Bitcoin prices remains a complex task due to the asset’s inherent and significant volatility. Traditional reinforcement learning (RL) models often rely on a single observation from the time series, potentially missing out on short-term patterns that could enhance prediction performance. This study presents a Deep Q-Network (DQN) model that utilizes a multi-step state representation, incorporating consecutive historical timesteps to reflect recent market behavior more accurately. By doing so, the model can more effectively identify short-term trends under volatile conditions. Additionally, we propose a novel reward mechanism that adjusts for volatility by penalizing large prediction errors more heavily during periods of high market volatility, thereby encouraging more risk-aware forecasting behavior. We validate the effectiveness of our approach through extensive experiments on Bitcoin data across minutely, hourly, and daily timeframes. The proposed model achieves notable results, including a Mean Absolute Percentage Error (MAPE) of 10.12%, Root Mean Squared Error (RMSE) of 815.33, and Value-at-Risk (VaR) of 0.04. These outcomes demonstrate the advantages of integrating short-term temporal features and volatility sensitivity into RL frameworks for more reliable cryptocurrency price prediction.

Suggested Citation

  • Otabek Sattarov & Fazliddin Makhmudov, 2025. "Risk-Aware Crypto Price Prediction Using DQN with Volatility-Adjusted Rewards Across Multi-Period State Representations," Mathematics, MDPI, vol. 13(18), pages 1-29, September.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:18:p:3012-:d:1752016
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/18/3012/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/18/3012/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Yu-Min Lian & Jia-Ling Chen & Hsueh-Chien Cheng, 2022. "Predicting Bitcoin Prices via Machine Learning and Time Series Models," Journal of Applied Finance & Banking, SCIENPRESS Ltd, vol. 12(5), pages 1-2.
    2. Esam Mahdi & Carlos Martin-Barreiro & Xavier Cabezas, 2025. "A Novel Hybrid Approach Using an Attention-Based Transformer + GRU Model for Predicting Cryptocurrency Prices," Mathematics, MDPI, vol. 13(9), pages 1-19, April.
    3. José Almeida & Tiago Cruz Gonçalves, 2022. "A Systematic Literature Review of Volatility and Risk Management on Cryptocurrency Investment: A Methodological Point of View," Risks, MDPI, vol. 10(5), pages 1-18, May.
    4. Apostolos Ampountolas, 2023. "The Effect of COVID-19 on Cryptocurrencies and the Stock Market Volatility -- A Two-Stage DCC-EGARCH Model Analysis," Papers 2307.09137, arXiv.org.
    5. Volodymyr Mnih & Koray Kavukcuoglu & David Silver & Andrei A. Rusu & Joel Veness & Marc G. Bellemare & Alex Graves & Martin Riedmiller & Andreas K. Fidjeland & Georg Ostrovski & Stig Petersen & Charle, 2015. "Human-level control through deep reinforcement learning," Nature, Nature, vol. 518(7540), pages 529-533, February.
    6. Andrés García-Medina & Ester Aguayo-Moreno, 2024. "LSTM–GARCH Hybrid Model for the Prediction of Volatility in Cryptocurrency Portfolios," Computational Economics, Springer;Society for Computational Economics, vol. 63(4), pages 1511-1542, April.
    7. Apostolos Ampountolas, 2023. "The Effect of COVID-19 on Cryptocurrencies and the Stock Market Volatility: A Two-Stage DCC-EGARCH Model Analysis," JRFM, MDPI, vol. 16(1), pages 1-17, January.
    8. Fahad Mostafa & Pritam Saha & Mohammad Rafiqul Islam & Nguyet Nguyen, 2021. "GJR-GARCH Volatility Modeling under NIG and ANN for Predicting Top Cryptocurrencies," JRFM, MDPI, vol. 14(9), pages 1-22, September.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Alessio Brini & Jimmie Lenz, 2024. "A comparison of cryptocurrency volatility-benchmarking new and mature asset classes," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-38, December.
    2. Mukul Bhatnagar & Sanjay Taneja & Ramona Rupeika-Apoga, 2023. "Demystifying the Effect of the News (Shocks) on Crypto Market Volatility," JRFM, MDPI, vol. 16(2), pages 1-16, February.
    3. Anas Eisa Abdelkreem Mohammed & Henry Mwambi & Bernard Omolo, 2024. "Time-Varying Correlations between JSE.JO Stock Market and Its Partners Using Symmetric and Asymmetric Dynamic Conditional Correlation Models," Stats, MDPI, vol. 7(3), pages 1-16, July.
    4. Mohamed M. Sraieb & Shahnawaz Muhammed & Vladimir Dženopoljac & Samet Gunay, 2025. "Determinants of Russia’s probability of default: evidence from domestic and global indicators," Journal of Economics and Finance, Springer;Academy of Economics and Finance, vol. 49(3), pages 854-882, September.
    5. Apostolos Ampountolas, 2023. "Comparative Analysis of Machine Learning, Hybrid, and Deep Learning Forecasting Models: Evidence from European Financial Markets and Bitcoins," Forecasting, MDPI, vol. 5(2), pages 1-15, June.
    6. Apostolos Ampountolas, 2023. "Comparative Analysis of Machine Learning, Hybrid, and Deep Learning Forecasting Models Evidence from European Financial Markets and Bitcoins," Papers 2307.08853, arXiv.org.
    7. Alessio Brini & Jimmie Lenz, 2024. "A Comparison of Cryptocurrency Volatility-benchmarking New and Mature Asset Classes," Papers 2404.04962, arXiv.org.
    8. Hongxin Yu & Lihui Zhang & Meng Zhang & Fengyue Jin & Yibing Wang, 2024. "Coordinated Ramp Metering Considering the Dynamics of Mixed-Autonomy Traffic," Sustainability, MDPI, vol. 16(22), pages 1-26, November.
    9. Tulika Saha & Sriparna Saha & Pushpak Bhattacharyya, 2020. "Towards sentiment aided dialogue policy learning for multi-intent conversations using hierarchical reinforcement learning," PLOS ONE, Public Library of Science, vol. 15(7), pages 1-28, July.
    10. Hamid Ebrahimi, 2026. "A Novel Evidential Uncertainty Framework for Hybrid Models in Rainfall Simulation," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 40(2), pages 1-24, January.
    11. Mahmoud Mahfouz & Angelos Filos & Cyrine Chtourou & Joshua Lockhart & Samuel Assefa & Manuela Veloso & Danilo Mandic & Tucker Balch, 2019. "On the Importance of Opponent Modeling in Auction Markets," Papers 1911.12816, arXiv.org.
    12. Lixiang Zhang & Yan Yan & Yaoguang Hu, 2024. "Deep reinforcement learning for dynamic scheduling of energy-efficient automated guided vehicles," Journal of Intelligent Manufacturing, Springer, vol. 35(8), pages 3875-3888, December.
    13. Imen Azzouz & Wiem Fekih Hassen, 2023. "Optimization of Electric Vehicles Charging Scheduling Based on Deep Reinforcement Learning: A Decentralized Approach," Energies, MDPI, vol. 16(24), pages 1-18, December.
    14. Benjamin Heinbach & Peter Burggräf & Johannes Wagner, 2024. "gym-flp: A Python Package for Training Reinforcement Learning Algorithms on Facility Layout Problems," SN Operations Research Forum, Springer, vol. 5(1), pages 1-26, March.
    15. Jacob W. Crandall & Mayada Oudah & Tennom & Fatimah Ishowo-Oloko & Sherief Abdallah & Jean-François Bonnefon & Manuel Cebrian & Azim Shariff & Michael A. Goodrich & Iyad Rahwan, 2018. "Cooperating with machines," Nature Communications, Nature, vol. 9(1), pages 1-12, December.
      • Abdallah, Sherief & Bonnefon, Jean-François & Cebrian, Manuel & Crandall, Jacob W. & Ishowo-Oloko, Fatimah & Oudah, Mayada & Rahwan, Iyad & Shariff, Azim & Tennom,, 2017. "Cooperating with Machines," TSE Working Papers 17-806, Toulouse School of Economics (TSE).
      • Abdallah, Sherief & Bonnefon, Jean-François & Cebrian, Manuel & Crandall, Jacob W. & Ishowo-Oloko, Fatimah & Oudah, Mayada & Rahwan, Iyad & Shariff, Azim & Tennom,, 2017. "Cooperating with Machines," IAST Working Papers 17-68, Institute for Advanced Study in Toulouse (IAST).
    16. Sun, Alexander Y., 2020. "Optimal carbon storage reservoir management through deep reinforcement learning," Applied Energy, Elsevier, vol. 278(C).
    17. Konstantin Avrachenkov & Vivek S. Borkar & Pratik Shah, 2026. "Lagrangian index policy for restless bandits with average reward," Queueing Systems: Theory and Applications, Springer, vol. 110(1), pages 1-34, March.
    18. Yassine Chemingui & Adel Gastli & Omar Ellabban, 2020. "Reinforcement Learning-Based School Energy Management System," Energies, MDPI, vol. 13(23), pages 1-21, December.
    19. Woo Jae Byun & Bumkyu Choi & Seongmin Kim & Joohyun Jo, 2023. "Practical Application of Deep Reinforcement Learning to Optimal Trade Execution," FinTech, MDPI, vol. 2(3), pages 1-16, June.
    20. Lu, Yu & Xiang, Yue & Huang, Yuan & Yu, Bin & Weng, Liguo & Liu, Junyong, 2023. "Deep reinforcement learning based optimal scheduling of active distribution system considering distributed generation, energy storage and flexible load," Energy, Elsevier, vol. 271(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:18:p:3012-:d:1752016. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.