Can I use the Google Finance API to get stock data?
If there is a Flash or Javascript viewer for such stocks data it would be good.
I found some chart components that could be used for the same:
Can I use the Google Finance API to get stock data?
If there is a Flash or Javascript viewer for such stocks data it would be good.
I found some chart components that could be used for the same:
Several points:
1) Google has recently deprecated the finance API: http://code.google.com/apis/finance/
2) From reading discussions on the forums, google does not have rights to deliver stock quotes, only portfolio performance data, so there is no direct way to get a quote via the API
3) Several items are broken in the web service at this point such as the ability to get market value for a position or portfolio and ability to get the cash position in a portfolio
Yahoo finance seems the best option at this point.
When I try to access the URL, I get this problem..
Yahoo! Finance gives you real-time stock quotes. Data is returned as a CSV.
See this NASDAQ page at http://finance.yahoo.com/q?s=^IXIC
Click the Download Data button to access live data
Click the Download To Spreadsheet button to access historical data
You can access that data from Flash using the LoadVars or URLLoader classes. Use unescape() to decode the string from its URL-encoded format.
As an alternative to Google Finance, consider http://www.mergent.com/servius (the Historical Securities Data API)
Thats cleared out, Dion Loy, a Google employee recently affirmed that it was perfectly legal to use the Finance API on commercial websites.
Using Google Finance Portfolio Data javascript API, via MarkMail.
Using Google Finance API in commercial app?, via MarkMail.
I experienced the same problem, that is, if I executed my flex apps locally all worked fine, but when I published it on the server I got 2048 sandbox error. I think that the problem is caused by the crossdomain.xml file on yahoo finance server; if I am right, you can solve it in this way: your flex app do not have to call directly yahoo finance download page but another page (that you can make with php,jsp, asp) that call yahoo finance download page and returns you the data.