getStockQuotesNSE: getStockQuotesNSE

Description Usage Arguments Details Value Note Author(s)

Description

This gets the daily data from the bhavcopy csv into a data frame(OHLC)

Usage

1
getStockQuotesNSE(stock = NULL, fileName = NULL, objectName = NULL)

Arguments

stock

- Equity data to be downloaded

fileName

- File name where the quotes(bhavcopy) are stored

objectName

- if the data is stored as rda. Either filename or objectname should be there, not both and neither none.

startDate

- Date in YMD format.

endDate

- Date in YMD format.

Details

Copies the bhavcopies from nse and keeps the csv (yearlywise) in the given directory.

Value

Returns a dataframe with all the OHLC data

Note

This will return an OHLC object with all the details for a given stock. It will read the fileName(BHAVcopy archive), and return the data specific to that particular stock as a OHLC dataframe.

Author(s)

Siva Sunku


sivasunku/dataPrepare documentation built on May 16, 2019, 9:12 p.m.