我目前正在学习如何通过YQL查询数据,并想知道表是否:yahoo.finance.quotes&& yahoo.finance.historicaldata现在工作.
事实上,在https://stackoverflow.com/questions/12417624/中提出了简单的查询:
select * from yahoo.finance.quotes where symbol in ("YHOO","AAPL","GOOG","MSFT") select * from yahoo.finance.historicaldata where symbol in ("YHOO","MSFT") and startDate = "2012-09-13" and endDate = "2012-09-13"
返回:
<description>No definition found for Table yahoo.finance.quotes</description>
但是,我可以在DATATABLES中看到这些表格 – >显示社区表
谢谢
你需要做什么,它导入社区表.你可以做这样的事情
env 'store://datatables.org/alltableswithkeys'; select * from yahoo.finance.quotes where symbol in ("YHOO","MSFT")
在yql console中,只有在选中“显示社区表”时才会显示这些表
希望它会有所帮助
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。