A multithreaded Java implementation of Monte Carlo simulation for Value-at-Risk estimation
Paweł Borowiecki, Beata Bylina
DOI: http://dx.doi.org/10.15439/2026F1699
Citation: Paweł Borowiecki, Beata Bylina (2026). A multithreaded Java implementation of Monte Carlo simulation for Value-at-Risk estimation. In M. Bolanowski, M. Ganzha, M. Grzegorowski, L. Maciaszek, M. Paprzycki, A. Paszkiewicz, D. Ślęzak (eds), Proceedings of the 21st Conference on Computer Science and Intelligence Systems (FedCSIS). ACSIS, Vol. 49, pages 11–16.
Abstract. The continuous development of computers has made software that performs calculations in various fields of science, including economics, significantly more efficient. This paper presents two parallel implementations developed in Java and a performance analysis of Monte Carlo simulations for Value-at-Risk estimation, using geometric Brownian motions and a log-normal distribution of returns. The first implementation variant utilizes data parallelism and parallel loops. The second implementation variant, in addition to data parallelism and parallel loops, also utilizes task parallelism and the fork-join model. Software tests were conducted on three computers equipped with Intel processors. The main area of research was the dependence of simulation execution time and speedup on the number of threads and data size. The program's performance was accelerated by more than 42 times.
References
- Alexander J. McNeil, Rüdiger Frey, Paul Embrechts. Quantitative Risk Management: Concepts, Techniques and Tools - Revised Edition. Princeton University Press, 2015.
- John C. Hull. Options, Futures and other derivatives. Pearson Education, 2015.
- Liyanage, DNSS and Fernando, GVMPA and Arachchi, DDMM and Karunathilaka, RDDT and Perera, Amal Shegan. Utilizing Intel advanced vector extensions for Monte Carlo simulation based value at risk computation. Elsevier, 2017. http://dx.doi.org/10.1016/j.procs.2017.05.156
- Wen-Mei W. Hwu. Gpu Computing Gems Jade Edition. Morgan Kaufmann Publishers, 2011. http://dx.doi.org/10.1016/C2010-0-68654-8
- Wei Wu. Acceleration of Monte Carlo Value at Risk Estimation Using Graphics Processing Unit (GPU). City University of New York Academic Works, 2010.
- Tiansheng Wen, Rui Mao, Cheng Tan. Parallel Monte Carlo Simulation of VaR Calculation Based on Intel MIC Architecture. Institute of Electrical and Electronic Engineers, 2020. http://dx.doi.org/10.1109/ICBDIE50010.2020.00116
- Nan Zhang, Ka Lok Man, Eng Gee Lim. Parallel Computation of Value at Risk using the Delta-Gamma Monte Carlo Approach. Proceedings of the International MultiConference of Engineers and Computer Scientists, 2014.
- Philippe Jorion. Value At Risk The new Benchmark for Managing Financial Risk. The McGraw-Hill Companies, 2007.
- Paul Glasserman. Monte Carlo Methods in Financial Engineering. Springer, 2003. http://dx.doi.org/10.1007/978-0-387-21617-1
- Oracle Corporation. Java Platform, Standard Edition & Java Development Kit Version 22 API Specification. Oracle America Inc, 2024.
- Jamie Allen Roland Kuhn, Brian Hanafee. Reactive Design Patterns. Manning Publications Co, 2017.