Actions7
- Account Actions
- Market Data Actions
- Order Actions
- Position Actions
Market Data → Get Quote
AI-generatedSummary
Retrieve a real-time market quote for a specified financial instrument from Interactive Brokers using its symbol, security type, exchange, and currency.
Inputs
- Symbol (required) — The stock symbol or ticker of the instrument to quote (e.g., AAPL, TSLA).
- Security Type — Type of security: Stock (STK), Option (OPT), Future (FUT), or Forex (CASH). Defaults to Stock.
- Exchange — The exchange where the instrument is listed, e.g., SMART, NYSE, NASDAQ. Defaults to SMART.
- Currency — The currency in which the quote should be returned, e.g., USD. Defaults to USD.
Output shape
a single JSON object containing real-time quote data fields such as bid, ask, last price, high, low, open, close, volume, and their timestamps, along with connection and update count metadata.
The data updates are received asynchronously over approximately 5 seconds before the final accumulated quote data is returned. If no relevant ticker fields are received, the output contains a message indicating no market data was obtained and includes diagnostic information. Ensure Interactive Brokers TWS or Gateway is running with the API enabled for connection success.