In RFA and UPA, can we check if the time field contains high precision timestamp before decoding?...

Jirapongse
Jirapongse ✭✭✭✭✭

... (from MiFID II Webinar Sep 27)

In RFA and UPA, can we check if the time field contains high precision timestamp before decoding? Therefore, I can skip decoding that field. Using try/catch will hurt performance of the application.

Best Answer

  • brian.sandri
    Answer ✓

    To add to this, here are different valid encoded lengths:

    2 bytes: hour, minute

    3 bytes: hour, minute, second

    5 bytes: hour, minute, second, millisecond

    Everything above (2, 3, 5 byte encodings) can be handled by all supported versions of RFA, UPA/ETA, and EMA.

    7 bytes: hour, minute, second, millisecond, and microsecond

    8 byte: hour, minute, second, millisecond, microsecond, and nanosecond.

    7 and 8 byte encodings can be handled by RFA8, UPA8 or higher, and all versions of Elektron SDK (ETA and EMA)

Answers