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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted

DSS Instrument List (Auto Upload)

Question:

a) How to upload/override the Instrument List against DSS GUI from Incoming Folder?

b) Share some sample C# code to auto upload instrument file from FTP landing zone (Incoming folder)?

dss-rest-apidatascope-selectdssdss-gui
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@pakrudeenali.mohamedmeeran
Thank you for your participation in the forum.
Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS

Hello again!

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

@pakrudeenali.mohamedmeeran

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

Upvotes
Accepted
11.3k 25 9 14

Hi @pakrudeenali.mohamedmeeran

You can upload a XML file to the "Incoming folder" on ftp://hosted.datascope.reuters.com to append or override instrument in an InstrumentList defined in DSS GUI. For more detail, please see the DSS FTP User Guide. The sample XML to append instruments is below.

<InputList>
<InputListAction>Append</InputListAction>
<Name>myInstrumentListName</Name>
<Instrument>
<IdentifierType>RIC</IdentifierType>
<Identifier>IBM.N</Identifier>
<Exchange>NYS</Exchange>
</Instrument>
<Instrument>
<IdentifierType>RIC</IdentifierType>
<Identifier>VECO.OQ</Identifier>
</Instrument>
</InputList>

However, I recommend using DSS .NET SDK instead of FTP for C# application. Please see this tutorial for more information. The C# Example Application in this page also provide sample of codes to update/delete instruments from the InstrumentList.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes

Thanks for your response.

But am getting below error, when I tried with sample code.

Unhandled Exception: ThomsonReuters.Dss.Api.TransportException: An error occurred while sending the request. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'hosted.datascopeapi.reuters.com'
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, Tr
ansportContext& context)

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@pakrudeenali.mohamedmeeran

Can you access the https://hosted.datascopeapi.reuters.com via web browser? Are you behind a proxy?

You can configure the proxy setting in the app.config file. Please see this for more information.

@pakrudeenali.mohamedmeeran

Have you tried the suggestion from @veerapath.runruengrayubkul yet? The result will give more clue to isolate this issue.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.