Retrieving datatype names when using DSWS

Options

Can anyone help me to retrieve the datatype names when using DSWS? I am using Worldscope datatypes which aren't easily identifiable. Is there a simple way to ensure the datatype name appears instead? Example code below:

ds.get_data (tickers='@AMZN';, fields=('WC01051','WC01151','WC01100','WC05350'), start='-10Y', end='-0D', freq='Y')

Best Answer

  • Alex Putkov.1
    Alex Putkov.1 ✭✭✭✭✭
    Answer ✓

    Use retName=True kwarg:

    ds.get_data (tickers='@AMZN';, 
                 fields=('WC01051','WC01151','WC01100','WC05350'), 
                 start='-10Y', end='-0D', freq='Y', retName=True)

Answers