http://webdlabs.com/2011/10/live-stock-quotes-in-json-or-xml-format-at-no-cost/
Yahoo Query Language
http://developer.yahoo.com/yql/
useful reference
http://prasanta-paul.blogspot.kr/2013/01/accessing-yahoo-finance-api.html
Example:
Try enter this YQL in YQL console:
select * from yahoo.finance.quotes where symbol="BRK-B,0001.HK"
or this
select * from yahoo.finance.xchange where pair in ("CNYHKD", "AUDHKD")
http://developer.yahoo.com/yql/console/?q=select%20symbol%2C%20ChangeRealtime%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22YHOO%22%2C%22AAPL%22%2C%22GOOG%22%2C%22MSFT%22)%20%7C%20sort(field%3D%22ChangeRealtime%22%2C%20descending%3D%22true%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env#h=select+*+from+yahoo.finance.quotes+where+symbol%3D%22BRK-B%22%09%09
沒有留言:
張貼留言