Description Usage Arguments Examples
View source: R/stock_candles.R
Get stock candles
1 2 3 4 5 6 7 8 9 | stock_candles(
symbol,
resolution = "D",
from = lubridate::today() - 7,
to = lubridate::today(),
format = "json",
adjusted = "true",
...
)
|
symbol |
Stock ticker |
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 | stock_candles('NVDA')
stock_candles('NVDA', resolution = '1')
stock_candles('NVDA', resolution = '5')
stock_candles('NVDA', resolution = '15')
stock_candles('NVDA', resolution = '30')
stock_candles('NVDA', resolution = '60')
stock_candles('NVDA', resolution = 'D')
stock_candles('NVDA', from = lubridate::today() - 365, resolution = 'W')
stock_candles('NVDA', from = lubridate::today() - 365, resolution = 'M')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.