The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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

Introduction

Function bhavs downloads the zipfile of FO bhavcopy from NSE for the given date through RSelenium.

library(nser)
library(RSelenium)

# Start a selenium server and browser either from Google Chrome (Update it to latest version) or from Firefox

driver <- rsDriver(browser = c("chrome"), port = 3163L, chromever = "91.0.4472.101")
driver <- rsDriver(browser = c("firefox"), port = 3799L)
remDr <- driver$client

Use `bhavfos to download the bhavcopy zipfile for the given date. Mention the date in numeric (ddmmyyyy). Time interval delay in seconds can be adjusted. Default is 0 second.

bhavfos("03012000", 2)

# Close the Browser
remDr$close()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.