EMA - Value decoding in log file

imageDear team

Client is developing API to consume data from our ERT in cloud service with Real-Time-SDK-2.0.0.L1.java. After turning on log function in SDK sample code, client found the values in log file seems encrypted. As you can see in attached FID6 should be trade price but the value seems not. Could you please confirm what steps client should take to process the values to be meaningful? Thank you.

Best Answer

  • umer.nalla
    Answer ✓

    Hi @Xiaorong.Xu

    The data is being displayed as Hex representation in the following encoding format e.g.

    for 0A0297AC

    0A = MagnitudeType = 10 =EXPONENT_NEG_4 (as defined in the EMA Java HTML Reference Manual under OmmReal.MagnitudeType).

    0297AC = Mantissa = 169900

    So, the above 0A0297AC represent 16.9900