Quotes
Overview
Quotes represent real-time price information for financial instruments, including the most recent bid and ask prices, opening and closing prices, price changes, and other market data.
In Trading Platform, quotes are essential for most trading features, including placing and modifying orders or managing positions. Quotes ensure that users see the most current data in key UI components such as the Order Ticket (for accurate order entry), Watchlist (for tracking price movements), and Depth of Market (for real-time market depth).
Provide quotes
To provide quotes, the Datafeed API includes three quote-related methods that must be implemented before the Broker API:
getQuotes
— retrieves the latest price information for specified symbols.subscribeQuotes
— subscribes to real-time price updates for specified symbols.unsubscribeQuotes
— stops receiving real-time price updates for specified symbols.
Without these methods, the library cannot receive or process quotes, causing issues such as UI loading delays or missing data.