OrderBook_change

This is an entity to record changes in the OrderBook structure. It holds records that are already prepared for sending out via the market data streams (for example resolving internal shared memory indexes into external foreign key Ids)

Metadata

  • Base Table Class: Change
  • Default Size: Order * 2 = 2000

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this OrderBook.
StatusSet of Status4
TimestampInteger (unsigned)8The time at which this change record was generated. This is not the same as the business-level timestamp of this OrderBook_change.
InstrumentMarketForeign key to InstrumentMarket8
PriceDecimalsInteger (unsigned)1The number of decimal places that should be used when interpreting prices for this OrderBook_change. Prices within MarketGrid are stored and communicated as integers with fixed numbers of decimals. This field specifies how many digits are to the right of the decimal point. For example, a price of 10350 with PriceDecimals set to 2 means 103.50.
QuantityDecimalsInteger (unsigned)1The number of decimal places that should be used when interpreting quantities for this OrderBook_change. Quantities within MarketGrid are stored and communicated as integers with fixed numbers of decimals. This field specifies how many digits are to the right of the decimal point. For example, a quantity of 12345 with QuantityDecimals set to 3 means 12.345.
SideOne of OrderSide1Whether this is a Buy (0) or a Sell (1).
PriceInteger (signed)8The current Price for this OrderBook_change instance.
VisibleQuantityInteger (signed)8The visible quantity of this Order.
NotionalQuantityInteger (signed)8
FlagsSet of OrderBookFlags1
OrdersInteger (unsigned)8
AONQuantityInteger (signed)8
TagString50For tagged Instruments, this is the identifier of the individual holding.
OBInfoString34
CurrencyForeign key to Instrument8
TransactionCountInteger (unsigned)8
UpdateNumberInteger (unsigned)8A number that records every change that happens to a record. It is primarily used to avoid write after read problems when an intermediate write has changed the originally read record.
BCSequenceInteger (unsigned)8The sequence number of this OrderBook_change message in the overall broadcast sequence.
ReloadedInteger (unsigned)1Set to true for change records that are generated during a normal startup from engine cache files.
InstanceIdInteger (unsigned)4
RunIdInteger (unsigned)4
ChangedFieldOne of KVPKey4
CreateUserForeign key to User8The Id of the User that created this OrderBook.
CreateTimestampInteger (unsigned)8The time at which this OrderBook was created.
UpdateUserForeign key to User8The Id of the User that last updated this OrderBook.
UpdateTimestampInteger (unsigned)8The time at which this OrderBook was last updated.