The StateChangedListeners stateChanged method will be called when the state of the trade changes.
StateChangedListener's are added with
and removed with
Changed(oState, sEvent Name)
Called when the state of the trade changes.
The new state that we have just transitioned to. Will not be null or undefined.
The name of the transition that was used to enter the new state. If the state has timed out the event will be '__TIMEOUT'. Will not be null or undefined.