Different results for the same query from yahoo.finance.quotes. (YQL)

寵の児 提交于 2019-12-10 22:52:22

问题


I'm using YQL to retrieve some financial data. And I have noticed that lately I'm getting different results for the same query from yahoo.finance.quotes. For example: Query for oil price done 5 times.

"LastTradeWithTime": "9:09pm - <b>38.29</b>",  
"LastTradeWithTime": "1:33am - <b>38.66</b>",  
"LastTradeWithTime": "2:32am - <b>38.72</b>",  
"LastTradeWithTime": "2:32am - <b>38.72</b>",  
"LastTradeWithTime": "9:09pm - <b>38.29</b>",  

(But when you test the same query from the YQL console all results seems to be consistent.)

This behavior is really frustrating for the users (andorid app) - hit refresh button and you'll get very different results, hit it again and old results are back again. There was a similar report on yahooapis forum but it's very old. Does anyone have this issue and how to workaround it ?

来源:https://stackoverflow.com/questions/35938693/different-results-for-the-same-query-from-yahoo-finance-quotes-yql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!