Exploring the IEX Cloud data source
IEX Cloud is one of the commercial offerings. It offers a plan for individuals at USD 9 per month. It also offers a free plan, with a limit of 50,000 API calls per month.
The installation of the Python library is standard:
pip install iexfinance
The full library's documentation is available at https://addisonlynch.github.io/iexfinance/stable/index.html.
The following code is designed to retrieve all symbols:
from iexfinance.refdata import get_symbols get_symbols(output_format='pandas', token="XXXXXX") symbol exchange exchangeSuffix exchangeName name date type iexId region currency isEnabled figi cik lei 0 A NYS UN NEW YORK STOCK EXCHANGE, INC. Agilent Technologies Inc. 2020-12-29 cs ...