business-science / riingo

An R interface to the Tiingo stock price API
https://business-science.github.io/riingo/
Other
51 stars 9 forks source link

Return volume in IEX intraday info #12

Closed DavisVaughan closed 4 years ago

DavisVaughan commented 4 years ago

riingo_iex_prices() can actually return volume info, apparently.

2.5.3 of this states: https://api.tiingo.com/documentation/iex

"The number of shares traded on IEX only. This value will only be exposed if explicitly passed to the "columns" request parameter. E.g. ?columns=open,high,low,close,volume"

I confirmed locally that manually tweaking the url to the following does indeed return intraday volume

"https://api.tiingo.com/iex/AAPL/prices?startDate=2019-05-27&endDate=2020-05-26&resampleFreq=5min&columns=open,high,low,close,volume"