Market Risk And Aggregation

So you’ve finally managed to calculate your Market Risk (Partial PV01). What do we do now? Well you probably want to display the number on a traders UI. However, if you have a book that has many trades, do you display PV01 for each trade? Probably now. You probably want to aggregate trades, with different traders wanting different aggregations – many dimensions.

A classic aggregation might be based on organisation hierarchy: Region-Desk-Book. There are many regions, each region can have 1 or more desks, each desk can have many books. When a trades PV01 is calculated the appropriate aggregation needs to be updated. Another fairly classic aggregation is by asset class, where the buy/sell-side may have a hierarchical structure of asset classes e.g. Rates contains all Bonds, IRS and FX trades. Now a trader might want to see various aggregations on his UI, and he may want to slice and dice his trades based of numerous other possible aggregations. What is clear is that you probably can’t calculate in real-time every possible aggregation, and that you are probably better off only calculating (and hence streaming) the aggregations that users are currently viewing.

You may consider using OLAP to handle the aggregations. Oracle, Microsoft and others provide OLAP support on top of relational database, but for anything approaching real-time risk, OLAP is probably just not going to keep up and provide sub second response times coupled with streamed notifications. A number of other vendors have built OLAP cubes in memory, or used vector databases which can provide appropriate real-time aggregation.

Where am I going with all of this? More to come…..

Advertisement

~ by mdavey on March 16, 2010.

One Response to “Market Risk And Aggregation”

  1. [...] terms, the measure at the intersection of several hierarchies).  Anyway, I’m not going to go into any more depth as far as the nitty-gritty of the coding is concerned, but here are a few [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 272 other followers