get_index_quote
Returns the real-time quote for a major market index.
Index symbols: ^GSPC (S&P 500), ^NDX (Nasdaq 100), ^IXIC (Nasdaq
Composite), ^DJI (Dow Jones), ^RUT (Russell 2000), ^GSPTSE (TSX),
^FTSE (FTSE 100), ^GDAXI (DAX 40), ^FCHI (CAC 40), ^STOXX50E
(Euro STOXX 50), ^IBEX (IBEX 35), ^N225 (Nikkei), ^AXJO (ASX 200),
^AORD (All Ords), ^HSI (Hang Seng), ^STI (STI), ^BSESN (Sensex),
^VIX (VIX).
Broker / CFD names map to the index they track (the same map the AI
chat uses): 'US Tech 100' / 'NAS100' / 'USTEC' -> ^NDX; 'US 500' /
'SPX500' -> ^GSPC; 'Wall Street 30' / 'US 30' -> ^DJI; 'US 2000' /
'US Small Cap 2000' -> ^RUT; 'Germany 40' / 'GER40' -> ^GDAXI;
'UK 100' -> ^FTSE; 'France 40' -> ^FCHI; 'Euro 50' / 'EU50' ->
^STOXX50E; 'Spain 35' -> ^IBEX; 'Japan 225' -> ^N225; 'Australia 200'
-> ^AXJO; 'Hong Kong 50' -> ^HSI. 'Nasdaq Composite' is
^IXIC; 'Nasdaq 100' and the Nasdaq 100 CFD names above are ^NDX —
different indices at different levels, so quote the one the user named
and name it. A bare 'Nasdaq' is ambiguous: say which one you quote. For
an index not listed here (e.g. 'S&P 100'), call it by its own symbol —
a listed index with a similar name is a different index.
yearHigh / yearLow are the feed's trailing-year range, roughly the past
12-13 months: call them trailing-year figures. For a year-to-date or
calendar-year change, a dated extreme or an exact 52-week figure use
get_index_historical, since the quote does not date its extremes.
Args:
symbol: Index symbol (e.g. '^GSPC' for S&P 500)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Index symbol, e.g. '^GSPC' for the S&P 500. |