Skip to content

calbot/pyEX

 
 

Repository files navigation

pyEX

Python interface to IEX Api (https://iextrading.com/developer/docs/)

Now supporting IEX Cloud

Build Status Coverage BCH compliance License PyPI Docs

Attribution

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.

IEX Cloud attribution

Powered by IEX Cloud

Getting Started

6 Months of spy data in a dataframe in 2 lines:

    # 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']

About

Python interface to IEX and IEX cloud APIs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.0%
  • Other 1.0%