Best bid/ask event.
Summary
Functions
Builds a BestBidAskEvent from a decoded (atom-keyed) websocket message.
Types
Functions
Builds a BestBidAskEvent from a decoded (atom-keyed) websocket message.
Constructs the struct directly — no Ecto.Changeset — for the websocket hot
path. Numeric fields (delivered as JSON strings) are coerced via
Polymarket.Schemas.Coerce. Returns {:error, {:missing_fields, fields}} when
a required field is absent.