Description Usage Arguments Details Examples
Tiingo provides TOP (top of book) bid and ask quotes for cryptocurrencies. Note that this cannot be historically queried.
1 2 3 4 5 6 | riingo_crypto_quote(
ticker,
exchanges = NULL,
convert_currency = NULL,
raw = FALSE
)
|
ticker |
One or more cryptocurrency tickers.
Specified as |
exchanges |
If you would like to limit the query to a subset of exchanges,
pass a comma-separated list of exchanges to select. Example) |
convert_currency |
This parameter will convert the return data into another
fx rate. For example if querying |
raw |
If |
At the end of the day, the, askPrice
, bidSize
, bidPrice
, askSize
,
and lastSize
fields may be NA
. This is normal.
1 2 3 4 5 6 7 8 9 | ## Not run:
riingo_crypto_quote("btcusd")
# The raw data can provide more insight into each individual exchange
riingo_crypto_quote("btcusd", raw = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.