This function allows you to convert USD to CAD.
crypto2
crypto2
now only return USD rates, so CAD rates are not available
anymore... See:
https://github.com/sstoeckl/crypto2/blob/master/NEWS.md#crypto-200
"fiat_list()
has been modified and no longer delivers all available
currencies and precious metals (therefore only USD and Bitcoin are
available any more)."
Usage
USD2CAD_crypto2(
data,
start.date = "2020-01-01",
end.date = lubridate::now("UTC"),
conversion = "USD",
currency = "CAD",
force = FALSE
)