The TradingStatusChangedListener
is the interface that interested listeners should implement
to be alerted when trading becomes available or unavailable. An interested listener should implement this class
and then add itself to the appropriate Trade
instance by invoking the
addTradeStatusChangedListener
method on module:ct-trading/trademodel/Trade
instance.
Methods
trading Status Changed(nStatus)
A listener method that is invoked when trading becomes unavailable.
Parameters:
Name | Type | Description |
---|---|---|
nStatus |
module:ct-trading |
Indicates the current availability of
trading for this listener. Please see |