I am thinking of writing a VaR framework for my existing system, using quantlib to do the bulk of the calculations.
Despite several searches, I have not as yet come across a quantlib VaR implementation. Is anyone aware of a quantlib based VaR implementation that I may be able to use a s a starting point (to prevent reinventing the wheel)?
Assuming that such a library/framework does not exist - could someone please outline the main steps involved in putting together such a system - so I can make sure that I am not missing anything obvious/ I am on the right track.
For instance, I will have to map my current rate curves and instruments to the Quantlib objects. I will write adaptors to doing the mapping between the classes so assuming that is out of the way, it would be useful to get an outline of the steps required to put a VaR system together using quantlib (assuming there is no such library/framework to build from).