Add Side to PriceLevelUpdate.

This commit is contained in:
Calder White committed 2026-10-22 18:44:20 -04:00
1 parent cd02a89303
commit 97360aefac
9 files changed
+82 -1

No files matched your search

@@ -1,5 +1,5 @@
id: 1
version: 1
version: 2
description: Voluntas engineering challenge orderbook update schema.
messages:
@@ -49,4 +49,8 @@ messages:
id: 5
type: int64
description: The absolute available quantity, in fixed point; 1_000_000 = 1 share/contract
side:
id: 6
type: SideEncoding
description: The side being updated; Buy = bid, Sell = ask
symbol: { id: 3, type: string }
+5
View File
@@ -47,6 +47,11 @@
<type name="bytes32" primitiveType="uint8" length="32"/>
<type name="address" primitiveType="uint8" length="20"/>
<!-- The shared Side domain enum owns and validates the Buy/Sell values. -->
<composite name="SideEncoding" description="Orderbook side: 0 = Buy (bid), 1 = Sell (ask)">
<type name="value" primitiveType="uint8"/>
</composite>
<!-- FIX-standard boolean: one byte on the wire. -->
<enum name="BooleanType" encodingType="uint8">
<validValue name="False">0</validValue>