get_exchange_rates: Look up the historical value of a symbol in a specified base...

Description Usage Arguments Value

View source: R/convert_currency.R

Description

Look up the historical value of a symbol in a specified base currency in a given time period.

Usage

1
2
3
4
5
6
7
get_exchange_rates(
  symbol = "HUF",
  base = "USD",
  start_date = Sys.Date() - 30,
  end_date = Sys.Date(),
  retried = 0
)

Arguments

symbol

Currency to convert to

base

Currency to convert from

start_date

date

end_date

date

retried

Hidden parameter used as an exponent of wait time between failed attempts.

Value

data.table object


szutsattila/mastering-r-hw1 documentation built on Dec. 23, 2021, 7:40 a.m.