BRVM_index_stock {BRVM} | R Documentation |
BRVM index stock - Given a set of indexes, return their stock data
Description
Give a set of indexes and get it/their stock data. Use BRVM.index() function to know all available indexes
Usage
BRVM_index_stock(
.ticker = "BRVM10",
Period = 0,
from = Sys.Date() - 89,
to = Sys.Date()
)
Arguments
.ticker |
Must be at least one index between c("BRVM10","BRVMAG","BRVMC","BRVMAS","BRVMDI","BRVMFI", "BRVMIN", "BRVMSP", "BRVMTR") |
Period |
Numeric number indicating time period. Valid entries are 0, 1, 5, 30, 91, and 365 representing respectively ‘daily’, 'one year', ‘weekly’, ‘monthly’, ‘quarterly’ and ‘yearly’ . |
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-05-20" or "2022/05/20". The date must be in ymd format "YYYY-MM-DD" or "YYYY/MM/DD" |
Value
"data.frame"
Author(s)
Koffi Frederic SESSIE
See Also
BRVM_get()
, BRVM_get1()
Other Data Retrieval:
BRVM_bySector()
,
BRVM_cap()
,
BRVM_company_rank()
,
BRVM_get1()
,
BRVM_get()
,
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 BRVM:
BRVM.index()
,
BRVM_cap()
,
BRVM_company_cap()
,
BRVM_company_rank()
,
BRVM_company_url()
,
BRVM_index()
,
BRVM_market_activity()
,
BRVM_plot()
,
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
BRVM_index_stock(.ticker = "BRVMAG", from = "2018-01-04", to = "2022-01-04")
BRVM_index_stock("BRVM10", Period = 0, from = "2021-01-04", to = "2022-01-04" ) #To get daily data
BRVM_index_stock("BrvmAS", Period = 1 ) # To get daily data for a whole year
BRVM_index_stock("BRVM10", Period = 5, from = "2021-01-04", to = "2022-01-04") # To get weekly data
BRVM_index_stock("BRVMAG", Period = 30 ) # To get monthly data
BRVM_index_stock("BRVM10", Period = 91 ) # To get quaterly data
BRVM_index_stock("brvmtr", Period = 365 ) # To get yearly data