aspose file tools*
The moose likes JSP and the fly likes Help me to get NSE stock indices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Help me to get NSE stock indices" Watch "Help me to get NSE stock indices" New topic
Author

Help me to get NSE stock indices

archana vishwanath
Ranch Hand

Joined: Mar 09, 2004
Posts: 39
Hello friends,

I need to add (NSE and BSE )Indian stock quotes ticker in my JSP web site
I do not know where to get these values.Please tell me some links
where I can get these indices and how to fetch the values and display.

Thanks in advance.
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
You may probably incorporate a webservice that provides these values and output the results on to your JSP.

Just a idea...


Kishore
SCJP, blog
archana vishwanath
Ranch Hand

Joined: Mar 09, 2004
Posts: 39
Thanks Kishore,

But how to go about it.
Can any one tell me where to find the web service for this.Because I
searched the whole web and Im not able to find any web service for
NSE stocks.
Ganesh Venkataraman
Greenhorn

Joined: Mar 14, 2005
Posts: 1
Hi, I dont think we have any free services to access NSE quotes. I had the same requirements sometime ago and I implemented using the HTML parsing. There are numerous sites which displays the current price of the stock when you send the stock code as the query parameter.

Parse the return HTML (using regex) and get the price part of any exchange BSE/NSE. The only issue here is, if the site changes its display, then you may have to modify your parser also.

Ganesh
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

Archana,
I wouldn't expect there to be a free web service for this. A paid one, yes - but not free. For example, this page has an API. It costs money for them to provide the quotes real-time. Similarly, for this reason it is often illegal to screen-scrape to get the information. For example, Google has policies against screenscrapers, but provides a limited free API to get the same inforamtion.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help me to get NSE stock indices