Learn R Programming

BRVM (version 5.3.0)

BRVM_get: BRVM Get - Get Ticker Data

Description

This function will get data from the Rich Bourse exchange.

Usage

BRVM_get(.symbol, .from = Sys.Date() - 365, .to = Sys.Date() - 1)

Value

A tibble

Arguments

.symbol

A vector of symbols, like: c("BICC","XOM","SlbC")

.from

A quoted start date, ie. "2020-01-01" or "2020/01/01". The date must be in ymd format "YYYY-MM-DD" or "YYYY/MM/DD".

.to

A quoted end date, ie. "2022-01-31" or "2022/01/31". The date must be in ymd format "YYYY-MM-DD" or "YYYY/MM/DD"

Author

Koffi Frederic SESSIE

Oudouss Diakité Abdoul

Steven P. Sanderson II, MPH

Details

This function will get data of the companies listed on the BVRM exchange through the Rich Bourse site. The function takes in a single parameter of .symbol The function will auto-format the tickers you input into all upper case by using toupper() The function will next make sure that the ticker passed is inside of a google spreadsheet of allowed tickers.

See Also

https://www.richbourse.com

BRVM_ticker_desc(), BRVM_tickers()

Other Data Retrieval: BRVM_bySector(), BRVM_cap(), BRVM_company_rank(), BRVM_get1(), BRVM_index_stock(), BRVM_index(), BRVM_market_activity(), BRVM_plot(), BRVM_stock_market(), BRVM_ticker_desc(), company_cap(), company_country(), company_nbrank(), company_sector(), company_traded_val()

Other Richbourse: BRVM_ticker_desc()

Examples

Run this code
# \donttest{
library(lubridate)
library(rlang)
library(httr2)
library(dplyr)
library(stringr)

symbols <- c("BiCc","XOM","SlbC")
data_tbl <- BRVM_get(.symbol = symbols)
data_tbl
# }

Run the code above in your browser using DataLab