Python interface to IEX Api (https://iextrading.com/developer/docs/)
If you redistribute our API data:
- Cite IEX using the following text and link: “Data provided for free by IEX.”
- Provide a link to https://iextrading.com/api-exhibit-a in your terms of service.
- Additionally, if you display our TOPS price data, cite “IEX Real-Time Price” near the price.
- Read The Docs!
- Demo Notebook - IEX
- Streaming Notebook - IEX
- Demo Notebook - IEX Cloud
- Streaming Notebook - IEX Cloud
# fetch spy from website, clean for some bad formatted symbols
spy = [x for x in pandas.read_html('https://etfdailynews.com/etf/spy/', attrs={'id': 'etfs-that-own'})[0].Symbol.values.tolist() if isinstance(x, str)]
# bulk fetch 6m of data
pyEX.bulkBatchDF(spy, ['chart'], _range='6m')['chart']