I'm currently working on my Masters project related to accelerating Greeks computations for CVA on mixed interest rate portfolios. I would like to know about the status of technology for CVA and its Greeks computations in the industry (mainly related to speed of computation).

Example situation:

  1. Portfolio of 100 000 instruments
  2. Mixture of IR Swaps, Swaptions on multiple currencies
  3. Consider case with credit/IR correlations AND without them

Question: How long (approximately, or simply mention the order) would it take on your system (or system you know) to compute total CVA (including all the netting agreements, collaterization stuff...) and sensitivities of it to every yield curve used, vol surface?

If it is not too confidential, mention the underlying technology (cpu cluster, gpus) and maybe also methods used (like Longstaff-Schwartz); you can skip the name of institution.

Why I need this? I do have a few numbers from local smaller banks, but I'd like to get a broader picture for the need of accelerated methods for these computations.

(Basel III is coming soon, so this will be mandatory for every single serious bank.)

I hope it is clear what I'm seeking.

  • $\begingroup$ Community wiki? $\endgroup$ – quant_dev Mar 25 '11 at 12:40
  • $\begingroup$ A link ? If i google about it - i get a few papers on CVA on SWAPS (mainly D.Brigo) & lots of forum posts on how people have not clue how it works. $\endgroup$ – Vytautas Mar 25 '11 at 12:57
  • $\begingroup$ Can you share the papers? $\endgroup$ – SmallChess Mar 29 '11 at 0:40
  • $\begingroup$ start here: defaultrisk.com/rs_brigo_damiano.htm See "Counterparty Risk" $\endgroup$ – Vytautas Mar 29 '11 at 9:43
  • 1
    $\begingroup$ Phil, This question was posted 1.5 years ago. Currently I have been still hearing compute times ranging from several minutes to 4-8 hours (depending if grids are used, GPUs, FPGAs)... nothing concrete - I can only guess how fast is the JPM FPGA machines working... $\endgroup$ – Vytautas Oct 19 '12 at 15:51

Claudio Albanese has a paper on the topic of GPUs and CVA computations. Here is one of his papers: link to paper

  • $\begingroup$ :) I've read the paper and quite a few others by Luca Capriotti. I'd like to mark this question as closed as I dont think I'll get a straight answer to initial question - which was how time-consuming these computations were on existing systems. Yes with infinite parallelization - comp time goes to zero, but nobody has infinite resources... $\endgroup$ – Vytautas May 6 '11 at 8:10
  • 1
    $\begingroup$ Then the question is even more vague :) You either speed up by adding hardware or find more of analytical solution to a very multi-factor problem. Haven't seen Capriotti papers, will take a look. GPUs is an easy add-on to most desktop/server systems and with just 2 Tesla cards you can get 1000 cores on one server, inexpensive speedup(especially for MC problems) for just reprogramming the software. $\endgroup$ – Ari May 6 '11 at 19:50
  • 1
    $\begingroup$ lol at "just reprogramming the software." $\endgroup$ – Tim Barrass Sep 21 '12 at 12:38

This book is quite good as a starting point:


  • $\begingroup$ The book & the theory is not what i'm looking for. <br> I'm trying to get a picture on the computational complexity people face in practical implementations, runtime. $\endgroup$ – Vytautas Mar 25 '11 at 13:31
  • $\begingroup$ Gregory actually discusses this in his book. A generic answer people can give you is "there's lots of complexity" (why? because you need to evalute lots of future scenarios). If you want a detailed answer, you need to be more precise in your question. $\endgroup$ – quant_dev Mar 25 '11 at 14:31
  • $\begingroup$ Some details for the question: 3000 scenarios, 10y horizon, 100 observation dates for the PFE. I managed to get my hands on the mentioned book, but i still don't see any example timings, which is mainly what i'm searching for... $\endgroup$ – Vytautas Mar 25 '11 at 15:07
  • $\begingroup$ Can you evaluate scenarios in parallel? $\endgroup$ – quant_dev Mar 25 '11 at 20:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.