I am using EMA to subscribe HKFE for L2 order book options feed, using the following
IDN_SELECTFEED, MARKET_BY_PRICE, Ric: HSI30000D9.HF
I encounter sometimes the orderbook I captured is not aligned with what showing in Eikon 0#HSI30000D9.HF
One thing I noticed that, I regularly receive an UpdateMsg that something on the accumulated size but price is zero.
String key = EmaUtility.asHexString(mapEntry.key().buffer().buffer());
key="422D 55 B-U"
That I don't understand what does it mean.
It would be a reason why my orderbook is not in sync with Eikon.
would you please urgently help?
This is an answer from Elektron support team.
“A-O” refers to the Map Key for the Over order on the Ask Side.
In Market By Price support, as it is sharing the same FID set, Row Map Key is the unique identifier to differentiate each price level.
In HKF case, “A-O” is referring the aggregated Ask side orders outside 10 levels of Market by Price that Exchange provided. As an aggregated level, there is only Size and no Price available to this level.
Could you please enable the EMA trace file, replicate the issue and then give us the trace file when the problem occurs? The EMA trace file contains incoming/outgoing messages between the API and Elektron/TREP. It will let us check incoming data in detail.
You can enable the EMA Java trace messages by setting <XmlTraceToStdout value="1"/> in the EmaConfig.xml file. Please note that this feature requires EMA Java 1.1.0 and above versions.
<ConsumerGroup> <DefaultConsumer value="Consumer_1"/> <ConsumerList> <Consumer> <Name value="Consumer_1"/> <Channel value="Channel_1"/> <Dictionary value="Dictionary_2"/> <XmlTraceToStdout value="1"/> </Consumer> </ConsumerList> </ConsumerGroup>
HI - can you explain this key please?
key="422D 55 B-U"
Ive been looking at L2 MBO for *.NO exchange and the keys are simply:
"ascii codes<spaces>hex key", eg "31 1" where the hex key is a rung index for the market depth dictionary. Is there some extra information excoded in the key in this case?
As a secondary question does L2 MBO ever contain the original order type that was posted on the exchange (Market, Limit, FOK etc)?
According to my notes, B-U or A-U indicates an order type of Under
Aggregated buy volume not displayed as a specific price point in the order book (TSE)
The full list of order types is below:
I will try and find where this document is available online and paste a link here.
Getting -> ClientName: ChannelCallbackClient Text: Received ChannelDownReconnecting event on channel Channel_1 Error Id 0 Internal sysError 0 Error Location Reactor.processWorkerEvent Error text Error - exceeded initialization timeout (5 s)