• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help me to get NSE stock indices

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may probably incorporate a webservice that provides these values and output the results on to your JSP.

Just a idea...
 
archana vishwanath
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic