hi, where i can find example for some RIC ECI events, and source code to phrase the message in cpp,
for example USNFAR=ECI
HI @iliak
Please start from the Quickstart guide for EMA C++ here. It has relevant sections for cloud hosted service or your local enterprise system, depending on your market data setup.
Once you have installed and tested the EMA, you can use one of the samples provided with the SDK and subscribe to your instrument USNFAR=ECI. For e.g. I used Cons113 consumer example for subscribing from Refinitiv Cloud and got following output:
RefreshMsg streamId="5" domain="MarketPrice Domain" Solicited RefreshComplete ClearCache state="Open / Ok / None / '*All is well'" itemGroup="00 21" permissionData="03 01 01 52 39 C0" qos="RealTime/JustInTimeConflated" seqNum="64" name="USNFAR=ECI" nameType="1" serviceId="257" serviceName="ELEKTRON_DD" Payload dataType="FieldList" FieldList FieldListNum="89" DictionaryId="1" FieldEntry fid="1" name="PROD_PERM" dataType="UInt" value="5239" FieldEntry fid="3" name="DSPLY_NAME" dataType="Rmtes" value="US N-F payrolls" FieldEntry fid="6" name="TRDPRC_1" dataType="Real" value="(blank data)" FieldEntry fid="12" name="HIGH_1" dataType="Real" value="(blank data)" FieldEntry fid="13" name="LOW_1" dataType="Real" value="(blank data)" FieldEntry fid="15" name="CURRENCY" dataType="Enum" value="999" FieldEntry fid="16" name="TRADE_DATE" dataType="Date" value="(blank data)" FieldEntry fid="19" name="OPEN_PRC" dataType="Real" value="(blank data)" FieldEntry fid="21" name="HST_CLOSE" dataType="Real" value="(blank data)" FieldEntry fid="28" name="NEWS" dataType="Rmtes" value="(blank data)" FieldEntry fid="29" name="NEWS_TIME" dataType="Time" value="(blank data)" FieldEntry fid="53" name="TRD_UNITS" dataType="Enum" value="2" FieldEntry fid="68" name="MATUR_DATE" dataType="Date" value="15 DEC 2011" FieldEntry fid="78" name="OFFCL_CODE" dataType="Rmtes" value="0" FieldEntry fid="130" name="DURATION" dataType="Real" value="12" FieldEntry fid="259" name="RECORDTYPE" dataType="UInt" value="30" FieldEntry fid="275" name="SEC_ACT_1" dataType="Real" value="(blank data)" FieldEntry fid="356" name="RT_YIELD_1" dataType="Real" value="(blank data)" FieldEntry fid="728" name="BCAST_REF" dataType="Rmtes" value="USNFAR=ECI" FieldEntry fid="800" name="LONGLINK1" dataType="Ascii" value=" " FieldEntry fid="801" name="LONGLINK2" dataType="Ascii" value=" " FieldEntry fid="831" name="CTBTR_1" dataType="Rmtes" value="661" FieldEntry fid="836" name="CTB_LOC1" dataType="Rmtes" value="US" FieldEntry fid="875" name="VALUE_DT1" dataType="Date" value="06 NOV 2020" FieldEntry fid="963" name="HST_CLOSE2" dataType="Real" value="661" FieldEntry fid="968" name="CTBTR_BKGD" dataType="Ascii" value="ECI" FieldEntry fid="970" name="SEC_YLD_1" dataType="Real" value="(blank data)" FieldEntry fid="995" name="GEN_TEXT16" dataType="Rmtes" value="k" FieldEntry fid="996" name="GEN_VAL1" dataType="Real" value="(blank data)" FieldEntry fid="997" name="GEN_VAL2" dataType="Real" value="(blank data)" FieldEntry fid="998" name="GEN_VAL3" dataType="Real" value="(blank data)" FieldEntry fid="999" name="GEN_VAL4" dataType="Real" value="(blank data)" FieldEntry fid="1002" name="GV3_TEXT" dataType="Rmtes" value="k" FieldEntry fid="1003" name="GV4_TEXT" dataType="Rmtes" value="(blank data)" FieldEntry fid="1010" name="VALUE_TS1" dataType="Time" value="13:30:00:000:000:000" FieldEntry fid="1052" name="GN_TXT16_2" dataType="Rmtes" value="(blank data)" FieldEntry fid="1053" name="GN_TXT16_3" dataType="Rmtes" value="06Nov" FieldEntry fid="1054" name="GN_TXT16_4" dataType="Rmtes" value=" " FieldEntry fid="1056" name="OFFC_CODE2" dataType="Rmtes" value="(blank data)" FieldEntry fid="1080" name="PREF_DISP" dataType="UInt" value="8697" FieldEntry fid="1271" name="GN_TXT24_1" dataType="Rmtes" value=" " FieldEntry fid="1352" name="DSPLY_NMLL" dataType="Rmtes" value="Non-Farm Payrolls*" FieldEntry fid="1354" name="CTBTR_1LL" dataType="Rmtes" value="Oct" FieldEntry fid="1383" name="DSO_ID" dataType="UInt" value="(blank data)" FieldEntry fid="1686" name="SF_NAME" dataType="Rmtes" value="FCR" FieldEntry fid="2325" name="FCAST_DATE" dataType="Date" value="(blank data)" FieldEntry fid="2437" name="CTB_2A_1" dataType="Rmtes" value="13:30:00.660" FieldEntry fid="2440" name="CTB_2B_1" dataType="Rmtes" value="BLS" FieldEntry fid="2443" name="CTB_2A_1LL" dataType="Rmtes" value="<aUSNFARM/A>" FieldEntry fid="2446" name="CTB_2B_1LL" dataType="Rmtes" value="<USNFAR/DES>" FieldEntry fid="3320" name="DSPLY_NME2" dataType="Rmtes" value="Non-Farm Payrolls*" FieldEntry fid="4020" name="ECON_ACT" dataType="Real" value="(blank data)" FieldEntry fid="4024" name="ECON_PRIOR" dataType="Real" value="661" FieldEntry fid="4025" name="ECON_REV" dataType="Real" value="(blank data)" FieldEntry fid="4026" name="ECON_SRCE" dataType="Rmtes" value="BLS, U.S Dep. Of Lab" FieldEntry fid="4027" name="FCAST_HIGH" dataType="Real" value="(blank data)" FieldEntry fid="4028" name="FCAST_LOW" dataType="Real" value="(blank data)" FieldEntry fid="4029" name="FCAST_NUM" dataType="Real" value="(blank data)" FieldEntry fid="4033" name="RPT_UNITS" dataType="Enum" value="33" FieldEntry fid="4034" name="CORR_ACT" dataType="Enum" value="(blank data)" FieldEntry fid="4035" name="CORR_REV" dataType="Enum" value="(blank data)" FieldEntry fid="4036" name="COUNTRY" dataType="Enum" value="840" FieldEntry fid="4829" name="STD_DEV" dataType="Real" value="(blank data)" FieldEntry fid="5169" name="RELEVANCE" dataType="Real" value="3" FieldEntry fid="5357" name="CONTEXT_ID" dataType="Real" value="5039" FieldEntry fid="6401" name="DDS_DSO_ID" dataType="UInt" value="8328" FieldEntry fid="6409" name="BR_LINK1" dataType="Ascii" value="<aUSNFARM/A>" FieldEntry fid="6410" name="BR_LINK2" dataType="Ascii" value="<USNFAR/DES>" FieldEntry fid="6411" name="BR_LINK3" dataType="Ascii" value="(blank data)" FieldEntry fid="6480" name="SPS_SP_RIC" dataType="Ascii" value=".[SPSEC0L1" FieldEntry fid="6992" name="CTB_PRD" dataType="Int" value="12" FieldEntry fid="7961" name="FCAST_ACRY" dataType="Real" value="(blank data)" FieldEntry fid="7962" name="FCAST_MEAN" dataType="Real" value="(blank data)" FieldEntry fid="7963" name="FCAST_MEDN" dataType="Real" value="(blank data)" FieldEntry fid="7964" name="FCAST_MODE" dataType="Real" value="(blank data)" FieldEntry fid="8311" name="BCASTREF32" dataType="Ascii" value="USNFAR=ECI" FieldEntry fid="9197" name="ECI_ACT_DT" dataType="Date" value="06 NOV 2020" FieldEntry fid="9270" name="ACT_END_DT" dataType="Date" value="(blank data)" FieldEntry fid="9271" name="ACT_INS_DT" dataType="Date" value="(blank data)" FieldEntry fid="9272" name="ACT_REV_DT" dataType="Date" value="(blank data)" FieldEntry fid="9273" name="ACT_STA_DT" dataType="Date" value="(blank data)" FieldEntry fid="9287" name="REV_INS_DT" dataType="Date" value="(blank data)" FieldEntry fid="9290" name="NDOR_1" dataType="Date" value="04 DEC 2020" FieldEntry fid="10012" name="ACT_LO_RNG" dataType="Real" value="(blank data)" FieldEntry fid="10013" name="ACT_UP_RNG" dataType="Real" value="(blank data)" FieldEntry fid="10014" name="FC_HI_LRNG" dataType="Real" value="(blank data)" FieldEntry fid="10015" name="FC_HI_URNG" dataType="Real" value="(blank data)" FieldEntry fid="10016" name="FC_LO_LRNG" dataType="Real" value="(blank data)" FieldEntry fid="10017" name="FC_LO_URNG" dataType="Real" value="(blank data)" FieldEntry fid="10018" name="FC_ME_LRNG" dataType="Real" value="(blank data)" FieldEntry fid="10019" name="FC_ME_URNG" dataType="Real" value="(blank data)" FieldEntry fid="10020" name="FC_MN_LRNG" dataType="Real" value="(blank data)" FieldEntry fid="10021" name="FC_MN_URNG" dataType="Real" value="(blank data)" FieldEntry fid="10022" name="FC_MO_LRNG" dataType="Real" value="(blank data)" FieldEntry fid="10023" name="FC_MO_URNG" dataType="Real" value="(blank data)" FieldEntry fid="10024" name="REV_LO_RNG" dataType="Real" value="(blank data)" FieldEntry fid="10025" name="REV_UP_RNG" dataType="Real" value="(blank data)" FieldEntry fid="10026" name="SMT_FC_LRG" dataType="Real" value="(blank data)" FieldEntry fid="10027" name="SMT_FC_URG" dataType="Real" value="(blank data)" FieldEntry fid="10170" name="FCAST_SEST" dataType="Real" value="(blank data)" FieldEntry fid="11688" name="FCAST_PRD" dataType="Rmtes" value="Oct 2020" FieldEntry fid="11702" name="PRI_PC_PRD" dataType="Rmtes" value="Sep 2020" FieldEntry fid="11817" name="REF_PRD" dataType="Rmtes" value="Nov 2020" FieldEntry fid="12064" name="DSPLY_CHNM" dataType="Rmtes" value="ÚØ×Õå£Õ░▒õ©ÜÕ▓ùõ¢ì" FieldEntry fid="12065" name="DSPLY_JPNM" dataType="Rmtes" value="ÚØ×Þ¥▓µÑ¡Úâ¿ÚûÇÚøçþö¿ÞÇàµò░" FieldEntry fid="12821" name="FCAST_STAT" dataType="Enum" value="(blank data)" FieldEntry fid="12944" name="VAL_DS_SN" dataType="Enum" value="(blank data)" FieldEntry fid="12947" name="ACT_REL_ST" dataType="Enum" value="2" FieldEntry fid="12948" name="DEF_FC_TP" dataType="Enum" value="1" FieldEntry fid="13565" name="UNIT_PREFX" dataType="Enum" value="4" FieldEntry fid="14312" name="SRC_ES_NS" dataType="Time" value="(blank data)" FieldEntry fid="14491" name="ACT_INS_NS" dataType="Time" value="(blank data)" FieldEntry fid="14492" name="ACT_REV_NS" dataType="Time" value="(blank data)" FieldEntry fid="14493" name="ACT_VAL_NS" dataType="Time" value="13:30:00:000:000:000" FieldEntry fid="14494" name="FCAST_NS" dataType="Time" value="(blank data)" FieldEntry fid="14503" name="REV_INS_NS" dataType="Time" value="(blank data)" FieldEntry fid="32233" name="PRI_LO_RNG" dataType="Real" value="(blank data)" FieldEntry fid="32234" name="PRI_UP_RNG" dataType="Real" value="(blank data)" FieldEntry fid="32235" name="PRIOR_REV" dataType="Real" value="(blank data)" FieldEntry fid="32236" name="PRI_REV_UR" dataType="Real" value="(blank data)" FieldEntry fid="32237" name="PRI_REV_LR" dataType="Real" value="(blank data)" FieldEntry fid="32238" name="RTR_POLL" dataType="Real" value="(blank data)" FieldListEnd PayloadEndRefreshMsgEnd
You can use the Data Model Discovery tool to see the field meanings.
@iliak
To decode each field entry in the field list properly when you receive Refresh or Update message, I would suggest you find a sample code from Consumer.cpp from 200__MarketPrice__Streaming example(renamed to 200_MP_Streaming in latest version fo ESDK).
I believe that you may want to get a value for some fields you are interested in. Therefore, the 200_MarketPrice_Streaming example will show you how to iterate through the field list to get each field entry value. Then you can check the field id/name and skip it in this step.
thanks. i have already a client that works with SINK data, but due to limitations there are no way to simulate MRN data
can you give an example for the last USNFAR received ( the example you gave is for a future event)
and where i can find the details(with explanations ) of all the timestamps are available in ICE messages)