A service providing information about the current quotation of the shares

Hello!

Looking for a service providing information about current stock valuations of companies (primarily American).

Gelatelno the presence of the c API with results in JSON or XML.
October 8th 19 at 02:41
3 answers
October 8th 19 at 02:43
Solution
Thanks, is it possible to get a full list of the sold currently stock? - Jamison commented on October 8th 19 at 02:46
That means the list of shares? Amount of shares in the auction? Or a list with different filters, e.g. "all oil companies"? - reuben_Pacocha commented on October 8th 19 at 02:49
The volume of shares trades - Jamison commented on October 8th 19 at 02:52
def get_finance(value):<br> #we make a url for google finance with the value given<br> link = "http://finance.google.com/finance?q=%s"%value.<br> #we open this url<br> page = urllib2.urlopen(link).read()<br> #we find where is the hisctorical link<br> findhistorical = re.findall("/finance/historical\?q.*\"", page)<br> print findhistorical<br> #we substract the " at the end of the string<br> findhistorical = findhistorical[0].replace('\"',")<br> #we make a link for the historical page of the value<br> histlink = "http://finance.google.com%s"%findhistorical<br> #we open the historical page<br> hist = urllib2.urlopen(histlink).read()<br> #we find the link for getting the data in csv mode<br> findcsv = re.findall('http://finance.*csv',hist)<br> #we open the link<br> csv = "<br> try :<br> #we try to get the csv file if existent<br> csv = urllib2.urlopen(findcsv[0]).read()<br> except :<br> #else, we parse the google finance page with table parser<br> findcsv = re.findall('.*?',hist,re.S)<br> p = TableParser()<br> p.feed(findcsv[0])<br> csv = p.doc<br / > #we return the csv data for the value<br> return csv<br> <br / > <br / > <br / > def main(argv=None):<br> # we get the argument passed on the command line<br> value = sys.argv[1]<br> get_finance print(value)

Getting the value of the stock over time, knowing the total cost you can obtain the approximate amount of the shares in the auction on the date, but that the whole amount of to have not, it is necessary to watch the docks. - reuben_Pacocha commented on October 8th 19 at 02:55
October 8th 19 at 02:45
Maybe there are some realties?
finance.yahoo.com/ =), of course there is, and still evolving, unlike Gorlovskogo service that just works without development. - Jamison commented on October 8th 19 at 02:48
And yahoo has an API? - reuben_Pacocha commented on October 8th 19 at 02:51
developer.yahoo.com/finance/ via rss key, although I came across a full-fledged application based on it... - Jamison commented on October 8th 19 at 02:54
Good, thank you! - reuben_Pacocha commented on October 8th 19 at 02:57
That is what many exchanges, Google now provides real-time detainees instead of data (such as for big money used to be) — this means that not developing?? - reuben_Pacocha commented on October 8th 19 at 03:00
October 8th 19 at 02:47
More like Microsoft has something in there?
Here is a list of the services:
www.programmableweb.com/apis/directory/1?apicat=Financial&sort=name

MS have definitely not this, I still would recommend Blomberg. Often pulled the data too. open.bloomberg.com/
but they seem to limit was the amount of traffic or something. - Jamison commented on October 8th 19 at 02:50
Bloomberg seems to be Windows api. COM, all. - reuben_Pacocha commented on October 8th 19 at 02:53

Find more questions by tags APIJSONE-commerce