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 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
45.2k 103 43 60

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 512.0 KiB each and 1.0 MiB total.