Registers an additional builtin policy from its ready-builder token.
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, EngineBuildError when the builtin's configuration is invalid, or
LifecycleError when the builder has already been consumed.
Opens a market-data builder with the given default TTL.
Registers an additional custom pre-trade policy.
policy is any JS object implementing the Policy shape.
Throws ParamError when policy is not a valid Policy object, or
LifecycleError when the builder has already been consumed.
Stage 3 of the staged engine builder: build-ready.
Accepts further
preTrade/builtin/marketDatacalls and finalizes viabuild(). The core builder is held in aRefCell<Option<..>>and advanced with a take/replace pattern so failed operations can restore the prior state.