get_historic_price: Extract historic Price of Bitcoin for the given time period...

Description Usage Arguments Value Examples

View source: R/coindeskr.R

Description

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

Usage

1
2
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

1

coindeskr documentation built on May 2, 2019, 3:43 a.m.