question

Upvotes
Accepted
37 1 1 6

RTO EMA C++: how do I know the message generation time in Real-Time system

For an EMA application, how do I know the message generation time in Real-Time system, in the onRefreshMsg/onUpdateMsg methods? Not the local time of the application runtime environment.


For example, the 'update' below (actually it was extracted from DSS), I would like to get the datetime like '2021-11-23T00:00:00.213703238Z' which would be the accurate message generation time. As we can not extract the date information in the message body (the ASK_TIME1 does not have such date information, only time).

GCG2,Market Price,2021-11-23T00:00:00.213703238Z,-5,Raw,UPDATE,QUOTE,,,,2450,,10640,,12

,,,,FID,25,,ASK,1812,

,,,,FID,31,,ASKSIZE,1,

,,,,FID,3855,,QUOTIM_MS,201,

,,,,FID,3516,,ASK_TIME1,00:00:00.000000000,

,,,,FID,4147,,ASK_TIM_MS,201,

,,,,FID,6580,,ASK_COND_N,1,

,,,,FID,6554,,NO_ASKORD1,1,

,,,,FID,1697,,SPARE_TS1,00:00:00.000000000,

,,,,FID,118,,PRC_QL_CD,160,OPN

,,,,FID,133,,MKT_ST_IND,16,BBO

,,,,FID,1021,,SEQNUM,10938707,

,,,,FID,3887,,SEQNUM_QT,10938707,


ema-apirrto
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
38.1k 71 35 53

@Frederic

'2021-11-23T00:00:00.213703238Z' is not a message generation time. It is a timestamp when DSS retrieved this message.

Typically, you can verify the time related to that message from the time fields in the message and verify the date from the date fields in the message.

You may contact the Content support team to verify when the date fields of this RIC are updated.


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 I will ask content support.
Click below to post an Idea Post Idea