question

Upvotes
Accepted
5 2 9 12

Market Depth in TRTH using C# HSIM8

Hi All, Please help me get C#code for Market Depth data for HSIM8 and 1YMH9 in TRTH. HSIM8 can get the data on the 2018-01-08 by Web testing, but it cannot be obtained through the API; 1YMH9 can get data on the 2019-02-11 by Web test, but cannot get it through the API. @ jiangjk@jindefund.com
tick-history-rest-apimarket-depth
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.

@Prathibha.Mariyappa

Thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question. 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

Upvote
Accepted
11.3k 25 9 14

Hi @Prathibha.Mariyappa,

Both HSIM8 and 1YMH9 are historical RIC. You may need to set the "AllowHistoricalInstruments":true in the ValidationOptions of request body. Below is the sample.

"IdentifierList": {
      "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
      "InstrumentIdentifiers": ...,
      "ValidationOptions": {
          "AllowHistoricalInstruments": true
       },
      "UseUserPreferencesForValidationOptions": false
    }
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.

Upvote
22k 58 14 21

Both HSIM8 and 1YMH9 don't seem to be a valid identifiers. They are missing a suffix like - 1YMH9^0. What is the exact Market Depth call they are invoking? Is the timezone correctly identified as Central Time?

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.