TimeSales_change

Metadata

  • Base Table Class: Change
  • Not in MDB
  • Default Size: Trade * 2 = 2000

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this TimeSales.
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 TimeSales_change.
InstrumentMarketForeign key to InstrumentMarket8
TradeForeign key to Trade8
CurrencyForeign key to Instrument8
PriceDecimalsInteger (unsigned)1The number of decimal places that should be used when interpreting prices for this TimeSales_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 TimeSales_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.
ValueDecimalsInteger (unsigned)1The number of decimal places that should be used when interpreting the value of this TimeSales_change. Values 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 value of 1150000 with ValueDecimals of 2 means 11,500.00.
PriceInteger (signed)8The current Price for this Trade.
QuantityInteger (signed)8The quantity of securities transferred as a result of this trade.
ValueInteger (signed)8The value of this Trade.
AggressorOne of Aggressor1A measure of the aggressor in the last traded price. The value may be -1, 0 or 1 depending on whether the aggressor was the buyer or the seller for the trade.
SwingInteger (signed)8The direction of the last change in traded price.
IncrementInteger (signed)8The change in price resulting from the last trade.
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 TimeSales_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 TimeSales.
CreateTimestampInteger (unsigned)8The time at which this TimeSales was created.
UpdateUserForeign key to User8The Id of the User that last updated this TimeSales.
UpdateTimestampInteger (unsigned)8The time at which this TimeSales was last updated.