question

Upvotes
Accepted
791 9 7 14

List code - E100,INVALID CODE OR EXPRESSION ENTERED

I’m trying to use a list code such as “LDJINDUS” to retrieve the stock price data for each constituent of the list in a Time Series request, but I’m getting the error message:

$$ER: E100,INVALID CODE OR EXPRESSION ENTERED

This list code works fine in a Time Series request via DFO, why does it fail here ?

Please help me out

datastream-apidsws-apierror
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

Upvotes
Accepted
1.1k 3 3 3

@DevTrev

A list code (such as LDJINDUS) can be used in Snapshot request, but not in Time Series request. You can first decompose a list code into individual constituent codes via Snapshot request and then, use the individual codes in Time Series request to retrieve the historical data for the constituents.

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