ricarlos / yahoo-finance-managed

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

Add ISO Code to Countries Market Data #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add ISO Code to Countries MarketData to interop with other libraries/systems

Add missing countries referenced in exchanges definitions 

[Argentina]
[Venezuela]
[Indonesia]
[Malaysia]
[Peru]
[Sweden]
[Thailand]
[Chile]
[Taiwan]

Original issue reported on code.google.com by kfa...@gmail.com on 21 Jul 2010 at 1:10

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Maas...@gmail.com on 21 Jul 2010 at 4:03

GoogleCodeExporter commented 9 years ago
I added now an Country -> ISO converting function to WorldMarket class (maybe 
later another location for this function).

What do you mean with "add missing countries"? Where are they missed?

Thanks for support!

Original comment by Maas...@gmail.com on 21 Jul 2010 at 4:11

GoogleCodeExporter commented 9 years ago
some countries which are already referenced in the Enum (and used by some 
exchanges) are not defined in market.xml.

Thank you for your effort.

Original comment by kfa...@gmail.com on 22 Jul 2010 at 9:48

GoogleCodeExporter commented 9 years ago
With the names of the enum members it's now similar to Currency enum, the names 
are the ISO codes (files are updated). You have the display name in xml 
comments and in market.xml/CountryInfo (-> WorldMarket). 
There are some countries that are not used in market.xml, but the enum list is 
the official supported collection from Yahoo! documentation. The world market 
structure in market.xml is not completely fullfilled, but you could collect 
some Indices IDs and send it to me to make the market.xml more complete. ;-)
I changed the namespace from YahooManaged.Finance to YahooManaged, because 
along the way I'm working on extending the library's functionality to Yahoo! 
Search, Geo, Weather and Maps. So, there existed already an enum with countries 
for Yahoo! Search and the members of both are nearly equal.

Maas

Original comment by Maas...@gmail.com on 22 Jul 2010 at 10:09

GoogleCodeExporter commented 9 years ago
Files updated

Original comment by Maas...@gmail.com on 24 Jul 2010 at 9:56