Reputation: 21245
I'm just using one of the sample datatables in the YQL console. The YQL statement is select * from yahoo.finance.stock where symbol="yhoo"
Why am I get null in the results?
Link to YQL console with the YQL statement
Upvotes: 2
Views: 1477
Reputation: 37
I had better luck with yahoo.finance.stock (singular, no "s"). The data seems to be better maintained.
Upvotes: 0
Reputation: 10721
It looks like the yahoo.finance.stock YQL data table is no longer working. When run with Diagnostics enabled, several JavaScript errors appear. Because there is no official Yahoo Finance API, this community table is retrieving data by scraping web pages, and is therefore susceptible to page changes causing breakage like this.
The table yahoo.finance.stocks does seem to work, but I'm not sure if the data returned is what you're looking for.
Example query:
select * from yahoo.finance.stocks where symbol="yhoo"
Upvotes: 2