Extending Quote Updater with Custom Pricers and Guards

An October 8, 2026 article explains how builders can extend the quote-updater library in lambdaclass/propamm-factory. Using Updater::builder(), they can register custom Pricer, MarketGuard and QuoteGuard implementations. Pricing can use a synchronous pricer_fn or an asynchronous Factory; the extensions can access on-chain calls, σ history, vault inventory and landed status.

Configuration is validated at startup, during hot reload and with --check. An unknown kind or a guard that cannot be constructed causes the configuration to be rejected. The updater’s core still withdraws quotes according to its min/mid boundaries, spread and storability checks.

The article also covers diagnostics, the distinction between a circuit-breaker trip and a kill switch, observer events, secret redaction, testing tools that do not require a chain, and embedding the updater in an application’s own Tokio runtime.

Further reading