Error causing instument

I have a long list of instruments, specified by <RIC identifiers>, and downloaded by the python API of DSWS.

Some of them are causing errors, and my list is long. Is there any way to make the Python API ignore missing instruments?

Best regards

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @mikkel.jorgensen

    It could be a problem when converting the returned JSON response to the data frame.

    From my test, if there is an invalid item in the request, DatastreamDSWS returns:

    image

    However, if I use the PyDSWS library, it can return the data properly.

    image

    You can report this issue to DatastreamDSWS on GitHub.

Answers