StockD - Another NSE EOD Data Downloader

#73
Whenever a bhavcopy is not available for a particular day, then the subroutine shouldn't process that day's data, that's what other downloaders do. Dunno abt this code though, whether such an subroutine is possible or not.
The idea is that if there is any data available for a given day, be it bhavcopy or index data or futures data, the day is processed and whatever is available is downloaded. So that's why if NSE hasn't uploaded bhavcopy for a day, only the bhavcopy download fails and rest proceeds.

today at my end equity bhavcopy not downloaded. dont know any one facing such issue
The issue will only occur if you are using the link profile "NSE Daily (with Delivery)". NSE sometimes doesn't upload data on this link and only bhavcopy data download fails. This is the same problem reported earlier as well. If you don't need delivery data or NSE has not uploaded delivery data for some day, I'd highly recommend switching to another link profile (such as "NSE Daily" or "NSE Archives").


Also another update -- anybody who was using the NSE Archives profile should switch to NSE Daily link profile.
NSE has introduced some authorization protocols which will take time to implement and I'm a very busy currently
I'll release a new version with those protocols sometime later if I feel that the Archives URL is really required
I got some free time and have implemented the required code pieces. I don't have access to a windows machine currently, so will release a new version in a few days. With the new version all link profiles will be available for usage. However some things to note:

1. NSE has a different url where they upload bhavcopy with delivery data. This doesn't have any backup link.
2. NSE doesn't upload bhavcopy on this URL many times. (e.g for 28th September 2020 and 13th April 2020)
3. Due to this problem, users will notice download failure for Bhavcopy on given dates because no bhavcopy exists on the delivery data server
4. However Bhavcopy will probably exist on the normal server for this day
5. So switch to a profile that doesn't support delivery data and there should be no more issues

Starting with StockD v4.5, I've put more meaningful names to link profiles in the Advanced Tab. Hope that it will ease the process of switching link profiles.
End of the day, Link Profiles are nothing but backup servers. If one doesn't work, please try the other ones.

Hopefully StockD v4.5 will be released for Windows by this Sunday.
 
#74
I've released StockD v4.5
It should solve recent problems with downloads from NSE Archives link profile. I'd also advise anyone facing problems with Bhavcopy downloads, to try switching between link profiles and use the one that works best for them.

As always, latest release can be downloaded from either github releases (https://github.com/virresh/StockD/releases) or official website (https://virresh.github.io/projects/stockd)
 

kaly422000

Well-Known Member
#75
I've released StockD v4.5
It should solve recent problems with downloads from NSE Archives link profile. I'd also advise anyone facing problems with Bhavcopy downloads, to try switching between link profiles and use the one that works best for them.

As always, latest release can be downloaded from either github releases (https://github.com/virresh/StockD/releases) or official website (https://virresh.github.io/projects/stockd)
but this time another black empty window opening simultaniously along with original stockd window but this time my antivirus didnt detect it
 

Attachments

#79
nseeodfixed stopped working ,if u can resolve .any way stockd 4.5 is only working ,previous version is not working. pls help
Sorry but I don't think I'll be able to provide updates to NSEEodFixed or older versions. Newer versions of StockD are intended to fix any issues found in previous versions, so I recommend you to update to the latest version.

please add MCX eod in next release ..


Happy trading.
I've already logged an issue to track this at https://github.com/virresh/StockD/issues/4

Unfortunately I'm currently short on time. I'll try to add it as soon as I can.
For now, I've done some bug-fixes and released StockD v4.6 at
https://github.com/virresh/StockD/releases/latest
 

kaly422000

Well-Known Member
#80
actually nseeodfixed with it previous version of rohit also ,can not download at the end of year. on 1/1/21 it is still proved. last year also it happened and u update it. pls update if u can. nseeodfixed stopped working as expected from 1st januery and it is common for last 2 yrs as it can not download on start of a new year when it was rohit's version and as u rectified it last year we depend on u.ur latest version is working superbly however but we want it as a back up. pls have a time to check it