For a deeper look into our DataScope Select REST API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
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.thomsonreuters.com/datascope-select-dss/datascope-select-rest-api/downloads
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
python fetchDSSshareHolderData.py -U 9015636 -P 'xxxxx' -B BasketPositions.csv -R API_ShareHolder_Disclosure_InstrumentList.csv
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: