Description Usage Arguments Value Examples
Extract historic Price of Bitcoin for the given time period and given currency
1 2 | get_historic_price(currency = "USD", start = Sys.Date() - 2,
end = Sys.Date() - 1)
|
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 |
Dataframe with the requested currency Price as one column and Date as rownames
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.