Is it possible to return instrument name as "SERIES NAME - DATATYPE NAME".

Midori517
Midori517 LSEG
edited April 21 in Datastream

Is it possible to return instrument name as "VDAX-NEW VOLATILITY INDEX - PRICE INDEX", instead of "VDANEW"?

#Sample Code
reqs =[]
reqs.append(ds.post_user_request(tickers='VDAXNEW',fields=['NAME'],start='-1D', kind = 0))#Static data
reqs.append(ds.post_user_request(tickers='VDAXNEW', fields=['PI'], start='2025-04-01', end='0D', freq = "D"))#Timeseries data
ds.get_bundle_data(bundleRequest=reqs)

#Response
[ Instrument Datatype Value Currency
0 VDAXNEW NAME VDAX-NEW VOLATILITY INDEX E ,
Instrument VDAXNEW
Field PI
Currency E
Dates2025-04-01 21.41
2025-04-02 21.90
2025-04-03 24.84
2025-04-04 30.52
2025-04-07 38.83
2025-04-08 33.20
2025-04-09 39.66
2025-04-10 32.85
2025-04-11 35.98
2025-04-14 27.04
2025-04-15 25.30
2025-04-16 26.00
2025-04-17 26.36
2025-04-18 26.36]

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @Midori517

    Thank you for reaching out to us.

    The library doesn't have this feature. It can only print the names on the console by appending '|N' to the instrument name.

    ds.get_data(tickers='VDAXNEW|N', fields=['PI'],start='2025-04-01', end='0D', freq = "D")
    
    image.png