Missing Enum Value 2315 for IRGCOND

I am using ema-3.5.1.0 in Java and subscribing to listen to trades. In one of the updates, I received the following. In my code, I convert enum to human readable format, but it failed with the exception OmmInvalidUsageException with reason that it cannot convert 2315 to enumDisplay. I looked for different enum values in enumtype.def which I believe it to be the latest and I cannot find 2315 in the value.

UpdateMsg
streamId="1102"
domain="MarketPrice Domain"
updateTypeNum="2"
name="ABR"
serviceId="23"
serviceName="IDN_SELECTFEED"
Payload dataType="FieldList"
FieldList FieldListNum="0" DictionaryId="1"
FieldEntry fid="374" name="IRGCOND" dataType="Enum" value="2315"
FieldEntry fid="3854" name="SALTIM_MS" dataType="UInt" value="64966693"
FieldEntry fid="1021" name="SEQNUM" dataType="Real" value="1272107.0"
FieldEntry fid="379" name="SALTIM" dataType="Time" value="18:02:46:000:000:000"
FieldListEnd
PayloadEnd
UpdateMsgEnd


I also downloaded the latest version of 4.20.49_RealTimeDistributionSystem_21.71.service_pack from customer support but the embedded enumtype.def was too missing the enumtype def. How to interpret and understand the meaning of this value 2315? Where can I find enumtype.def which has this value defined?

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    Hi @purvesh.yadav

    I did receive some additional information on this FID. Over the years we’ve recommended that clients shift away from FID 374/40/131 etc for Sale condition codes in US. There are thousands of possible combinations of Sale condition codes and we stopped adding new ones some years back as we were running out of meaningful display letters and new logical FIDs were introduced. The FID is also overloaded with cancellations/corrections. Some Sale condition combinations have many to one mapping in this FID I think for US markets. The native conditions are available in FID 4756/4757. This particular enum 2315 for NYSE is a combination equal to <Derivatively Price, Odd Lot Trade with Regular Settlement>. In FID 4757 it would show up as “ 4 I”. I'm sure the open ticket will provide some additional details once they get back to you.

Answers