Caplin Trader 4.0.3

Interface: module:caplin/trading/trademodel/TradingStatusChangedListener

module:caplin/trading/trademodel/TradingStatusChangedListener

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:caplin/trading/trademodel/Trade instance.

Methods

tradingStatusChanged(nStatus)

A listener method that is invoked when trading becomes unavailable.
Parameters:
Name Type Description
nStatus module:caplin/trading/trademodel/TradingStatus Indicates the current availability of trading for this listener. Please see module:caplin/trading/trademodel/TradingStatus for a list of the possible values.