Automated Cash Sweep Workflow

Aggregate balances, compute gaps, plan cutoff-aware sweeps, execute, and monitor intraday liquidity

Automated Cash Sweep Workflow Aggregate balances, compute gaps, plan cutoff-aware sweeps, execute, and monitor intraday liquidity 01 / Bank Feeds 02 / Positions & Plan 03 / Compute & Execute 04 / Treasury Ops EX / Exception Queue Ingest Target + plan Execute + monitor Bank Feeds · camt.052 / .053 · Bank Feeds › Ingest · webhook + poll Bank Feeds camt.052 / .053 webhook + poll Aggregate · position table · Positions & Plan › Ingest Aggregate position table Compute Gap · target vs actual · Compute & Execute › Target + plan Compute Gap target vs actual Sweep Planner · ZBA / pooling · Positions & Plan › Target + plan Sweep Planner ZBA / pooling Execute + Book · cutoff-aware · Compute & Execute › Execute + monitor Execute + Book cutoff-aware Dashboard · intraday liquidity · Treasury Ops › Execute + monitor Dashboard intraday liquidity Requeue · next window · Exception Queue › Execute + monitor Requeue next window missed cutoff Legend User UI Agent logic Policy Tool action Context / trace

Determinism

  • • Each stage is a pure function of the prior snapshot
  • • Idempotency keys bind instructions to a snapshot
  • • Replay after a crash never double-transfers

Cutoff Safety

  • • Fund deficits first, then sweep surplus
  • • Cheapest rail whose window is still open
  • • Missed cutoffs requeue, never drop