listed_symbols: Get all Available Symbols in Casablanca Stock Exchange

View source: R/listed_symbols.R

listed_symbolsR Documentation

Get all Available Symbols in Casablanca Stock Exchange

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

listed_symbols(type = "all")

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

## 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')


bilnash/CSE documentation built on Oct. 1, 2024, 4:17 p.m.