GicsID
- get GICS category information

Information / Categories
(AFL 3.40)


SYNTAX GicsID( mode )
RETURNS STRING
FUNCTION The function gets information about current symbol GICS category.
  • mode = 0 - returns string containing GICS code alone (such as " 15103020")
  • mode = 1 - returns string containing GICS category name (such as "Paper Packaging")
  • mode = 2 - returns string containing both code and name (such as "15103020 Paper Packaging")
EXAMPLE printf("GICS(0) = " + GicsID( 0 ));
printf("GICS(1) = " + GicsID( 1 ));
printf("GICS(2) = " + GicsID( 2 ));

for( i = 10; i < 90; i+= 1 )
{
 gics_code =
StrFormat("%02.0f", i );
 printf("In Gics '"+ gics_code + "' = %g\n", InGics( gics_code ) );
}
SEE ALSO InGICS() function , INDUSTRYID() function , GROUPID() function , MARKETID() function , SECTORID() function

References:

The GicsID function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference