Constructor
new module:ct-trading /trademodel /Structure Changed Event(oLeg, nStructure Changed Type, sEvent Source)
The constructor for a StructureChangedEvent
.
Parameters:
Name | Type | Description |
---|---|---|
oLeg |
module:ct-trading |
The leg that has been added or removed. |
nStructureChangedType |
module:ct-trading |
The type of structure change that has occurred. |
sEventSource |
module:ct-trading |
The source of the transition that has caused the structure change. |
Methods
get Leg() → {module:ct-trading /trademodel /Trade Leg}
Get the trade let that has either been added or removed and caused the event.
Returns:
The trade leg.
get Source() → {module:ct-trading /statemachine /Transition Source}
Gets the source of the event that caused the structure change.
Returns:
the source of the event
get Type() → {module:ct-trading /trademodel /Structure Changed Type}
Gets the type of structure event that has occurred. Either an add or a remove.
Returns:
the structure change type