Caplin Trader 5.1.0

Class: module:ct-trading/trademodel/TradingStatus

module:ct-trading/trademodel/TradingStatus()

new module:ct-trading/trademodel/TradingStatus()

Enumeration representing whether the connection to the trading system for a particular module:ct-trading/trademodel/Trade is active or not. Possible values are:

  • TradingStatus.UNAVAILABLE
  • TradingStatus.AVAILABLE
  • 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