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