BRVM_plot {BRVM}R Documentation

BRVM PLOT

Description

This function will get Ticker(s) data and then plot it.

Usage

BRVM_plot(
  .company,
  from = Sys.Date() - 365,
  to = Sys.Date() - 1,
  up.col = "darkgreen",
  down.col = "red"
)

Arguments

.company

is the Ticker(s) name(s)

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"

up.col

is the up color

down.col

is down color

Value

An interactive chart

Author(s)

Koffi Frederic SESSIE

See Also

BRVM_ticker_desc()

BRVM_tickers()

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

Other BRVM: BRVM.index(), BRVM_cap(), BRVM_company_cap(), BRVM_company_rank(), BRVM_company_url(), BRVM_index_stock(), BRVM_index(), BRVM_market_activity(), BRVM_stock_market(), BRVM_ticker_desc(), BRVM_traded_val(), company_cap(), company_country(), company_nbrank(), company_sector(), company_traded_val(), normality_test(), stationarity_test()

Examples


library(highcharter)
library(lubridate)
library(rlang)
library(httr2)
library(dplyr)
library(stringr)
library(xts)

BRVM_plot("BICC")

# You can change the up and down colors as follow
BRVM_plot("BICC", up.col = "blue", down.col = "pink")

# Plot the closing price of a group of 3 tickers
BRVM_plot(c("BICC","ETIT", "SNTS"))


[Package BRVM version 5.3.0 Index]