Registers a builtin policy from its ready-builder token and advances to the ready builder.
readyBuilder is an always-ready builtin builder or the result of a
required barrier-stage configuration call.
Throws ParamError when readyBuilder is not a builtin ready-builder
token, or EngineBuildError when the builtin's configuration is invalid.
Opens a market-data builder with the given default TTL.
The resulting service uses no-op locks.
Registers a custom pre-trade policy and advances to the ready builder.
policy is any JS object implementing the Policy shape; it is adapted
to a core PreTradePolicy immediately.
Throws ParamError when policy is not a valid Policy object.
Initial stage of the engine builder: requires at least one policy.
The first
preTrade/builtincall advances to [JsReadyEngineBuilder].marketDataopens a market-data builder without leaving this stage. The engine always uses no-op locking for the single-threaded WASM runtime.