Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a C# API or Web Service to get the quotes from NSE or BSE? [closed]

Earlier today I was looking for an C# API which provides stock quotes for Indian market(BSE)/(NSE) in real time. But couldn't really find anything close to it.

I want to create a rich desktop application like MoneyControl.com for windows using C# .NET and expression studio. I am searching for an C# API or any webservice to get the quotes from NSE or BSE.

like image 501
Ananda Avatar asked Apr 02 '12 09:04

Ananda


1 Answers

To be honest, I am not sure about your exact answer.
However, stock exchanges generally do offer their data feeds e.g. check this service from BSE: http://www.bseindia.com/about/abtip.asp . There are two levels of data feeds available and over HTTP, you can get one minute snapshot delivered - check out FAQ and vendors.

Another way would be do web scraping to gather the data - essentially, you mimic browser actions for target web-site (say www.bseindia.com) from your code to get the relevant data. For example, simulating this page (http://www.bseindia.com/debtbhav/BhavCopyDebt.aspx) would give you bhavcopy details for BSE. NSE also has similar pages to get the relevant data e.g. http://www.nseindia.com/archives/archives.htm.

like image 161
VinayC Avatar answered Oct 14 '22 09:10

VinayC