beancount / beanprice

Daily price quotes fetching library for plain-text accounting
GNU General Public License v2.0
66 stars 37 forks source link

Implement IEX historical price fetches #4

Open blais opened 4 years ago

blais commented 4 years ago

IEX looks like it now supports historical prices: https://iextrading.com/developers/docs/#hist

Our price source does not: https://github.com/beancount/beancount/blob/master/beancount/prices/sources/iex.py#L60

That source would be useful for many I thin.

Steven1677 commented 4 years ago

It seems that IEX only provides historical data in PCAP format, which means that the data could not be got by a HTTP request. e.g. API example in the doc To get data from the PCAP file, an additional parser might needed (like IEXTools).