sethukrishna / yahoo-finance-managed

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

Historic quotes does not give access to different quote properties such as TradeDate, previous close #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Get the historic quotes and try to access QuoteProperty enum values for 
HistQuoteData

What is the expected output? What do you see instead?
1. We should be able to access QuoteProperty enum on Historic quotes

Do you have other informations?

Suggestions to fix the defect?

Original issue reported on code.google.com by koranne....@gmail.com on 14 Nov 2010 at 7:53

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,
Historic quote don't provide same informations like normal quotes. I can give 
you only the data that Yahoo provides.
Maybe I will enhance HistQuoteData with properties like PreviousClose (because 
of chain), but it would be against the logic to open HistQuotes for 
QuoteProperty enum, because it doesn't provide these informations and too many 
fields would be empty. Also, a property like "DaysHigh" is not the same like 
"High"property of HistQuotesData. HistQuotesData also represent the values of a 
week or a month (dependening on your parameters when downloading). So 
"DaysHigh" is not representive for "MonthHigh" or "WeekHigh", that doesn't 
exist in QuoteProperty-enum.

greetz

Maas

Original comment by Maas...@gmail.com on 18 Nov 2010 at 1:27

GoogleCodeExporter commented 8 years ago
Hi Maas,

Thanks for the quick responce. As you suggested, I got a workaround to get the 
previous close value. I may not need other properties for historical data. You 
can close the issue.

Regards,
Prasad.

Original comment by koranne....@gmail.com on 19 Nov 2010 at 7:33

GoogleCodeExporter commented 8 years ago

Original comment by Maas...@gmail.com on 26 Nov 2010 at 10:15