Description Usage Arguments Value Examples
Adjusted BSE Price data
1 | bse_adjust(stock_code, start_date, end_date, refresh = FALSE, ...)
|
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 |
... |
Other arguments |
A dataframe with adjusted BSE price.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #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')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.