Caplin Trader 5.1.0

Interface: module:ct-trading/trademodel/StructureChangedListener

module:ct-trading/trademodel/StructureChangedListener

The super constructor of implementors of StructureChangedListener.

StructureChangedListeners wish to be notified whenever the current structure of the module:ct-trading/trademodel/Trade they're listening to changes Structure (i.e. adding legs).

Methods

structureChanged(pStructureChanges)

Notifies listeners that the structure has changed.

Parameters:
Name Type Description
pStructureChanges Array

An array of structure changes within the trade. Each element within the array will be a module:ct-trading/trademodel/StructureChangedEvent.