Skip to main content

Module quote

Module quote 

Source
Expand description

Market quotes and order-book data structures.

Market microstructure data at three granularity levels:

LevelTypeData
TickTickIndividual trades (time & sales)
L1Level1QuoteBest bid/ask (top-of-book)
L2OrderBookFull depth-of-market order book

A feed pushes trades, the order book and Level 1 quotes into the chart through Sink. A Quote summarises a symbol for watchlists, the symbol’s panels and the order ticket; the host streams it through the Quotes service.

Structs§

ExtendedHoursQuote
The latest trade of a symbol outside its regular session.
Level1Quote
Level 1 quote – best bid and ask (top-of-book).
OrderBook
Full depth-of-market order book snapshot (Level 2).
OrderBookLevel
A single price level in a Level 2 order book.
Quote
The quote of one symbol: its last price and change from the previous close, the session’s volume, the best bid and ask, and the latest extended-hours trade. Fields the host does not know stay None.
SessionQuote
A host-supplied session price, independent of the regular close and hovered history.
Tick
A single trade execution (time & sales entry).
TradeConditions
Sale conditions of a trade, as a set of flags. Combine them with | and test them with intersects:

Enums§

ExtendedSession
The session of an extended-hours trade.