ExecID size

Hi,

Is there an “accepted” maximum size for ExecID, OrderID, TradeID … etc ?

A partner is requesting we send him ExecID with a maximum size of 16 chars but our system use UUIDs and ULIDs …

Regards.

FIX does not define the maximum length of fields with datatype String. This is subject to bilateral agreement. 16 characters seems quite limited and is probably not typical. ExecID(17) often has a date and time embedded as part of the identifier to guarantee uniqueness, especially in case of multi-day orders beings executed.

1 Like

There was a MiFID reporting use case where a base 10 to base 36 conversion was in place to reduce the size of a length restricted string.
Of course it works with numbers only. Probably/Hopefully your ExecID reprensetns numericals only.
The result is reversible of course. If you want to try out whether the reduction in length is suitable just vistit this site for instance: http://www.unitconversion.org/numbers/base-10-to-base-36-conversion.html. The algorithm is quite common. You could also try out higher bases of conversion but keep the characters in mind which are not allowed in FIX.