Skip to main content

L0 and L1 Data

Message Format

All messages are transmitted in JSON format, separated by carriage returns. Each message follows this structure:

{
"type": "MESSAGE_TYPE",
"data": {
"field1": "value1",
"field2": "value2"
}
}

Message Types

NameAccessType ValueDescription
Snapshot TickL0, L1, L2tickMarket data snapshot for individual securities. L0 is limited to indices and regular market

Message Type Details

Snapshot Tick

Real-time price and volume data for a security.

Fields

Field NameObject KeyTypeDescription
Market TypemstringIDX - Index, REG - Regular, FUT - Futures, ODL - Odd Lot
Session/Scrip StateststringRED - Ready, PRE - Pre-Open, OPN - Open, BRK - Break, PCL - Post-Close, HLT - Halted, CBR - Circuit Breaker, SUS - Suspended
SymbolsstringSecurity symbol or index code
TimestamptnumberUnix timestamp (seconds)
OpenonumberOpening price/index value
HighhnumberHighest price/index value
LowlnumberLowest price/index value
ClosecnumberCurrent price/index value
VolumevnumberTotal traded volume
Last Day Close PriceldcpnumberPrevious day's closing price
ChangechnumberPrice change from previous close
Change PercentpchnumberPercentage change from previous close
Bid/Buy PricebpnumberCurrent bid price
Bid/Buy VolumebvnumberVolume at bid price
Ask/Sell PriceapnumberCurrent ask price
Ask/Sell VolumeavnumberVolume at ask price
ValuevalnumberTotal traded value
Total TradestrnumberNumber of trades
Last TradeltobjectLast trade information (null if unavailable) - View

Last Trade Fields (lt)

Field NameObject KeyTypeDescription
TimestamptnumberUnix timestamp of last trade
PricexnumberLast trade price
VolumevnumberLast trade volume

Example

{
"type": "tick",
"data": {
"m": "REG",
"st": "OPN",
"s": "SYS",
"t": 1710485205,
"o": 410,
"h": 410,
"l": 405,
"c": 409,
"v": 157670,
"ldcp": 408.23,
"ch": 0.77,
"pch": 0.00189,
"bp": 408.63,
"bv": 50,
"ap": 409,
"av": 212,
"val": 64251429.95,
"tr": 537,
"lt": {
"t": 1710485205,
"x": 409,
"v": 1000
}
}
}