4

I'm developing an application for stocks displaying through finance.yahoo.com in Java using Spring framework.

But it only provides share values from NYSE, Nasdaq-NM, etc. How can I retrieve the values of share by specify NSE or BSE?

nhahtdh
  • 55,989
  • 15
  • 126
  • 162
Master Mind
  • 2,386
  • 3
  • 31
  • 48
  • 1
    Currently using url for retrieving data as CSV is http://in.finance.yahoo.com/d/quotes.csv?s=BBDB.TO+NT.TO+GE+MSFT+INFY+TTM&f=snl1d1t1ohgdrx – Master Mind Aug 30 '12 at 09:37

1 Answers1

2

You can retrieve the components of BSE and NSE with these two links: http://in.finance.yahoo.com/gainers?e=bo and http://in.finance.yahoo.com/losers?e=bo (Gainers and Losers).
Once you have your full list of stocks, just use your link to retrieve data, for example:

http://download.finance.yahoo.com/d/quotes.csv?s=BOBSL.BO,JAIPAN.BO,SANGHIIN.BO&f=snl1d1t1ohgdrx

You might want to check each ticker individually, and ensuring it does retrieve correct information though, eg SOUTHINDBSL.BO doesn't seem to work properly.

Romain
  • 6,322
  • 3
  • 35
  • 40