Hi Guys,
I am using Refinitiv EMA api to contribute using offstream.
I have bid as double and offer as double and I use the following to add them to a UpdateMsg.
nestedFieldList.add(EmaFactory.createFieldEntry().realFromDouble(393, bid, OmmReal.MagnitudeType.EXPONENT_NEG_5)); nestedFieldList.add(EmaFactory.createFieldEntry().realFromDouble(275, offer, OmmReal.MagnitudeType.EXPONENT_NEG_5)); nestedFieldList.add(EmaFactory.createFieldEntry().realFromDouble(22, bid, OmmReal.MagnitudeType.EXPONENT_NEG_5)); nestedFieldList.add(EmaFactory.createFieldEntry().realFromDouble(25, offer, OmmReal.MagnitudeType.EXPONENT_NEG_5));
But if the value is 25.16, its updating it as 5.160000
Could someone provide inputs around these? I had initially used EXPONENT_NEG_1 and that was also publishing garbage values.
Thanks for your help,
Cheers,
Sanjeet