R/get_tickers.R

Defines functions get_tickers

Documented in get_tickers

#' Download list of tickers from a given public index
#' @name get_tickers
#' @description This function returns the list of available tickers in the data base
#' @return Returns a vector.
#'
#'
#' @examples
#'
#' tickers <- rfinance::get_tickers()
#' @rdname get_tickers
#' @export
#'
get_tickers <- function() {
  if(!exists("rfinanceConnection")){
    log_in(NULL, NULL)
  }
  
  rfinanceConnection$get_tickers()
}

Try the rfinance package in your browser

Any scripts or data that you put into this service are public.

rfinance documentation built on Oct. 26, 2021, 9:07 a.m.