Singleton
caplin.trading.trademodel

TradingStatus

Enumeration representing whether the connection to the trading system for a particular 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

Constructor Summary

Attributes Name and Description
caplin.trading.trademodel.TradingStatus()

Field Summary

Attributes Name and Description
<static> caplin.trading.trademodel.TradingStatus.AVAILABLE

Indicates that the connection to the trading system is currently up and trading is available.

<static> caplin.trading.trademodel.TradingStatus.PRICING_STALE

Indicates that the connection to the trading system is currently up but that the pricing source is down.

<static> caplin.trading.trademodel.TradingStatus.UNAVAILABLE

Indicates that the connection to the trading system is currently down and trading is unavailable.

Constructor Detail

caplin.trading.trademodel.TradingStatus()

Field Detail

<static> int caplin.trading.trademodel.TradingStatus.AVAILABLE

Indicates that the connection to the trading system is currently up and trading is available.

<static> int caplin.trading.trademodel.TradingStatus.PRICING_STALE

Indicates that the connection to the trading system is currently up but that the pricing source is down.

<static> int caplin.trading.trademodel.TradingStatus.UNAVAILABLE

Indicates that the connection to the trading system is currently down and trading is unavailable.