1
使用YQL控制檯我所做的:使用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"
}
}
}
}
我也有空的optionChains。不知道雅虎是否仍然支持這一點。 – CodePlumber