Skip to main content

Module orders

Module orders 

Source
Expand description

Order types.

Domain records and input structs for orders, order actions, and fill side effects.

Structsยง

FillSideEffects
Side effects for atomic fill persistence (fill + trade + ledger).
OrderInfoRecord
Materialized order state: static order metadata merged with the latest status from the order update stream.
PersistOrderAction
Input for persisting an order action audit trail entry. The Diesel adapter converts enums to DB strings at the boundary.
PersistOrderInfo
Input for persisting static order info (upsert on order_id). The Diesel adapter converts enums to DB strings at the boundary.