question

Upvotes
Accepted
5 1 0 1

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

datastream-apidsws-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvote
Accepted
38.1k 69 35 53

@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)


1620895353170.png (9.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea