when I use the sample code from Reuters to publish ask price, bid price, ask size and bid size to a RIC. The ask and bid size shown on my Reuters Eikon Quote pages are always wrong. For example. if I set the ask size to be 1, the price shown on the quote page is 0.1. The code section I used to set ask size and bid size are following.
FieldList nestedFieldList = EmaFactory.createFieldList(); nestedFieldList.add(EmaFactory.createFieldEntry().realFromDouble(393, bid, OmmReal.MagnitudeType.EXPONENT_NEG_1)); nestedFieldList.add(EmaFactory.createFieldEntry().realFromDouble(275, ask, OmmReal.MagnitudeType.EXPONENT_NEG_1));
nestedFieldList.add(EmaFactory.createFieldEntry().real(791, bidSize,OmmReal.MagnitudeType.EXPONENT_NEG_1));
nestedFieldList.add(EmaFactory.createFieldEntry().real(985, askSize,OmmReal.MagnitudeType.EXPONENT_NEG_1));