get_CAQV: Get Close Price, Adjusted Price, Quantity & Volume

Description Usage Arguments Value Note Examples

Description

Given a valid stock name listed in CSE, this function returns the corresponding financial data including the ADJUSTED PRICES for the specified period (from until to). The returned dataframe includes Date, Close, Adjusted, Quantity and Volume.

Usage

1
get_CAQV(stock_name, from, to)

Arguments

stock_name

a character vector of length one. Use listed_symbols(type = 'stock') to list all valid stocks names listed in CSE.

from

a character vector of length one matching the format 'yyyy-mm-dd'

to

a character vector of length one matching the format 'yyyy-mm-dd'

Value

a dataframe.

Note

The difference between to and from dates should be less than or equal 3 years.

Examples

1
2
## Not run: get_CAQV('COSUMAR', '2014/01/01', '2016/12/31')
## Not run: get_CAQV('ATLANTA', '2017/01/01', '2017/06/30')

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