HandleBasisVol: Calculates the Addon amount after handling basis and Volatility trades
Description
Calculates the addon amount after splitting the trades into 'basis swap', 'volatility' and 'normal' transactions.
The corresponding penalty factors are applied to the supervisory factors for each trade group.
Usage
HandleBasisVol(trades)
Arguments
trades
The full list of the Trade Objects
Value
The aggregate amount of the addon summed up for all the asset classes
References
Basel Committee: The standardised approach for measuring counterparty credit risk exposures
http://www.bis.org/publ/bcbs279.htm