bhavfos: Futures and Options (F&o) Bhavcopy through RSelenium

View source: R/bhavfos.R

bhavfosR Documentation

Futures and Options (F&o) Bhavcopy through RSelenium

Description

Futures and Options (F&o) Bhavcopy through RSelenium

Usage

bhavfos(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 F&O Bhavcopy zip file of the given date.

Note

The date should be strictly of 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

bhavprbhavtodaybhavfobhavbhavs

Examples

 # Start a selenium server and browser
# For Google Chrome (Update Chrome to latest version)
library(RSelenium)
#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
#bhavfos("03012000", 3)

# Close the Browser
#remDr$close()



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