Caplin Trader 4.7.1

Class: module:caplin/trading/trademodel/TradingStatus

module:caplin/trading/trademodel/TradingStatus

Constructor

new module:caplin/trading/trademodel/TradingStatus()

Enumeration representing whether the connection to the trading system for a particular module:caplin/trading/trademodel/Trade is active or not. Possible values are:
  • caplin.trading.trademodel.TradingStatus.UNAVAILABLE
  • caplin.trading.trademodel.TradingStatus.AVAILABLE
  • caplin.trading.trademodel.TradingStatus.PRICING_STALE

Members

(static) AVAILABLE :int

Indicates that the connection to the trading system is currently up and trading is available.
Type:
  • int

(static) PRICING_STALE :int

Indicates that the connection to the trading system is currently up but that the pricing source is down.
Type:
  • int

(static) UNAVAILABLE :int

Indicates that the connection to the trading system is currently down and trading is unavailable.
Type:
  • int