Extract historic Price of Bitcoin for the given time period and given currency

get_historic_price(currency = "USD", start = Sys.Date() - 2,
  end = Sys.Date() - 1)

Arguments

currency

a valid ISO 4217 currency code supported by coindesk - verify with get_currency_list(), default is USD

start

start date supplied in the YYYY-MM-DD format, e.g. 2013-09-01 for September 1st, 2013. default is current date - 2

end

end date supplied in the YYYY-MM-DD format, e.g. 2013-09-01 for September 1st, 2013. default is current date - 1

Value

Dataframe with the requested currency Price as one column and Date as rownames

Examples

get_historic_price()
#> Price #> 2018-01-03 15134.65 #> 2018-01-04 15155.23