Constructor
new module:ct-trading /derivation /Derivation Manager()
Methods
add Derivation(derivation)
Adds a Derivation to be executed.
Parameters:
Name | Type | Description |
---|---|---|
derivation |
module:ct-trading |
The derivation to add. |
Throws:
-
If the Derivation instance is not an instance of
module:ct-trading/derivation/Derivation
. - Type
-
module:ct-core
/Error
recalculate Derived Fields(oTrade Data Holder)
Recalculates the derived fields for all the derivations held within the DerivationManager
,
given the new trade data.
Parameters:
Name | Type | Description |
---|---|---|
oTradeDataHolder |
module:ct-trading |
The data to be augmented by the set of managed Derivations. |
Throws:
-
If the DataHolder instance is not an instance of
module:ct-trading/trademodel/DataHolder
. - Type
-
module:ct-core
/Error