Description Usage Arguments Value Examples
This function collects forex prices for specified tickers. It can return daily, hourly, and minutely data, however, the amount of returned data becomes more limited with a finer resolution.
1 2 3 4 5 6 | riingo_fx_prices(
ticker,
start_date = NULL,
end_date = NULL,
resample_frequency = "1day"
)
|
ticker |
One or more fx tickers to download financial metrics for, such
as |
start_date |
The first date to download data for.
A character in the form YYYY-MM-DD, or a |
end_date |
The last date to download data for.
A character in the form YYYY-MM-DD, or a |
resample_frequency |
A single character specified at the |
A data frame containing the fx prices for the requested tickers.
1 2 3 4 5 | ## Not run:
start <- Sys.Date() - 10
riingo_fx_prices(c("audusd", "eurusd"), start_date = start)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.