Hello all,
I hope this is the correct forum to address the problem I face while using YQL.
I am currently using YQL to retrieve data from Yahoo! Finance.
However, I realize that, YQL will return incorrect result randomly.
I try to simulate this behavior, when Malaysia market is closed. I test it around 7:45pm (GMT +8)
QUOTE
select Name from yahoo.finance.quotes where symbol in ("5110.KL")
Correct Result
==============
cbfunc({
"query": {
"count": 1,
"created": "2011-02-10T11:39:53Z",
"lang": "en-US",
"results": {
"quote": {
"Name": "UOA REITS"
}
}
}
});
Wrong Result (Happens randomly)
===============================
cbfunc({
"query": {
"count": 1,
"created": "2011-02-10T11:40:07Z",
"lang": "en-US",
"results": {
"quote": {
"Name": "REITS"
}
}
}
});
Link to simulate this problem is
http://developer.yahoo.com/yql/console/?q=select%20Name%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(% 225110.KL%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env://http://developer.yahoo.com/yql/cons...2Falltables.envIt happens, says, if you keep pressing "Test" button around 20 times in high frequency.
I try to get the Yahoo! Finance result directly from CSV. But no luck, the same problem occur.
QUOTE
http://download.finance.yahoo.com/d/quotes...ohgv&e=.csv
Wrong Result (Happens randomly)
===============================
"5110.KL","REITS",1.46,"2/10/2011","3:10am",+0.03,1.46,1.46,1.46,1000
Correct Result
==============
"5110.KL","UOA REITS",1.46,"2/10/2011","3:10am",+0.03,1.46,1.46,1.46,1000
Thanks.