For a deeper look into our DataScope Select SOAP API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 0 0 2

Question from Client of DSS REST API

Client is getting below error while accessing instrument list.

Looking at the Python Shareholder Rights Example Application code for the DSS (which has a few typos by the way).

https://developers.refinitiv.com/en/api-catalog/datascope-select/datascope-select-rest-api/download

I am getting the following errors, when I run the script in the following ways. Why is this?

python fetchDSSshareHolderData.py -U 9015636 -P 'xxxxx' -B BasketPositions.csv

  • ERROR, 20171227175243,InstrumentList of name 'API_ShareHolder_Disclosure_InstrumentList' not found.

python fetchDSSshareHolderData.py -U 9015636 -P 'xxxxx' -B BasketPositions.csv -R API_ShareHolder_Disclosure_InstrumentList.csv

  • ERROR, 20171227175637,InstrumentList of name 'API_ShareHolder_Disclosure_InstrumentList.csv' not found.
dss-rest-apidatascope-selectdssrest-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

Upvotes
Accepted
13.7k 26 8 12

@mushtaq.nathani,

Error: InstrumentList of name xyz not found

The Python script expects to find a pre-existing instrument list saved on the DSS server. That is not a local file (i.e. a csv) but an instrument list created in DSS. To create such a list you can use the DSS GUI, and import the RICs from the sample CSV, as stated in the README.txt:

- API_ShareHolder_Disclosure_InstrumentList.csv: RIC list used by default and must be imported into DSS via browser interface first

The script expects to find an instrument list with this specific name: API_ShareHolder_Disclosure_InstrumentList.

Parameter -R allows you to tell the Python script to use a different instrument list name, in case of need.

This (and more) is explained in the comments at the top of the python script.

Edit: added:

The screenshot shows:

  1. The instrument list saved on the DSS server, with the default name (which means parameter -R is not required)
  2. The instrument list was populated by importing the API_ShareHolder_Disclosure_InstrumentList.csv file, using the highlighted button.


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