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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
11 5 6 6

import instrument xml file: instruments not found -1

I want to create a instrument list by importing xml file.

my file's content like below:

<InputList>

<InputListAction>Append</InputListAction>

<Name>allList</Name>

<Instrument>

<IdentifierType>RIC</IdentifierType>

<Identifier>.SPX</Identifier>

</Instrument>

<Instrument>

<IdentifierType>CHR</IdentifierType>

<Identifier>0#1SP:</Identifier>

</Instrument>

<Instrument>

<IdentifierType>CHR</IdentifierType> <Identifier>0#SPX*.U</Identifier>

</Instrument>

<Instrument>

<IdentifierType>CHR</IdentifierType>

<Identifier>0#1TN+</Identifier>

</Instrument>

</InputList>

my problem is that chain code 0#1TN+ can not be imported.

pythondss-rest-apidatascope-selectdssrics
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.

Hello @chenchong,

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 @chenchong,

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

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

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
11.3k 25 9 14

@chenchong

I have tried the xml file and found the following message in the .notes.txt file generated in the /done folder.

Instruments not found or restricted content (1):
  CHR, 0#1TN+ (CHR not supported - chain of chains)

The 0#1TN+ is a chain of chains, as the current constituents of 0#1TN+ are chain RICs: 0#1TNX7+, 0#1TNZ7+, 0#1TNF8+, 0#1TNG8+, 0#1TNH8+ and 0#1TNM8+.

The DSS User Guide states that chain of chains are not support for import. You may import the constituents instead or open a content enquiry via My Account to ask for alternative RIC.

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.

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.