MetaStock NSE Data downloader with VIX

Dear xtalk,

i got below error

Updating Nifty & Nifty Jr. symbol list...
Exception occured while downloading nifty & nifty jr. symbols
Exception Message: The remote server returned an error: (403) Forbidden.
 
I am receiving the same error too. What to do?

ERROR :
Updating Nifty & Nifty Jr. symbol list...

Exception occured while downloading nifty & nifty jr. symbols
Exception Message: The remote server returned an error: (403) Forbidden.
 

murthymsr

Well-Known Member
I am receiving the same error too. What to do?

ERROR :
Updating Nifty & Nifty Jr. symbol list...

Exception occured while downloading nifty & nifty jr. symbols
Exception Message: The remote server returned an error: (403) Forbidden.
Dear xtalk

It appears that NSE wants allow browser requests only and not requests from software, may be to reduce the load on their servers.

Updating of Nifty & Junior watchlists everyday the EOD data is downloaded may be unnecessary load on servers and whether it can be kept as an option may be looked into. This updation is to sum up the volumes of the constituent stocks.

Regards.
murthymsr
 
sir

nse downloader given follwing error from 29.10.2010

Exception occured while downloading nifty & nifty jr. symbols
Exception Message: The remote server returned an error: (403) Forbidden.

this can"t able to download
 
Dear Xtalk
I have been using your program since long and the problem is faced by everybody who are using your program I hope you will find a solution for all.
i wish you all the best.and may god give yo energy and wit to sort out all problem in your life may I request you to share some of the most critical problem you have solved in your life.
Thank you
 
It will be really helpful if you fix the problem. i am completely relied on your software. though i am not trading actively but testing my EOD strategy using ur software. due to this problem i am not able to go further. Your help is appreciated.

Thanks.
 

d_s_ramesh

Well-Known Member
NSE, BSE EOD data along with all the index and NSE futures data available in text file for easy conversion into metastock and Amibroker at http://www.bravisatempletree.com/bhavcopynse-bse.php. Data is loaded everyday by 6.30 pm.

Traders facing problems with Getbhav may use this data. All symbols are similar to those updated from get bhav.

History data of NSE split/bonus corrected upto October 2010 is also available for download.

Traders requiring assistance in EOD data updation to metastock may post your requests through PM.
 
Hey Everybody.

Have been reading up on this forum since the past few days as I just started learning technical analysis.

I'm an entrepreneur and software professional, so even though I'm a newbie at tech analysis,I can be of help here.

This is directed to the coder (xtalk) that made this app.

NSE is checking for the "Accept" and "Referer" header to block requests from your app.

I tested this in this manner using a http debugger

The url that your app tries to access is

http://www.nseindia.com/content/indices/ind_niftylist.csv

Now one can access that from a browser but your app gets sent a 403 forbidden response.

I wrote a few lines of code that are able to access this url successfully, so if you do the same, your app will work again :clap:

I would request you to implement the same into your app and give us guys an updated version ( I'm really looking forward to it..)


Codes in VB.net.. I would assume that if you are coding in c# you would find the equivalent


Code:
Sub getNSEData()
        Try

            objRequest = HttpWebRequest.Create("http://www.nseindia.com/content/indices/ind_niftylist.csv")


            With objRequest

                .UserAgent = "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070216 Firefox/1.5.0.10"
                .KeepAlive = False
                .Method = "GET"
                .AllowAutoRedirect = True
                '.Referer = "http://nseindia.com/marketinfo/companyinfo/companysearch.jsp?cons=HDFC&section=7"
                .CookieContainer = CC
                .Timeout = 60 * 1000
                .Headers.Add("Pragma", "no-cache")
                .Headers.Add("Cache-Control", "no-cache")


                .Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"


        

                .ServicePoint.Expect100Continue = False


            End With



           

            objResponse = objRequest.GetResponse()

           



            Dim sReader As New IO.StreamReader(objResponse.GetResponseStream)

            Dim HTML As String = sReader.ReadToEnd()


        Catch ex As Exception
           msgbox(ex.ToString())

        End Try

    End Sub
Please contact me in case you need help.. lets get this fixed :thumb:
 

Similar threads