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

indices()

sectoral_indices()

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

if( bcr:::check_internet() ) { indices() }
#> type name last_date price open close variation low high #> 1 ST Index INDICE MASI 14/06/2021 à 14:12 12544.60 12462.80 12462.80 0.66 12462.80 12544.60 #> 2 ST Index INDICE MADEX 14/06/2021 à 14:12 10202.18 10133.58 10133.58 0.68 10133.58 10202.18 #> 3 ST Index Casablanca ESG 10 14/06/2021 à 13:59 937.40 930.65 930.65 0.73 930.65 937.40 #> 4 Rentability Index IND MASI RENT.BRUT 14/06/2021 à 08:03 35446.04 35446.04 35446.04 0.00 35446.04 35446.04 #> 5 Rentability Index IND MASI RENTAB NET 14/06/2021 à 08:03 31486.15 31486.15 31486.15 0.00 31486.15 31486.15 #> 6 Rentability Index IND MADEX RENT BRUT 14/06/2021 à 08:03 27314.98 27314.98 27314.98 0.00 27314.98 27314.98 #> 7 Rentability Index IND MADEX RENT NET 14/06/2021 à 08:03 24391.08 24391.08 24391.08 0.00 24391.08 24391.08 #> 8 Currency Index INDICE MASI USD 14/06/2021 à 08:03 11491.89 11491.89 11491.89 0.00 11491.89 11491.89 #> 9 Currency Index INDICE MASI EUROS 14/06/2021 à 08:03 11955.76 11955.76 11955.76 0.00 11955.76 11955.76 #> 10 Currency Index INDICE MADEX USD 14/06/2021 à 08:03 9344.13 9344.13 9344.13 0.00 9344.13 9344.13 #> 11 Currency Index INDICE MADEX EURO 14/06/2021 à 08:03 9721.30 9721.30 9721.30 0.00 9721.30 9721.30 #> 12 Moroccan bond index MOROCCAN BI G 12/05/2021 à 16:58 264.76 0.00 264.76 0.00 0.00 0.00 #> 13 Moroccan bond index MOROCCAN BI CT 19/05/2021 à 17:57 182.18 0.00 182.18 0.00 0.00 0.00 #> 14 Moroccan bond index MOROCCAN BI MT 17/05/2021 à 18:00 227.03 0.00 227.03 0.00 0.00 0.00 #> 15 Moroccan bond index MOROCCAN BI MLT 06/05/2021 à 16:59 304.13 0.00 304.13 0.00 0.00 0.00 #> 16 Moroccan bond index MOROCCAN BI LT 25/05/2021 à 17:59 422.43 0.00 422.43 0.00 0.00 0.00 #> 17 CFG bond CFG25F 01/06/2021 à 17:52 3833.25 0.00 3833.25 0.00 0.00 0.00 #> 18 CFG bond Morocco CFG25 Index 19/05/2021 à 23:07 25026.90 0.00 25026.90 0.00 0.00 0.00 #> 19 CFG bond CFG BOND MCT 04/06/2021 à 17:53 307.70 0.00 307.70 0.00 0.00 0.00 #> 20 CFG bond CFG BOND OCT 09/04/2021 à 09:53 450.08 0.00 450.08 0.00 0.00 0.00 #> 21 CFG bond CFG BOND OLT 09/04/2021 à 09:53 818.86 0.00 818.86 0.00 0.00 0.00 #> 22 CFG bond CFG BOND OMT 09/04/2021 à 19:18 593.90 0.00 593.90 0.00 0.00 0.00 #> 23 CFG bond CFG BOND OBL 09/04/2021 à 09:53 579.49 0.00 579.49 0.00 0.00 0.00
if( bcr:::check_internet() ) { sectoral_indices() }
#> name price variation #> 1 AGROALIMENTAIRE PRODUCTION 39843.71 0.00 #> 2 ASSURANCES 4587.71 0.00 #> 3 BANQUES 13069.48 0.00 #> 4 BATIMENT & MATERIAUX DE CONSTRUCTION 18995.15 0.00 #> 5 BOISSONS 15146.23 0.00 #> 6 CHIMIE 6080.90 0.00 #> 7 DISTRIBUTEURS 39031.72 0.00 #> 8 ELECTRICITE 2324.02 0.00 #> 9 EQUIPEMENTS ELECTRONIQUES & ELECTRIQUES 4224.29 0.00 #> 10 INDUSTRIE PHARMACEUTIQUE 5983.38 0.00 #> 11 INGENIERIES & BIENS DEQUIPEMENT INDUSTRIELS 64.53 0.00 #> 12 LOISIRS ET HOTELS 527.23 0.00 #> 13 MATERIELS LOGICIELS ET SERVICES INFORMATIQUES 2678.64 0.00 #> 14 MINES 25710.84 0.00 #> 15 IMMOBILIER 3515.55 0.00 #> 16 PETROLE ET GAZ 17596.27 0.00 #> 17 SERVICES AUX COLLECTIVITES 1333.33 0.00 #> 18 SOCIETES DE FINANCEMENT ET AUTRES ACTIVITES FINANCIERES 8743.15 0.00 #> 19 IMMOBILIER 3515.55 0.00 #> 20 SOCIETES DE PORTEFEUILLES-HOLDINGS 5108.14 0.00 #> 21 SYLVICULTURE & PAPIER 20.10 0.00 #> 22 TELECOMMUNICATIONS 2040.84 0.00 #> 23 TRANSPORTS 2469.88 0.00