Risk Management with QuantLib

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Risk Management with QuantLib

Slava D
guys,
 
I am trying to use QL to do Risk Management for a given portfolio.
 
I assume that QL has everything required for a proper RM system.
 
I feel that the approach chosen in QL for RM is a combination of Visitor and Observer design patterns.
 
a couple of questions:
 
1. how would you personally design RM based on QL
2. why do you need visitability for payoffs
3. why do you have visitability on vol surface term structures and not on other market data (say, yield curves)
 
many thanks,
 
Slava
 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Risk Management with QuantLib

Luigi Ballabio
On Mon, 2009-08-03 at 11:40 +0200, Slava D wrote:
> I am trying to use QL to do Risk Management for a given portfolio.
>  
> I assume that QL has everything required for a proper RM system.
>  
> I feel that the approach chosen in QL for RM is a combination of
> Visitor and Observer design patterns.

Observer much more than Visitor, I'd say. You can probably perform RM
just using observability. Of course it depends on the methodology you're
using; but keeping a set of handles for the market observables, passing
them to the instruments/pricing engines, relinking them to new data
and/or scenarios, and asking the instruments for new prices should do
the trick.

Luigi


--

Greenspun's Tenth Rule of Programming:
Any sufficiently complicated C or Fortran program contains an
ad-hoc, informally-specified bug-ridden slow implementation of
half of Common Lisp.



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev