Trade specific calculation parameters


I would like to associate calculation parameters for modifying the pricing of specific trades as opposed to globally. Is there any way to do this? The closest I can find is TradeCounterpartyCalculationParameter. My guess is I will need to create my own TradeCalculationParameter class?


Yes, TradeCounterpartyCalculationParameter is the pattern to follow here. The filter method allows a variety of behaviour to be added.