bhavs: Equity Bhavcopy through RSelenium

View source: R/bhavs.R

bhavsR Documentation

Equity Bhavcopy through RSelenium

Description

Equity Bhavcopy through RSelenium

Usage

bhavs(x, n = 0)

Arguments

x

numeric date format (ddmmyyyy)

n

time interval to delay in seconds. DEFAULT = 0

Details

Gets zip Bhavcopy from NSE for the given date.

Value

Download Equity Bhavcopy zip file of the given date.

Note

The date should be strictly numeric and of format 'ddmmyyyy' mentioned in quotation mark. All the Bhavcopy's can be downloaded.

Author(s)

Nandan L. Patil tryanother609@gmail.com

Source

<https://www.nseindia.com/all-reports>

See Also

bhavprbhavtodaybhavfobhavbhavfos

Examples

 # Start a selenium server and browser
library(RSelenium)
# For Google Chrome (Update Chrome to latest version)
#driver = rsDriver(browser = c("chrome"), port = 3163L, chromever = "91.0.4472.101")
#remDr = driver$client

# For Firefox
#driver = rsDriver(browser = c("firefox"), port = 3799L)

# Download Equity Bhavcopy zip file
#bhavs("03012000", 3)

# Close the Browser
#remDr$close()



nandp1/nser documentation built on Nov. 15, 2024, 4:04 a.m.