BennyThadikaran / NseIndiaApi

Unofficial Python Api for NSE India stock exchange
https://bennythadikaran.github.io/NseIndiaApi/
GNU General Public License v3.0
31 stars 6 forks source link

fnobhavcopy download not working #2

Closed akshay-bs closed 2 months ago

akshay-bs commented 3 months ago

While trying to download the fno bhavcopy I always get this error RuntimeError('NSE file is unavailable or not yet updated.')

I am able to download the bhavcopy before 8 July.

BennyThadikaran commented 2 months ago

Hi Akshay-bs,

The FNO bhavcopy report file and format has changed. It now uses the Udiff file format.

Thanks for reporting it. I will make changes tomorrow and get back to you.

Meanwhile you may want to take a look at the F&O Udiff common bhavcopy file at https://www.nseindia.com/all-reports-derivatives

The file format has changed, so your script will need to be modified to continue working properly.

On 27 July 2024 16:30:48 UTC, akshay-bs @.***> wrote:

While trying to download the fno bhavcopy I always get this error RuntimeError('NSE file is unavailable or not yet updated.')

I am able to download the bhavcopy before 8 July.

-- Reply to this email directly or view it on GitHub: https://github.com/BennyThadikaran/NseIndiaApi/issues/2 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

BennyThadikaran commented 2 months ago

Its working now. Run pip install -U nse to update to latest version 1.0.1.

Make sure to update your scripts as the column names are changed in the new Udiff format.

akshay-bs commented 2 months ago

It working for me now, thank you for the quick resolution