Calculates the aggregate amount of the addon after splitting per asset class
and dividing the trades into the corresponding netting sets per currency, timebucket etc.
Usage
CalcAddon(trades, MF, factor_mult)
Arguments
trades
The full list of the Trade Objects
MF
(Optional) The Maturity Factor based on the collateral agreement
factor_mult
(Optional) The Multiplication Factor applicable for volatility/basis trades
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