0

I am trying to get a csv using a link "https://nsearchives.nseindia.com/content/equities/eq_band_changes_16072024.csv" but it is not downloading.

`import pandas as pd url_circuit_band_changes = f"https://nsearchives.nseindia.com/content/equities/eq_band_changes_{time_now}.csv"

url_circuit_bands = f"https://nsearchives.nseindia.com/content/equities/sec_list_16072024.csv"

stocks_circuit_limits = pd.read_csv(url_circuit_bands)`

1
  • could close this with below method Commented Jul 17, 2024 at 4:10

1 Answer 1

0

You can use Python Library as an alernative instead doing it all manually to retrieve csv files for Historical Data:

pip install jugaad-data pandas

from datetime import date
from jugaad_data.nse import bhavcopy_save, full_bhavcopy_save, bhavcopy_fo_save, bhavcopy_index_save

bhavcopy_save(date(2020,1,1), "/path/to/directory")
full_bhavcopy_save(date(2020,1,1), "/path/to/directory")
bhavcopy_fo_save(date(2020,1,1), "/path/to/directory")
bhavcopy_index_save(date(2020,1,1), "/path/to/directory")

Ref Link: https://marketsetup.in/documentation/jugaad-data/historical/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.