When using lseg.data.content how can I control the type conversions occuring for response fields ?
For example :
import lseg.data as ld
universe = ["/SOGN.PA"]
fields = ["BID", "ASK", "CURRENCY", "RDN_EXCHID", "QUOTE_DATE", "QUOTIM", "QUOTIM_MS", "QUOTIM_NS"]
stream = ld.content.pricing.Definition(universe = universe, fields = fields).get_stream()
stream.open(with_updates=False)
stream.close()
df = stream.get_snapshot()
For Enum fields (RDN_EXCHID, CURRENCY) the response is the id, I would like to be able to get the text value instead.
For other fields is there a way to get the raw response (ie without the type inference attempt) ?
Thanks.