R/forex_exchanges.R

Defines functions forex_exchanges

Documented in forex_exchanges

#' @title ETF Country Exposure
#' 
#' @description Get exchange traded country exposure
#'
#'@importFrom tibble tibble
#'
#' @return
#' @export
#' 
#' @examples
#' forex_exchanges()
forex_exchanges <- function(...){
  
  url <- finnhub_endpoint('forex_exchanges')
  
  df <- retry_get(url, 
                  query = list(token = finnhub_key())
  )
  df %>% 
    tibble::tibble(forex_exchange = .)
}
threadingdata/finnhubr documentation built on Aug. 10, 2020, 12:48 a.m.