Hello
I'm using the Python API (DatastreamPy), but I can't find how to request the Instrument name and the DataType name.
This is my code
import pandas as pd
import DatastreamPy as dsweb
ds = dsweb.DataClient(None, '', '')
history = ds.get_data(tickers = 'TOTMKDV', fields = ['DWNM'], kind = 1, start = '-1Y', req = 'M', )
values = history.reset_index().melt(id_vars='Dates', value_name='value')
I need to know that the instrument TOTMKDV corresponds to "DEVELOPED MKTS.-DS Market" and that the DataType DWNM corresponds to "Net (Profit) Margin".
And another query, is there any documentation where it is specified that returns the parameter "kind" ? Apparently it can take values of 0 and 1