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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted

DSS API for automation manual config

Here is the scenario:

1. i manually create instrument list - hundreds of RICs e.g. all SP500 constituent;

2. I create the template;

3. I run the schedule job to get my data.

However, for step 1, is there a way to create the instrument list via API or other automation method, given that i already have my list of RICs in a file or sth.... rather than manually type in the UI...

Thanks.

dss-rest-apidatascope-selectdss
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.

Upvotes
Accepted
11.3k 25 8 13

Hi @Liang.Xue,

If you have the list of RICs in a file, you can convert it to supported structure in CSV or XML file, and then import it to an Instrument list via either API or Web UI. The sample of imported CSV file is below. For more information about generating CSV files, please see Importing Instruments section in DataScope Select User Guide.

RIC,THB=
ISN,US912828R366
RIC,GBP=
RIC,CHF=

For REST API, you can import instrument file via ImportFromBytes endpoint. For more information, please see this question.

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.

Upvotes
9.5k 10 5 7

Hello @Liang.Xue

If you use C#, you can download DSS REST API C# example application. The application provides C# and HTTP sample code illustrating many techniques and use cases including creating an instrument list in Instrument List Examples as shown below:

To run the example application, please refer to Quick Start


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