listed_symbols: Get all Available Symbols in Casablanca Stock Exchange

Description Usage Arguments Value Examples

Description

This function returns a list of all stocks and indexes currently available in CSE. The argument type controls the symbol type: stock, index or all (for both).

Usage

1

Arguments

type

one of "stock", "index" or "all"

Value

if type == "all": list with two columns (INDEXES, STOCKS)

if type == "index": dataframe (index code and description)

if type == "stock": character vector

Examples

1
2
3
4
5
## Not run: listed_symbols()
## Not run: listed_symbols()$INDEXES
## Not run: listed_symbols()$STOCKS
## Not run: listed_symbols(type = 'stock')
## Not run: listed_symbols(type = 'index')

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