You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing an instrument derived from MultiAssetOption class. The problem I have is that the greeks are declared as scalars in the MultiAssetOption while I need them to all the underlyings. Any suggestions on how to allow them to be vectors in my subclass - apart from effectively overriding entire MultiAssetOption class?
The text was updated successfully, but these errors were encountered:
Override class Results in your derived class : new public class Results : Instrument.Results
also override fetch results : public override void fetchResults(IPricingEngineResults r)
I am writing an instrument derived from MultiAssetOption class. The problem I have is that the greeks are declared as scalars in the MultiAssetOption while I need them to all the underlyings. Any suggestions on how to allow them to be vectors in my subclass - apart from effectively overriding entire MultiAssetOption class?
The text was updated successfully, but these errors were encountered: