Queries an already created risk report object that can be hedged via YieldCurve instruments (ie - via a call to
ReadYCRiskReport(),
CreateDeltaReport() or
CreateGammaReport()).
The results will be aggregated across all risk reports before being returned.
You can limit the aggregated results to a named list of legs within the structure or a named list of leg types within the structure.
If both lists are present, then an OR operation will be conducted.
Via the 'OutputType' parameter, you can express the risk as 'SENS' for the actual change for a positive basis point shift or, 'PE' (Principal Equivalence) which will display the principal notional amount, for each hedge instrument, needed to hedge a one basis point change.
You can also enter values of '3MEQU', '5YQU' and '10YEQU' to express all the risk (for each tenor) in terms of a single hedge instrument (3M deposit, 5Y swap instrument and 10Y swap instrument respectively).
Finally, you can select 'FUTURES' which will provide the Notional amount for the most liquid futures contract.
To turn this Futures notional amount into a number of futures contracts to buy/sell, simply divide the Futures hedge notional result by the notional amount underlying the futures contract.
Because the '3MEQU', '5YQU', '10YEQU' and 'FUTURES' values are normalised by a single contract, you can sum the risk numbers across tenors to provide a single hedge number.
This is not true for the 'PE' value.
The C# example below contains all the sub-function calls leading up to this function call. As a result, the example can contain a lot of code.
The VB.NET, J#, C++.NET, Java, Excel VBA, Visual Basic 6 (via COM) and C++ examples below contain function code stubs for the calls leading up to this function call. However, the function call for this function is displayed.
You can easily reproduce the stub functions code from the
C# example.
Copyright (c) 2003-2007 CapeTools - All Rights Reserved.