Datastream GICS code

How can I get GICS code on DataStream web Service ? there are these classigication codes but then what DATATYPE to use for GICS codes ? image

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @eikon2

    I have tested with the below code:

    df = ds.get_data(tickers='LS&PCOMP',
                     fields=['NAME','MNEM','CLSIND','CLS1','CLS1N','CLS2','CLS2N','CLS3','CLS3N','CLS4','CLS4N'], 
                     kind=0)
    df = df.pivot(index='Instrument', columns='Datatype')['Value']
    df

    It returns:

    image