dita_v2(test): enforce post-ack atomicity and suite integrity
This commit is contained in:
@@ -55,7 +55,10 @@ def _mk_intent(
|
||||
) -> KernelIntent:
|
||||
return KernelIntent(
|
||||
timestamp=datetime.now(timezone.utc),
|
||||
intent_id=kw.pop("intent_id", trade_id),
|
||||
# Venue client IDs must distinguish entry and exit orders. Reusing the
|
||||
# trade ID for both makes one fill match both active orders, which the
|
||||
# identity-first Rust router correctly refuses to misclassify.
|
||||
intent_id=kw.pop("intent_id", f"{trade_id}:{action.value.lower()}"),
|
||||
trade_id=trade_id,
|
||||
slot_id=slot_id,
|
||||
asset=asset,
|
||||
|
||||
Reference in New Issue
Block a user