简体   繁体   中英

How to retrieve BSE/NSE listed stock's price from finance.yahoo.com

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM