new module:ct-trading /trademodel /Trading Status()
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