Hi team, may I know how to let dsws show the names of datatypes? Thanks in advance!
Hi @Julian.Bai,I tried the following and got data that I think you're interested in:
df = ds.get_data("958TVX,VOD,BARC|N", ["PH", "PL"], start = "-2D")df
.
I found the possible answer https://community.developers.refinitiv.com/questions/72225/retrieving-datatype-name-using-retnametrue-in-dsws.html, but when i tried fetching multiple fields, it will show error message. Any grammar difference among DatastreamDSWS and pydatastream package?
Thanks Jonathan, 2 follow up qs.
1. I found another possible answer https://community.developers.refinitiv.com/questions/72225/retrieving-datatype-name-using-retnametrue-in-dsws.html, but when i tried fetching multiple fields, it will show error message. Any grammar difference among DatastreamDSWS and pydatastream package?
2. If I use kind = 0, then it will only show name of variable but not datatypes
df = ds.get_data(tickers='958TVX|N', fields=['MPD','DMR','FRT','FRTD','MRW','BSPL'], kind = 0)
Is that also a limit of api?
Thank you!