Can someone answer this question: I have an exploration in which I seek to list Industry Names.  I get two different answers depending on the command I use for getting the industry names.
 
I want to use this in an Exploration of All Symbols (TC2005 db).
 
This code produces two different names for IndustryName. 
 
Code:
AddTextColumn(FullName(),"FullName",1.0);
AddColumn(SectorID(),"SectorID",1.0);
AddTextColumn(SectorID(1),"SectorName1",1.0);  <<<<<<<<<<<<<< Gets Industry Name 1st Way
AddColumn(IndustryID(),"IndustryID",1.0);
AddTextColumn(IndustryID(1),"IndustryName1",1.0);
SecName = CategoryGetName(categorySector,SectorID());
IndName = CategoryGetName(categoryIndustry,SectorID());<<<<<<<<<Gets Industry Name 2nd way
AddTextColumn(SecName,"Sector Name2",1.2);
AddTextColumn(IndName,"IndustryName2",1.0);
 
Results in the AA window (once sorted) show different Industry Names via the "2nd" way.
 
Why?
 
Thanks for helping on this.
 
Ken
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html






SPONSORED LINKS
Software support Small business finance Business finance online
Business finance training Business finance course


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to