You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<groupname="NoOrderIDEntries"id="37705"description="Number of OrderID entries"blockLength="24"dimensionType="groupSize8Byte">
<fieldname="OrderID"id="37"type="uInt64"description="Unique Order ID"offset="0"semanticType="int"/>
<fieldname="MDOrderPriority"id="37707"type="uInt64NULL"description="Order priority for execution on the order book"offset="8"semanticType="int"/>
<fieldname="MDDisplayQty"id="37706"type="Int32NULL"description="Visible qty of order"offset="16"semanticType="Qty"/>
<fieldname="ReferenceID"id="9633"type="uInt8NULL"description="Reference to corresponding Price and Security ID, sequence of MD entry in the message"offset="20"semanticType="int"/>
<fieldname="OrderUpdateAction"id="37708"type="OrderUpdateAction"description="Order book update action to be applied to the order referenced by OrderID"offset="21"semanticType="int"/>
</group>
where groupSize8Byte is:
<compositename="groupSize8Byte"description="8 Byte aligned repeating group dimensions"semanticType="NumInGroup">
<typename="blockLength"description="Length"primitiveType="uint16"/>
<typename="numInGroup"description="NumInGroup"offset="7"primitiveType="uint8"/>
</composite>
The go generator does not take into account the dimensionType. The C++ generator does, which leads to correct decoding.
Take the following group:
where
groupSize8Byte
is:The go generator does not take into account the
dimensionType
. The C++ generator does, which leads to correct decoding.This is what the Go generator does right now:
This is what the Go generator should do:
This is what the C++ generator does:
You can run the example above here.
CC @theodosiosandreou
The text was updated successfully, but these errors were encountered: