nsepy icon indicating copy to clipboard operation
nsepy copied to clipboard

How to pull only " Close " price of the equity from get_history(symbol="XXX", start=date(2019,1,1), end=date(2019,6,31))

Open a3111 opened this issue 6 years ago • 1 comments

Please help in scrapping only close price of the equity between a period of time.

a3111 avatar Jul 27 '19 07:07 a3111

what you will get includes the ['Close'] price along with other information.

df = get_history("RELIANCE", start=date(2019,1,1), end=date(2019,6,31))
# df['Close'] is what you want

srajangarg avatar Nov 14 '19 19:11 srajangarg