RTMD service
I get real time with the code
OmmConsumer consumer(config.host("1**.***.***.*:14002").username("EM1_****_*********")); consumer.registerClient(ReqMsg().serviceName("hEDD").domainType(MMT_MARKET_PRICE).name("ESZ1m"), client) sleep(1200000);
data in this format
UpdateMsgEnd UpdateMsg streamId="5" domain="MarketPrice Domain" updateTypeNum="0" seqNum="23280" name="ESZ1m" serviceId="259" serviceName="hEDD" Payload dataType="FieldList" FieldList FieldEntry fid="17" name="ACTIV_DATE" dataType="Date" value="06 DEC 2021" FieldEntry fid="5" name="TIMACT" dataType="Time" value="12:37:00:000:000:000" FieldEntry fid="4148" name="TIMACT_MS" dataType="UInt" value="45434283" FieldEntry fid="732" name="BEST_BSIZ3" dataType="Real" value="29" FieldEntry fid="6546" name="NO_BIDORD3" dataType="UInt" value="18" FieldEntry fid="741" name="NO_BIDMKR3" dataType="Real" value="18" FieldListEnd PayloadEnd UpdateMsgEnd UpdateMsg streamId="5" domain="MarketPrice Domain" updateTypeNum="0" seqNum="23296" name="ESZ1m" serviceId="259" serviceName="hEDD" Payload dataType="FieldList" FieldList FieldEntry fid="17" name="ACTIV_DATE" dataType="Date" value="06 DEC 2021" FieldEntry fid="5" name="TIMACT" dataType="Time" value="12:37:00:000:000:000" FieldEntry fid="4148" name="TIMACT_MS" dataType="UInt" value="45434283" FieldEntry fid="731" name="BEST_BSIZ2" dataType="Real" value="16" FieldEntry fid="6545" name="NO_BIDORD2" dataType="UInt" value="14" FieldEntry fid="740" name="NO_BIDMKR2" dataType="Real" value="14" FieldListEnd
no time stamp!!!!
In the history files there is a message header with the date-time
something like this:
Date-Time 2016-09-01T19:00:00.022987351-05
And how in real-time at LL2, to understand where the seconds, milliseconds, nanoseconds are? How to distinguish messages that have all the same time FieldEntry fid="5" name="TIMACT" dataType="Time" value="12:37:00:000:000:000"
And what is the format of FieldEntry fid="4148" name="TIMACT_MS" dataType="UInt" value="45434283" not clear to me.
The main question, is it possible to output in the message header, using code, analogous to what is in the history files? I mean Data-Time in the format
2016-09-01T19:00:00.022987351-05
Please help me with the code, this information is critical to me. FID5 is useless for math.
Please help me with the code, this information is critical to me. FID5 is useless for mathematical formulas.
I need normal time format to ms or nanoseconds either in FID or in header to updat messages.