powered by
get ubci index data from source. Source is here.
ubci_index(index = "UBMI", from = "2000-01-01", to = as.character(Sys.Date()))
default is UBMI.
Optional for various time series. A character string representing a start date in YYYY-MM-DD format.
Optional for various time series. A character string representing an end date in YYYY-MM-DD format. Default is system date today.
Return type is tibble has columes contain index, date, open, high, low, close.
# NOT RUN { index <- ubci_index(index = "UBMI") index ubci_index(index = "UBMI", from="2018-05-15") ubci_index(index = "UBMI", to="2018-05-15") # } # NOT RUN { # }
Run the code above in your browser using DataLab