Real-time quote/tick data.
Contains current market prices and optional daily high/low information.
const quote: Quote = { symbol: 'AAPL.US', bid: 150.25, ask: 150.35, spread: 0.10, high: 152.80, low: 149.50, time: 1640995200000 // Unix timestamp};console.log(`${quote.symbol}: $${quote.bid}/$${quote.ask} (spread: $${quote.spread})`); Copy
const quote: Quote = { symbol: 'AAPL.US', bid: 150.25, ask: 150.35, spread: 0.10, high: 152.80, low: 149.50, time: 1640995200000 // Unix timestamp};console.log(`${quote.symbol}: $${quote.bid}/$${quote.ask} (spread: $${quote.spread})`);
Current ask (sell) price
Current bid (buy) price
Optional
Daily high price
Daily low price
Bid-ask spread
Symbol name
Quote timestamp (Unix milliseconds)
Real-time quote/tick data.
Contains current market prices and optional daily high/low information.
Example