For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 3

MBO stream receiving MBO orders but not receiving Trades

Hi,

We do receive MBO order data, when requesting for RICs under a chained RIC. However we do not receive any trade activity flowing in at all. We did wait for the end of trading day before making the analysis, so there should be some trades happening at least. Am I missing something?


 {
  "ID": 3,
  "Domain": "MarketByOrder",
  "Key": {
    "Service": "ELEKTRON_DD",
    "Name": [
      "ETHG23",
      "ETHH23",
      "ETHJ23",
      "ETHK23",
      "ETHM23",
      "ETHN23",
      "ETHQ23",
      "ETHU23",
      "ETHV23",
      "ETHX23",
      "ETHZ23",
      "ETHF24"
    ]
  }
}
#technologyapiwebsocketstrademarket-by-order
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
Accepted
21.8k 57 14 21

Hi @goran.stepanovic,

The Market By Order is a Level 2 stream and carries the order book and the real time changes - i.e. market and matched orders will be deleted from the book. These will show up as trade messages on the Level 1 stream. There will be no Trade or Quote messages on the MBO domain.

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.

Hi @Gurpreet,

Thanks for clarifying that MBO level 2 only receives orders, however I have a few more questions then.

How do I indentify the difference between a DELETE order being a matched order versus being a actual delete (cancellation).

Is the any specification about Market By Order Level 2 Stream anywhere?


There is no means to identify a delete due to a match. Best way is to subscribe to L1 stream for that instrument as well and look for trades.
Do you know which would be the most optimal L1 stream to subscribe to, in order to "connect" Trades with the MBO L2 stream?
Upvotes
21.8k 57 14 21

To subscribe to L1 for same instruments, you can use MarketPrice domain. The subscribe request would look like:

{
  "ID": 3,
  "Domain": "MarketPrice",
  "Key": {
    "Service": "ELEKTRON_DD",
    "Name": [
      "ETHG23",
      "ETHH23",
      "ETHJ23",
      "ETHK23",
      "ETHM23",
      "ETHN23",
      "ETHQ23",
      "ETHU23",
      "ETHV23",
      "ETHX23",
      "ETHZ23",
      "ETHF24"
    ]
  }
}

If the domain is omitted, it defaults to MarketPrice.

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.