Skip to content

aetelier_types::orders

Implementation of orders Order primitives: side, type, ID encoding, and builder.

This module defines the core types for representing orders in an in-memory orderbook. OrderId is a bit-packed u64 that encodes side, type, and timestamp into a single sortable value. OrderBuilder provides a validated construction path for Order instances.

Skeleton API reference

This page lists the public items in aetelier_types::orders with a one-line summary each. Signatures and source live in the SDK repository.

Structs

Item Summary
Order A single order in the orderbook.
OrderBuilder Builder for constructing an Order with validated fields.
OrderId Compact order identifier that bit-packs side, type, and timestamp into a single u64.

Enums

Item Summary
OrderSide Side of an order book: bid (buy) or ask (sell).
OrderType Supported order types: market or limit.