question

Upvotes
Accepted
1 0 0 2

Possible values for DomainCode

A number of TRTH endpoints return data which as "DomainCode" in it. This is often set to "6", though sometimes I see a value of "8". What are the possible values which DomainCode can take and what do they mean?

tick-history-rest-api
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.

1 Answer

Upvotes
Accepted
38.1k 69 35 53

Refer to the API Reference Tree regarding Search/HistoricalSearch, DomainCode is a string which can have the following values.

6 is Market Price and 8 is Market By Price. They represents the domain models available on Elektron. For example:

  • The Market Price domain provides access to Level I market information such as trades, indicative quotes, and top-ofbook quotes
  • The Market By Price domain provides access to Level II market depth information
  • The Market By Order domain provides access to Level II full order books
  • The Market Maker domain provides access to market maker quotes and trade information

domaincode.png (27.9 KiB)
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