# Getting index member with FinancialData[]

How can I use FinancialData to get the ticker symbols for a given index? For example suppose I want the tickers for all 500 stocks currently listed on the S&P 500. Can FinancialData give me these tickers?

• In general, yes: FinancialData["Frankfurt", "Members"] Having problem with S&P500 though. – V.E. Oct 13 '16 at 18:04

As the example in the documentation shows

FinancialData["^GSPC", "Members"]


should work, but it unfortunately returns

Missing["NotAvailable"]

A working alternative is to use

EntityList[EntityClass["Financial", "SP500"]]


instead. However, it has 506 entries and it is unclear when its last update was.

If you prefer the symbols as strings instead of entities, you can use

EntityValue[EntityClass["Financial", "SP500"], "Symbol"]

• Wiki says there are 505 of these stocks, contrary to what the index name implies. – J. M. will be back soon Oct 13 '16 at 18:22
• @J.M. based on that list, EntityList[EntityClass["Financial", "SP500"]] is not up-to-date. – Karsten 7. Oct 13 '16 at 18:34