【发布时间】:2015-01-10 17:48:16
【问题描述】:
使用我做的 YQL 控制台:
select * from yahoo.finance.options where symbol="FB"
但我在 JSON 中得到了以下结果。 optionsChain 中没有数据。根据其他帖子,我认为请求格式正确。如何获取应该在选项链中的数据?这是过时的还是我错过了什么?提前致谢。
{
"query": {
"count": 1,
"created": "2015-01-10T17:26:16Z",
"lang": "en-US",
"diagnostics": {
"url": [
{
"execution-start-time": "0",
"execution-stop-time": "71",
"execution-time": "71",
"content": "http://www.datatables.org/yahoo/finance/yahoo.finance.options.xml"
},
{
"execution-start-time": "74",
"execution-stop-time": "1620",
"execution-time": "1546",
"content": "http://finance.yahoo.com/q/op?s=FB"
}
],
"publiclyCallable": "true",
"log": [
"results.length(): 0",
"no elements"
],
"javascript": {
"execution-start-time": "74",
"execution-stop-time": "1647",
"execution-time": "1573",
"instructions-used": "11272",
"table-name": "yahoo.finance.options"
},
"user-time": "1648",
"service-time": "1537",
"build-version": "0.2.278"
},
"results": {
"optionsChain": {
"symbol": "FB"
}
}
}
}
【问题讨论】:
-
我也有空的选项链。不确定雅虎是否仍然支持这个。
标签: yql yahoo-finance