ricarlos / yahoo-finance-managed

Automatically exported from code.google.com/p/yahoo-finance-managed
0 stars 0 forks source link

HistQuotesDownload return wrong result #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
my code is as following , it sometimes return 13 records, sometimes return 3 
records, why? is there any mistake I have made?

 Dim hqdl As New API.HistQuotesDownload
 Dim resp As API.HistQuotesResponse = _
         hqdl.Download("0455.hk", #7/9/2011#, Date.Today,HistQuotesInterval.Daily)
        For Each hqdc As HistQuotesDataChain In resp.Result
            For Each hqd As HistQuoteData In hqdc
                Debug.Write(hqd.TradingDate.ToShortDateString & ";")
                Debug.Write(hqd.Open.ToString("n") & ";")
                Debug.Write(hqd.Close.ToString("n") & ";")
                Debug.WriteLine(hqd.CloseAdjusted.ToString("n"))

            Next
            Debug.WriteLine("----------------------")
        Next

Original issue reported on code.google.com by gogopowe...@gmail.com on 8 Sep 2011 at 4:00

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,
You haven't done anything wrong. I validated that the problem is on the server 
side.
It's not the first time I got reports of confusing results. The problem of 
irregularly "wrong" results also exist with specific values in 
API.QuotesDownload.
http://code.google.com/p/yahoo-finance-managed/issues/detail?id=20&can=1

greetz

Maas

Original comment by Maas...@gmail.com on 6 Oct 2011 at 4:57

GoogleCodeExporter commented 9 years ago
Done

Original comment by Maas...@gmail.com on 6 Oct 2011 at 4:57