what the difference between updateMsg / refreshMsg

My question pertains to marketdata messages and the
difference in meaning between them:-

When using rmdstestclient to subscribe to a record, we
observe the same behaviour:-

When Eikon/Excel publishes to a record, we see a updateMsg

[Mon Oct2
08:58:13.478181] <updateMsg
domainType="RSSL_DMT_MARKET_PRICE" streamId="5"
containerType="RSSL_DT_FIELD_LIST" flags="0x208
(RSSL_UPMF_HAS_MSG_KEY|RSSL_UPMF_HAS_POST_USER_INFO)"
updateType="1"postUserId="0" postUserAddr="0.0.0.0"
dataSize="8">

<keyflags="0x7
(RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE)"serviceId="8003" name="CREDIT_TEST_SP"
nameType="1"/>

</updateMsg>

BID:
REAL2: [29]

When using an in-house
publisher, publishing to the same record we see a refreshMsg

[Mon Oct2
09:04:15.216849] <refreshMsg
domainType="RSSL_DMT_MARKET_PRICE" streamId="5"
containerType="RSSL_DT_FIELD_LIST" flags="0xC8
(RSSL_RFMF_HAS_MSG_KEY|RSSL_RFMF_REFRESH_COMPLETE|RSSL_RFMF_HAS_QOS)"
groupId="7" qosDynamic="0" qosRate="1"
qosTimeliness="1" dataState="RSSL_DATA_OK"
streamState="RSSL_STREAM_OPEN" code="RSSL_SC_NONE"
text="Refresh Complete"dataSize="8">

<keyflags="0x7
(RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE)"serviceId="8003" name="CREDIT_TEST_SP"
nameType="1"/>

</refreshMsg>

BID:
REAL2

What the difference between updateMsg and refreshMsg? And
why the difference?

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    It is an unsolicited refresh because it doesn't have a RSSL_RFMF_SOLICITED in the refresh.

    To verify the problem, we need to know how the in-house publisher publishes the record. Please provide us with the following information:

    • The name and version of API used by the in-house publisher
    • The snippet code when the in-house publisher publishes the record