Parallel option pricing on GPU: barrier options and realized variance options
- 277 Downloads
This paper shows two examples of how the analysis of option pricing problems can lead to computational methods efficiently implemented in parallel. These computational methods outperform “general purpose” methods (i.e., for example, Monte Carlo, finite differences methods). The GPU implementation of two numerical algorithms to price two specific derivatives (continuous barrier options and realized variance options) is presented. These algorithms are implemented in CUDA subroutines ready to run on Graphics Processing Units (GPUs) and their performance is studied. The realization of these subroutines is motivated by the extensive use of the derivatives considered in the financial markets to hedge or to take risk and by the interest of financial institutions in the use of state of the art hardware and software to speed up the decision process. The performance of these algorithms is measured using the (CPU/GPU) speed up factor, that is using the ratio between the (wall clock) times required to execute the code on a CPU and on a GPU. The choice of the reference CPU and GPU used to evaluate the speed up factors presented is stated. The outstanding performance of the algorithms developed is due to the mathematical properties of the pricing formulae used and to the ad hoc software implementation. In the case of realized variance options when the computation is done in single precision the comparisons between CPU and GPU execution times gives speed up factors of the order of a few hundreds. For barrier options, the corresponding speed up factors are of about fifteen, twenty. The CUDA subroutines to price barrier options and realized variance options can be downloaded from the website http://www.econ.univpm.it/recchioni/finance/w13. A more general reference to the work in mathematical finance of some of the authors and of their coauthors is the website http://www.econ.univpm.it/recchioni/finance/.
KeywordsOption pricing Black Scholes model Heston model Numerical quadrature Graphics processing unit Parallel computing
- 2.Fatone L, Recchioni MC, Zirilli F (2008) A perturbative formula to price barrier options with time dependent parameters in the Black Scholes world. J Risk 10:131–146 Google Scholar
- 6.Mariani F, Recchioni MC, Zirilli F (2009) Option engine: a grid enabled software package to evaluate financial options. HPCwire magazine 17 September 2009. http://www.hpcwire.com/features/Option-Engine-A-Grid-Enabled-Software-Package-to-Evaluate-Financial-Options-59669252.html
- 7.Podlozhnyuk V (2007) Black–Scholes option pricing, part of CUDA SDK documentation. http://developer.download.nvidia.com/compute/cuda/3_0/sdk/website/OpenCL/website/OpenCL/src/oclBlackScholes/doc/oclBlackScholes.pdf