pandas-datareader icon indicating copy to clipboard operation
pandas-datareader copied to clipboard

Save message quota on IEX Cloud API for historical data

Open molmutius opened this issue 6 years ago • 0 comments

IEX has a free plan which offers 500.000 messages per month, the next cheapest paid plan gets you 5.000.000 per month.

Their API offers a way to only retrieve adjusted close for historical data, which will return a df with date, close, and volume only. open, low and high are dropped and not transmitted so you won't be billed for it. This will save you 50% messages if you don't need those values.

The parameter is called 'chartCloseOnly', see https://iexcloud.io/docs/api/#historical-prices

I hacked that param into the IEXDailyReader by changing 2 lines of code. If it would be desired I could also create a more carved out PR for this.

molmutius avatar Oct 24 '19 03:10 molmutius