ubci_index: get ubci index

Description Usage Arguments Value Examples

Description

get ubci index data from source. Source is here.

Usage

1
2
ubci_index(index = "UBMI", from = "2000-01-01",
  to = as.character(Sys.Date()))

Arguments

index

default is UBMI.

from

Optional for various time series. A character string representing a start date in YYYY-MM-DD format.

to

Optional for various time series. A character string representing an end date in YYYY-MM-DD format. Default is system date today.

Value

Return type is tibble has columes contain index, date, open, high, low, close.

Examples

1
2
3
4
5
index <- ubci_index(index = "UBMI")
index

ubci_index(index = "UBMI", from="2018-05-15")
ubci_index(index = "UBMI", to="2018-05-15")

ubci documentation built on June 11, 2019, 1:02 a.m.