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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 1 2

MarketByOrder - Websockets API

I submit the below request to websockets

SENT on session1:

{

"Domain":"MarketByOrder",

"ID":2,

"Key":{

"Name":"FB.O"

}


and I receive this below. Note that the default domain works just fine. I have level 2 package (NAS2) entitled on my ID. Can you please suggest what may be wrong?

}

RECEIVED on session1:

[

{

"Domain":"MarketByOrder",

"ID":2,

"Key":{

"Name":"FB.O",

"Service":"ELEKTRON_DD"

},

"State":{

"Code":"NotFound",

"Data":"Suspect",

"Stream":"Closed",

"Text":"*The record could not be found"

},

"Type":"Status"

}

]


treprdp-apiwebsocketsrrtomarket-by-order
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
9.7k 49 38 60

Hi @prashanth.suresh1,

Not all exchanges will provide level 2 data. For example, instead of FB.O, try BB.TO (which does provide level2 data on the TSX).

I would reach out to the Refinitiv support desk to understand/find out where level 2 data is provided.

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.

thanks @nick.zincone.1

If I have to receive to Trade and order Entries from Nasdaq and Nyse, do you know which Domain I have to subscribe to? Note, I am not referring to MarketPrice domain.


thanks

Prashanth

Hi @prashanth.suresh1,

The MARKET_BY_ORDER domain provides all buy side and ask side orders. The MARKET_BY_PRICE provides all the orders at a specific price level. You can see the different domains available within the Websocket API documentation: https://developers.refinitiv.com/elektron/websocket-api/docs

Hi @prashanth.suresh1

You may also find this article useful - on processing Level 2 orderbook data

Click below to post an Idea Post Idea