bse_adjust_quandl: Get Adjusted BSE Stock price.

Description Usage Arguments Value Author(s) Examples

Description

Adjusted BSE Price data

Usage

1
2
bse_adjust_quandl(stock_code, start_date, end_date, refresh = FALSE,
  apikey = NULL, ...)

Arguments

stock_code

A bse code, for multiple codes refer example at end

start_date

Start Date in dd-Mmm-yy format. Should not be before 01-Jan-2000

end_date

End Date in dd-Mmm-yy format.

refresh

Do you want to refresh data. Should be used as TRUE during first call

apikey

Quandl API key

...

Other arguments of Quandl

Value

A dataframe with adjusted BSE price.

Author(s)

Vasim Shaikh

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#500870 Castrol India had announced a 1:1 bonus on 21-Dec-2017.

data <- bse_adjust('500870',
    start_date = '18-Dec-2017',
   end_date = '24-Dec-2017',
   refresh = FALSE)

#For Multiple stocks

stocks_list <- list(stock1 = '500034', stock2 = '532540')

stocks_list <- stocks_list %>%
    map_df(bse_adjust,
           start_date = '01-Jan-2018',
           end_date = '06-Feb-2018')

vasim07/bsepRice documentation built on May 15, 2019, 4:19 p.m.