Description Usage Arguments Examples
View source: R/crypto_candles.R
Get cryptocurrency candles
1 2 3 4 5 6 7 8 9 | crypto_candles(
symbol,
resolution = "D",
from = lubridate::today() - 7,
to = lubridate::today(),
format = "json",
adjusted = "true",
...
)
|
symbol |
Cryptocurrency symbol |
resolution |
1-minute, 5-minute, 15-minute, 30-minute, 60-minute, daily, weekly and monthly |
from |
Begin date |
to |
End date |
format |
json |
adjusted |
Adjusted prices ('true') or not ('false') |
1 2 3 4 5 6 7 8 9 | crypto_candles('COINBASE:ETC-BTC')
crypto_candles('COINBASE:ETC-BTC', resolution = '1')
crypto_candles('COINBASE:ETC-BTC', resolution = '5')
crypto_candles('COINBASE:ETC-BTC', resolution = '15')
crypto_candles('COINBASE:ETC-BTC', resolution = '30')
crypto_candles('COINBASE:ETC-BTC', resolution = '60')
crypto_candles('COINBASE:ETC-BTC', resolution = 'D', from = today() - 365, to = today())
crypto_candles('COINBASE:ETC-BTC', from = today() - 365, resolution = 'W')
crypto_candles('COINBASE:ETC-BTC', from = today() - 365, resolution = 'M')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.