Tiingo is plugged into the IEX feed, and they provide last sale data along with TOP (top of book) bid and ask quotes. Note that this cannot be historically queried.
riingo_iex_quote(ticker)
ticker | One or more tickers to download data for from Tiingo. Can be a stock, mutual fund, or ETF. A character vector. |
---|
At the end of the day, the mid
, askPrice
, bidSize
, bidPrice
, askSize
,
and lastSize
fields will be NA
. This is normal.
if (FALSE) { riingo_iex_quote("QQQ") }