bhav: Bhavcopy from NSE

View source: R/bhav.R

bhavR Documentation

Bhavcopy from NSE

Description

Bhavcopy from NSE

Usage

bhav(x, se = "NSE")

Arguments

x

numeric date format

se

Stock Exchange either 'NSE' or 'BSE'. Default is 'NSE'.

Details

Gets Bhavcopy from NSE for the given date. The function tries to get the bhavcopy from two sources i.e., Old and New website of NSE.

Value

Bhavcopy for the given date.

Note

The date should be strictly numerical and mentioned in quotation mark. 'bhav' can be used to download bhavcopy from 1 Jan 2016 on wards. To download bhavcopy previous to aforementioned date use 'bhavs'.

Author(s)

Nandan L. Patil tryanother609@gmail.com

Source

<https://www.nseindia.com/all-reports>, <https://www.bseindia.com/markets/marketinfo/BhavCopy.aspx>

See Also

bhavprbhavtoday

Examples


#Download Bhavcopy from NSE
report = bhav("01072021") # Download bhavcopy for 01 July 2021

#Download bhavcopy from BSE
report = bhav("01072021", 'BSE')


nser documentation built on Sept. 19, 2023, 5:06 p.m.