hemenkapadia / getbhavcopy

Free NSE and BSE data downloader
http://www.getbhavcopy.com
112 stars 49 forks source link

Updating bhavcopy until issue resolved #224

Open neerajkrpal opened 1 year ago

neerajkrpal commented 1 year ago

Hi I am going to update daily bhavcopy in same format as getbhavcopy. 2023-03-27-NSE-EQ.txt 2023-03-28-NSE-EQ.txt 2023-03-29-NSE-EQ.txt 2023-03-31-NSE-EQ.txt 2023-04-03-NSE-EQ.txt 2023-04-05-NSE-EQ.txt 2023-04-06-NSE-EQ.txt 2023-04-10-NSE-EQ.txt 2023-04-11-NSE-EQ.txt 2023-04-12-NSE-EQ.txt 2023-04-13-NSE-EQ.txt

touchofevil-dev commented 1 year ago

Check out this comment

bubbu64 commented 1 year ago

Hi I am going to update daily bhavcopy in same format as getbhavcopy. 2023-04-10-NSE-EQ.txt 2023-04-11-NSE-EQ .txt

thanks

amitingraham commented 1 year ago

Hi,

Kindly provide bhavcopy in same format from 29-Mar-2023 to 10-Apr-2023

neerajkrpal commented 1 year ago

2023-03-27-NSE-EQ.txt 2023-03-28-NSE-EQ.txt 2023-03-29-NSE-EQ.txt 2023-03-31-NSE-EQ.txt 2023-04-03-NSE-EQ.txt 2023-04-05-NSE-EQ.txt 2023-04-06-NSE-EQ.txt 2023-04-10-NSE-EQ.txt 2023-04-11-NSE-EQ.txt 2023-04-12-NSE-EQ.txt 2023-04-13-NSE-EQ.txt(data has been corrected)

amitingraham commented 1 year ago

Thanks for your valuable contribution.

JITHUJT commented 1 year ago

Thank you Neeraj for the files. Can you please let know how you are preparing these files and time taken to create them?

neerajkrpal commented 1 year ago

I am using excel as I am good in that. Copying two files (one for Indices and other for scrip from NSE website) and pasting in excel in which I put some simple functions. I paste excel output in text file.

It only take time enough for three time copy-paste, hardly 2 minutes.

On Thu, 13 Apr, 2023, 3:33 pm JITHUJT, @.***> wrote:

Thank you Neeraj for the files. Can you please let know how you are preparing these files and time taken to create them?

— Reply to this email directly, view it on GitHub https://github.com/hemenkapadia/getbhavcopy/issues/224#issuecomment-1506694707, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7DS57YUHTV2A5NDFI3OR2DXA7FOTANCNFSM6AAAAAAW2SITUQ . You are receiving this because you authored the thread.Message ID: @.***>

RS-NDIND commented 1 year ago

Thanks for taking the trouble to help us all out.

Re the equity segment data, been using excel to dump bhavcopy data in to worksheet and then copy/manipulate eq and be data for AB compatible format. Rudimentary workaround as am not proficient with excel or coding.

How are you going about changing the index names to the format being used by GBC?

If you can help with showing how that is to be done, then most should be self sufficient and not needing to bother anyone.

Thanks.

neerajkrpal commented 1 year ago

Hopefully this will help you. Go through the files. I am using VLOOKUP to find the INDEX CODE in CSV file provided by NSE. Data.convert.xlsx

RS-NDIND commented 1 year ago

Hopefully this will help you. Go through the files. I am using VLOOKUP to find the INDEX CODE in CSV file provided by NSE. Data convert.xlsx SOP.docx

Thanks very much.

Worked like a charm.

Hope everyone will implement this.

Even bloody ChatGPT did not think of this and was telling me to learn Python. So much for AI !

Once again, much obliged and thanks.

lokeshbharadia commented 1 year ago

2023-03-29-NSE-EQ.txt 2023-03-31-NSE-EQ.txt 2023-04-03-NSE-EQ.txt 2023-04-05-NSE-EQ.txt 2023-04-06-NSE-EQ.txt 2023-04-10-NSE-EQ.txt 2023-04-11-NSE-EQ.txt 2023-04-12-NSE-EQ.txt 2023-04-13-NSE-EQ.txt

sir please send 27/3/23 and 28/3/23 bhavcopy thanks

JITHUJT commented 1 year ago

Thank you Neeraj for sharing the files..

desood78 commented 1 year ago

thanks a lot neeraj for sharimg the files but for those who are not very excel friendly all ur language is giberrish ... iwas really so upset as i came across this message of central directory not available ,...are we getting any near tearm solution for this ...also neeraj can you please share 27/03/2023 and 28/03/2023 files as well...guys is there any way we can connect to mr hemen kapadia

desood78 commented 1 year ago

Also the 13th april file is only updated for indicies and not for individual stocks..can u please reshare updated one

binay222singh commented 1 year ago

2023-03-29-NSE-EQ.txt 2023-03-31-NSE-EQ.txt 2023-04-03-NSE-EQ.txt 2023-04-05-NSE-EQ.txt 2023-04-06-NSE-EQ.txt 2023-04-10-NSE-EQ.txt 2023-04-11-NSE-EQ.txt 2023-04-12-NSE-EQ.txt 2023-04-13-NSE-EQ.txt

sir there is data error in 13-04-2023 specially in stock price plz check

neerajkrpal commented 1 year ago

2023-04-13-NSE-EQ.txt

binay222singh commented 1 year ago

Sir from ABB price is old date plz check

Sent from Yahoo Mail on Android

On Sat, 15 Apr 2023 at 9:37 AM, @.***> wrote:

2023-04-13-NSE-EQ.txt

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

neerajkrpal commented 1 year ago

thanks a lot neeraj for sharimg the files but for those who are not very excel friendly all ur language is giberrish ... iwas really so upset as i came across this message of central directory not available ,...are we getting any near tearm solution for this ...also neeraj can you please share 27/03/2023 and 28/03/2023 files as well...guys is there any way we can connect to mr hemen kapadia

2023-03-27-NSE-EQ.txt 2023-03-28-NSE-EQ.txt

neerajkrpal commented 1 year ago

Sir from ABB price is old date plz check Sent from Yahoo Mail on Android On Sat, 15 Apr 2023 at 9:37 AM, @.> wrote: 2023-04-13-NSE-EQ.txt — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> 2023-04-13-NSE-EQ.txt Updated. please download again.

lokeshbharadia commented 1 year ago

Thanks for quick response!!Sent from my iPhoneOn 15-Apr-2023, at 9:48 AM, neerajkrpal @.***> wrote:

Sir from ABB price is old date plz check Sent from Yahoo Mail on Android On Sat, 15 Apr 2023 at 9:37 AM, @.> wrote: 2023-04-13-NSE-EQ.txt — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

updated. please download again.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

neerajkrpal commented 1 year ago

Also the 13th april file is only updated for indicies and not for individual stocks..can u please reshare updated one

Updated. Download from Initial comment of thread.

aarki25 commented 1 year ago

Hi @neerajkrpal , thanks for sharing the excel, in indices you have used vlookup, but for equity you have directly copied from row number, if there is any discrepancy from nse side in any single name being added or removed, whole data will be altered. i think it will be better if you use vlookup for equity list as well

neerajkrpal commented 1 year ago

But how will VLOOKUP detect the descripency in ticker name? There is rare chance of that descripency in NSE data, however if that happen and you detect the error after some days, you can merge the symbol in AB.

aarki25 commented 1 year ago

Hello, what i meant is, even if one new name gets added or removed from current list, your order in output scrip will be distorted since you have directly copied from rows in input scrip

neerajkrpal commented 1 year ago

But order has no significance while uploading data in AB. AmiBroker will read data itself from respective ticker code.

JITHUJT commented 1 year ago

2023-04-17-NSE-EQ.txt

ar23a commented 1 year ago

Could someone kindly provide bhavcopy in AB format from 14-Mar-2023 to 26-Mar-2023

There are many files here: https://www.nseindia.com/all-reports#cr_equity_daily

Which one to download for daily snapshot of Equity and Indices ?

tia

sheetal020 commented 1 year ago

I need data file from 10-03-2023 can you please send or upload the same. thanks in advance.

sahaveer commented 1 year ago

Thank you Neeraj for the files. Can you please let know how you are preparing these files and time taken to create them?

Hey, have created a telegram bot to download nse and bse files, been using since 2 months and working gud. Pls do follow this @Sahav_bot in telegram for downloading equity bhavcopies from both nse and bse. Created a group as well, https://t.me/bhavcopy_amibroker to get everyday bhavcopies

Hope this helps the EOD community

sheetal020 commented 1 year ago

need it for metastoke

sahaveer commented 1 year ago

May I see metastock format. Send me your previously downloaded EOD file Will see if i can help

On Tue, Apr 18, 2023 at 12:33 PM sheetal020 @.***> wrote:

need it for metastoke

— Reply to this email directly, view it on GitHub https://github.com/hemenkapadia/getbhavcopy/issues/224#issuecomment-1512550090, or unsubscribe https://github.com/notifications/unsubscribe-auth/APM3PYPFHOGBBWWDNXBMDZ3XBY4CVANCNFSM6AAAAAAW2SITUQ . You are receiving this because you commented.Message ID: @.***>

neerajkrpal commented 1 year ago

I need data file from 10-03-2023 can you please send or upload the same. thanks in advance.

2023-03-10-NSE-EQ.txt 2023-03-13-NSE-EQ.txt 2023-03-14-NSE-EQ.txt 2023-03-15-NSE-EQ.txt 2023-03-16-NSE-EQ.txt 2023-03-17-NSE-EQ.txt 2023-03-20-NSE-EQ.txt 2023-03-21-NSE-EQ.txt 2023-03-22-NSE-EQ.txt 2023-03-23-NSE-EQ.txt 2023-03-24-NSE-EQ.txt for 27/03 and more, see thread

JITHUJT commented 1 year ago

2023-04-18-NSE-EQ.txt

aarki25 commented 1 year ago

Untitled hi @neerajkrpal , whenever i paste new data in input scrip, on the output scrip page i am getting date in wrong format. can you please check why is this happening?

amitingraham commented 1 year ago

Could someone kindly provide bhavcopy in AB format from 14-Mar-2023 to 26-Mar-2023

There are many files here: https://www.nseindia.com/all-reports#cr_equity_daily

Which one to download for daily snapshot of Equity and Indices ?

tia

20230317.txt 20230316.txt 20230315.txt 20230314.txt 20230418.txt 20230417.txt 20230413.txt 20230412.txt 20230411.txt 20230410.txt 20230406.txt 20230405.txt 20230403.txt 20230331.txt 20230329.txt 20230328.txt 20230327.txt 20230324.txt 20230323.txt 20230322.txt 20230321.txt 20230320.txt

neerajkrpal commented 1 year ago

Untitled hi @neerajkrpal , whenever i paste new data in input scrip, on the output scrip page i am getting date in wrong format. can you please check why is this happening?

please remove space before the date by applying "Trim" function in column B (date column) Untitled

neerajkrpal commented 1 year ago

2023-04-19-NSE-EQ.txt

neerajkrpal commented 1 year ago

Untitled hi @neerajkrpal , whenever i paste new data in input scrip, on the output scrip page i am getting date in wrong format. can you please check why is this happening?

please remove space before the date by applying "Trim" function in column B (date column) Untitled

updated excel file Data.convert.xlsx

aarki25 commented 1 year ago

thank you so much @neerajkrpal for this. now the entire process takes just a few clicks. i have made a small modification of adding all the other remaining indices as well, combining with @niteshmurti's excel file. all credits to you and Nitesh.

Data.convert.xlsx

neerajkrpal commented 1 year ago

There were only 34 indices in the intial bhavcopy downloaded through getbhavcopy. Please add only those 34. As I can see you have placed space in the indices ticker code which is not right as it will not match any of old indices in Amibroker. List of 34 indices is given below. You can verify the ticker code with old copy downloaded through getbhavcopy and update them in excel. Rest should be dropped. We are generating text file inline with old bhavcopy. indices here is old bhavcopy 2023-02-09-NSE-EQ.txt

Ganesh1812 commented 1 year ago

neerajkrpal Sir whenever i try to convert plain .txt bhavcopy file (not from Getbhavcopy but other soft in past data) into metastock there is an error that header not recognise( Something like that) why it is happened that my direct excel to txt file is not recognise by metastock ( i have old data @ of year 1998 file)

neerajkrpal commented 1 year ago

neerajkrpal Sir whenever i try to convert plain .txt bhavcopy file (not from Getbhavcopy but other soft in past data) into metastock there is an error that header not recognise( Something like that) why it is happened that my direct excel to txt file is not recognise by metastock ( i have old data @ of year 1998 file)

Can you please provide both the text files, which is getting error and which is error free.

bubbu64 commented 1 year ago

Hello Neeraj Can I get the bhavcopy file for 20th april pls regards

Ganesh1812 commented 1 year ago

neerajkrpal Sir Getbhavcopy file is working whereas if i convert the file which i get from nse cm then change the date formate and save as ascii txt with comma as delimator that file is not sorted and get error as above and i am now migrated to amibroker 6.3 for the same reson but old date is on another exernal drive which i replaced and put new ssd for fast working so may try to relocate but did not found try after some time, anyway pls make same sample for for BSE also so that we can track bse scrip also but in case of bse we must use scrip code like 500500 since those co change name many time in their lifecycle.thks

sarnab11496 commented 1 year ago

I need data file from 27th Feb till 9th March 2023, I have these files missing. Can someone please send or upload the same. It would be really helpful. Thanks in Advance

niteshmurti commented 1 year ago

futuresbhavcopy.xlsx

With some inspiration from @neerajkrpal sheet I have made this sheet for futures bhavcopy. It's a little tricky to use as a few things need to be kept in mind while using it. You can improve it however you see fit. Please spend some time going through the formulas I have placed in the sheet to understand how it works. Few things to keep in mind are:

  1. You'll have to manually update cells B1, B2 and B3 after every expiry. This is extremely important!!!!
  2. Date in cell S5 must be manually updated everyday.
  3. This sheet is made for the MetaStock format.
  4. FINNIFTY expires every last Tuesday instead of Thursday so don't mess with what I've typed in cells Q8, Q9 and Q10.
  5. Same goes for MIDCPNIFTY, it has weekly expiries so don't mess with cells Q11 to Q17. Rest will update automatically. You have to download the futures complete bhavcopy filter only Index and Stock Futures then sort them A to Z, then click "Add Level" in the top-left of the Sort dialog box and sort by expiry "Oldest to Newest". Then copy/paste the data into this sheet. Any doubts you can ask.
neerajkrpal commented 1 year ago

2023-04-21-NSE-EQ .txt 2023-04-20-NSE-EQ .txt

ashishk53 commented 1 year ago

2023-04-21-NSE-EQ .txt 2023-04-20-NSE-EQ .txt

Thanks Neeraj. can you pls provide the bhavcopy for dat 17th, 18th & 19th April as well. thanks

bubbu64 commented 1 year ago

2023-04-21-NSE-EQ .txt 2023-04-20-NSE-EQ .txt

Thanks neeraj

ravinifty commented 1 year ago

hello I need data files from 29 nov to 31 dec 2022 and 1 jan 2023 to 9mar 2023. Please someone upload. Thanks. This data can be uploaded in zip file ?