Index List
The index list function returns a complete list of all etf symbols that can be used in the Finance Toolkit.
Returns: pd.DataFrame: A dataframe with all the index symbols.
Index List in Python
get_index_list is part of the Discovery module of the open-source Finance Toolkit. Install it with:
pip install financetoolkit -U
Then call get_index_list as shown below.
from financetoolkit import Discovery
discovery = Discovery(api_key="FINANCIAL_MODELING_PREP_KEY")
index_list = discovery.get_index_list()
index_list.head(10)
Which returns:
| Symbol | Name | Exchange | Currency |
|---|---|---|---|
| 000001.SS | SSE Composite Index | SHH | CNY |
| 399967.SZ | CSI National Defense | SHZ | CNY |
| 512.HK | CES China HK Mainland Index | HKSE | HKD |
| DE000SLA30S3.SG | Solactive Equal Weight Canada Oil & Gas Index | STU | EUR |
| DX-Y.NYB | US Dollar Index | ICEF | USD |
| FTSEMIB.MI | FTSE MIB Index | MIL | EUR |
| IDX30.JK | IDX30 | JKT | IDR |
| IMOEX.ME | MOEX Russia Index | MCX | RUB |
| ITLMS.MI | FTSE Italia All-Share Index | MIL | EUR |
| KOSPI200.KS | KOSPI 200 Index | KSC | KRW |