How to use LIST# in DSWS

import DatastreamDSWS as dsws

ds = dsws.Datastream(username='xxxxxx',password='xxxxx')

ds.get_data(tickers='LIST#(LASX200I,X(MV),SUM)|E', kind=0)


## pls can you fix this? i'm trying to get the some of all MV for the ASX200

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @bob.kim

    From my test, it doesn't work with kind=0.

    The following code returns the data.

    ds.get_data(tickers='LIST#(LASX200I,X(MV),SUM)|E', start='0D', kind=1)

    image