Web-Based Cryptocurrency Wallet Portfolio Risk Assessment System Using the Rule-Based Classification Method

  • Istu Amlu Baihaqqi Universitas Bina Darma, Palembang, Indonesia
  • Ari Muzakir Universitas Bina Darma, Palembang, Indonesia
Keywords: cryptocurrency, Herfindahl-Hirschman Index, portfolio, risk assessment, rule-based classification

Abstract

Retail cryptocurrency investors struggle to assess portfolio risk because conventional statistical methods such as Value at Risk produce probabilistic outputs that are difficult for non-expert users to interpret. This study develops a web-based cryptocurrency wallet portfolio risk assessment system that combines Rule-Based Classification with the Herfindahl-Hirschman Index (HHI). The system evaluates each asset through four quantitative variables: market capitalization, 24-hour trading volume, 30-day price volatility, and liquidity ratio. These variables are processed by an IF-THEN rule base that produces a score from 0 to 12 and classifies assets into three risk levels, namely Low (below 5), Medium (5 to 8), and High (9 and above). At the portfolio level, HHI measures asset concentration as diversified below 0.15, moderate between 0.15 and 0.25, and concentrated at 0.25 or higher. The system covers Solana through Helius, Ethereum through Alchemy, and Bitcoin through Blockstream, with market data from CoinGecko. Testing comprised 250 automated tests on the two core modules, consisting of 87 unit tests and 163 rule-base validation tests, all passed with 100 percent code coverage on four metrics. Fourteen black-box scenarios succeeded, and Equivalence Partitioning together with Boundary Value Analysis verified the classification thresholds. Validation against an independent manual reference on 89 assets produced a 100 percent agreement level and a Cohen's Kappa of 1.0000. Evaluation of four portfolio scenarios showed that system output matched manual calculation on every component. The combination yields a transparent portfolio risk assessment presented as risk categories with traceable rule explanations.

References

Amihud, Y. (2002). Illiquidity and stock returns: cross-section and time-series effects. Journal of Financial Markets, 5(1), 31--56. https://doi.org/10.1016/S1386-4181(01)00024-6
Chainalysis. (2025). The 2025 Global Crypto Adoption Index. https://www.chainalysis.com/blog/2025-global-crypto-adoption-index/
Chapman, P. (2000). CRISP-DM 1.0: Step-by-step data mining guide. https://api.semanticscholar.org/CorpusID:59777418
Cohen, J. (1960). A Coefficient of Agreement for Nominal Scales. Educational and Psychological Measurement, 20(1), 37--46. https://doi.org/10.1177/001316446002000104
CoinGecko. (2023). What is market capitalization in crypto? https://www.coingecko.com/learn/market-capitalization-crypto
Datar, V. T., Y. Naik, N., & Radcliffe, R. (1998). Liquidity and stock returns: An alternative test. Journal of Financial Markets, 1(2), 203--219. https://doi.org/10.1016/S1386-4181(97)00004-9
Felderer, M., & Schieferdecker, I. (2014). A taxonomy of risk-based testing. International Journal on Software Tools for Technology Transfer, 16(5), 559--568. https://doi.org/10.1007/s10009-014-0332-3
Firouzi, K. (2025). Quantifying Crypto Portfolio Risk: A Simulation-Based Framework Integrating Volatility, Hedging, Contagion, and Monte Carlo Modeling. http://arxiv.org/abs/2507.08915
Fourqoniah, F., Bharata, W., & Mahriani, W. (2024). The role of psychological aspects to measure Indonesian cryptocurrency investor behavior. Jurnal Ekonomi Dan Bisnis, 27(Oktober), 81--102.
Hidayat, R., & Maisyarah, R. (2025). Analysis of Risk and Return on Investments in Cryptocurrency Instruments in Indonesia from 2022 to 2024. TRANSEKONOMIKA: AKUNTANSI, BISNIS DAN KEUANGAN, 5(5), 1083--1102. https://doi.org/10.55047/transekonomika.v5i5.1056
Kovas, K., & Hatzilygeroudis, I. (2024). ACRES : A framework for (semi)automatic generation of rule-based expert systems with uncertainty from datasets. Expert Systems, 41(12). https://doi.org/10.1111/exsy.13723
Landis, J. R., & Koch, G. G. (1977). The Measurement of Observer Agreement for Categorical Data. Biometrics, 33(1), 159. https://doi.org/10.2307/2529310
Liashenko, O., Adamyk, B., & Adamyk, O. (2026). Cryptocurrency market maturation and evolving risk profiles: A comparative analysis of Bitcoin and Ethereum tail risk dynamics. FinTech, 5(2), 28. https://doi.org/10.3390/fintech5020028
Markowitz, H. (1952). Portfolio Selection. The Journal of Finance, 7(1), 77--91. https://doi.org/10.1111/j.1540-6261.1952.tb01525.x
Mena, L. J., García, V., Félix, V. G., Ostos, R., Martínez-Peláez, R., Ochoa-Brust, A., & Velarde-Alvarado, P. (2024). Enhancing financial risk prediction with symbolic classifiers: addressing class imbalance and the accuracy--interpretability trade--off. Humanities and Social Sciences Communications, 11(1), 1540. https://doi.org/10.1057/s41599-024-04047-5
Nuhiu, A., Aliu, F., Horák, J., & Peci, B. (2023). Making Informed Decisions in the Volatile Crypto Market: An Analysis of Portfolio Risk and Return. Sage Open, 13(3). https://doi.org/10.1177/21582440231193600
Otoritas Jasa Keuangan. (2024). Peraturan Otoritas Jasa Keuangan Nomor 27 Tahun 2024 tentang Penyelenggaraan Perdagangan Aset Keuangan Digital Termasuk Aset Kripto.
Otoritas Jasa Keuangan. (2025). Peraturan Otoritas Jasa Keuangan Nomor 23 Tahun 2025 tentang Perubahan atas Peraturan Otoritas Jasa Keuangan Nomor 27 Tahun 2024 tentang Penyelenggaraan Perdagangan Aset Keuangan Digital Termasuk Aset Kripto.
Otoritas Jasa Keuangan. (2026). Statistik aset keuangan digital dan aset kripto. https://ojk.go.id/id/statistik/itsk/statistik-aset-keuangan-dan-aset-kripto/default.aspx
Pressman, R. S., & Maxim, B. R. (2020). Software Engineering: A Practitioner's Approach (9th ed.). McGraw-Hill Education.
Rhoades, S. A. (1993). The Herfindahl-Hirschman Index. http://fraser.stlouisfed.org/
Soui, M., Gasmi, I., Smiti, S., & Ghédira, K. (2019). Rule-based credit risk assessment model using multi-objective evolutionary algorithms. Expert Systems with Applications, 126, 144--157. https://doi.org/10.1016/j.eswa.2019.01.078
U.S. Department of Justice, & Federal Trade Commission. (2010). Horizontal Merger Guidelines. https://www.justice.gov/atr/horizontal-merger-guidelines-08192010
Vidal-Tomás, D. (2022). Which cryptocurrency data sources should scholars use? International Review of Financial Analysis, 81, 102061. https://doi.org/10.1016/j.irfa.2022.102061
Published
2026-09-11
How to Cite
Amlu Baihaqqi, I., & Ari Muzakir. (2026). Web-Based Cryptocurrency Wallet Portfolio Risk Assessment System Using the Rule-Based Classification Method. International Journal of Education, Vocational and Social Science , 5(04), 918-934. https://doi.org/10.63922/ijevss.v5i04.6420