Learn R Programming

bcr (version 0.1.1)

indices: Moroccan Market and Sectoral indices

Description

Gets the Moroccan Market indices (indices()) or Sectoral indices (sectoral_indices()) that are listed in Le Boursier.

Usage

indices()

sectoral_indices()

Arguments

Value

the indices() function returns a data.frame with the following columns:

  • type : the category of the index.

  • name : name of the index.

  • last_date : last date the price of the index changed.

  • price : the price of the index.

  • open : the opening price of the index.

  • close : the closing price of the index.

  • variation : variation of the price.

  • low : lowest price of the index.

  • high : highest price of the index

the sectoral_indices() function returns a data.frame with the following columns:

  • name : name of the sector.

  • price : latest price of the index.

  • variation : variation of the price of the index.

Examples

Run this code
# NOT RUN {
indices()
sectoral_indices()
# }

Run the code above in your browser using DataLab