library(magrittr)
knitr::opts_chunk$set(
    collapse = TRUE,
    comment = "#>",
    fig.path = "README-"
)

Travis-CI Build Status

CSE

The goal of CSE (Casablanca Stock Exchange) is to simplify financial programming workflow with Casablanca stock exchange data.

Currently, it implements 3 mains functions:

Installation

You can install CSE from github with:

# install.packages("devtools")
devtools::install_github("blnash508/CSE", build_vignettes = TRUE)

Documentation

A detailled documentation can be found in the package vignette.

vignette("cse_vignette", package = "CSE")

Example

This is a basic example which shows you how to use CSE:

listed_stocks <- CSE::listed_symbols(type = "stock")
available_indexes <- CSE::listed_symbols(type = "index")

head(listed_stocks)

head(available_indexes)
cosumar_data <- CSE::get_symbol(symbol = "COSUMAR", from = "2018-01-01", to = "2018-06-30", type = "stock")

masi_data <- CSE::get_symbol(symbol = "MASI", from = "2018-01-01", to = "2018-06-30", type = "index")

head(cosumar_data) 

head(masi_data)


blnash508/CSE documentation built on May 3, 2019, 11:52 p.m.