Exposes the staged builders and barrier types for order validation,
order-size limits, rate limits, PnL kill switches, and spot-funds checks,
plus their build* factories. Order validation and limit-only spot funds are
ready immediately; barrier-driven builders become tokens accepted by
EngineBuilder.builtin after a barrier configuration call.
Order-size quantity caps resolve by underlying asset and notional caps by
settlement asset. Either cap may be absent and then constrains nothing; its
chain skips a matching barrier without that metric. Zero is a present cap
that rejects positive metric values and admits a value of exactly zero.
@openpit/engine/pretrade/policies- built-in policy builders.Exposes the staged builders and barrier types for order validation, order-size limits, rate limits, PnL kill switches, and spot-funds checks, plus their
build*factories. Order validation and limit-only spot funds are ready immediately; barrier-driven builders become tokens accepted byEngineBuilder.builtinafter a barrier configuration call.Order-size quantity caps resolve by underlying asset and notional caps by settlement asset. Either cap may be absent and then constrains nothing; its chain skips a matching barrier without that metric. Zero is a present cap that rejects positive metric values and admits a value of exactly zero.