Level1_Values

This structure defines the domain of Level 1 (market data) fields. It is used to generate the Values array fields in the InstrumentMarket table. It is also used to generate Level 1 specific API code.

NameTypeSize (bytes)Description
BidInteger (signed)8The price of the best bid.
BidSizeInteger (signed)8The quantity at the best bid price.
AskInteger (signed)8The price of the best Ask.
AskSizeInteger (signed)8The quantity at the best ask price.
LastInteger (signed)8The price at which the last trade occurred.
LastTimestampInteger (unsigned)8The timestamp at which the last trade occurred.
HighInteger (signed)8The highest price at which the InstrumentMarket has ever traded.
LowInteger (signed)8The lowest price at which the InstrumentMarket has ever traded.
VolumeInteger (signed)8The current cumulative volume traded.
Volume24hAgoInteger (signed)8The traded volume from 24 hours ago. Combined with the current Volume to create the Volume for a rolling 24 hour window.
ValueInteger (signed)8The current cumulative value of all the trades.
Value24hAgoInteger (signed)8The traded value from 24 hours ago. Combined with the current Value to create the Value for a rolling 24 hour window.
ChangeInteger (signed)8The price change since the engine has started or cycled.
PercentChangeInteger (signed)8The change in price since the engine has started or cycled, expressed as a percentage.
IncrementInteger (signed)8The change in price resulting from the last trade.
OpenInteger (signed)8The opening price for today. This is the price of the first Trade recorded today.
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.
PrevInteger (signed)8The price of the most recent trade before today.
PrevDateInteger (signed)4The date on which the previous price occurred.
FiftyTwoWeekHighInteger (signed)8The highest traded price over the preceding year. It does not include todays prices.
FiftyTwoWeekLowInteger (signed)8The lowest traded price over the preceding year. It does not include todays prices.
HistHighInteger (signed)8The highest traded price ever recorded for this InstrumentMarket. This does not include todays prices.
HistLowInteger (signed)8The lowest traded price ever recorded for this InstrumentMarket. This does not include todays prices.
IndicativePriceInteger (signed)8The price at which the InstrumentMarket would trade if the match were to take place given the current state of the order book. This is only produced when the InstrumentMarket in question is in an auction phase.
IndicativeVolumeInteger (signed)8The volume that would trade at the IndicativePrice.
StatusSet of Status4The status of the InstrumentMarket.
SessionForeign key to Session8The name of the current session under which the InstrumentMarket is operating.
DateInteger (signed)4Represents a date as an integer in YYYYMMDD format.
ClosePriceInteger (signed)8The calculated close price.
ClosePriceDateInteger (signed)4The date of the last calculation of the close price.
BidsInteger (signed)8
BidsTotalInteger (signed)8
BidSizeTotalInteger (signed)8
AsksInteger (signed)8
AsksTotalInteger (signed)8
AskSizeTotalInteger (signed)8
TradesInteger (signed)8
LotSizeInteger (unsigned)4An InstrumentMarket may trade in lots, where a lot is a fixed number of units of the InstrumentMarket. LotSize defines the number of units per lot for an InstrumentMarket. If an InstrumentMarket trades in single units, the LotSize is 1. Prices are always on a per-lot basis. This value determines the LotSize for the instances of this Level1_Values.
PrevBidsTotalInteger (signed)8
PrevBidSizeTotalInteger (signed)8
PrevAsksTotalInteger (signed)8
PrevAskSizeTotalInteger (signed)8
MinOrderPriceInteger (signed)8
MaxOrderPriceInteger (signed)8
RefPriceInteger (signed)8
PrevAONOrdersInteger (unsigned)8
AONOrdersInteger (unsigned)8Number of AON orders in the order book for this InstrumentMarket.