Description Usage Arguments Value Examples
Get the open, close prices of a symbol on a certain day.
1 | get_open_close_crypto(from, to, date)
|
from |
(String) From Symbol of the pair. |
to |
(String) To Symbol of the pair. |
date |
(Date) Date of the requested open/close. |
A tibble of financial data.
1 2 3 4 5 6 7 8 9 | ## Not run:
library(polygon)
get_open_close_crypto(
from = "BTC",
to = "USD",
date = Sys.Date() - 1
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.