The problem
A discretionary wealth manager rebalances a model portfolio. One decision becomes one block order in the OMS, which fills in several executions and is then allocated across hundreds or thousands of client portfolios. Every allocation has to become a correctly priced, correctly charged booking in Avaloq, ideally within minutes and certainly before settlement deadlines.
Posting each allocation as its own real-time call works at low volume. At rebalance volume it causes queues, timeouts and retries, and retries are where duplicate bookings come from. Bulk posting groups bookings into batches so the back office can absorb the burst. The cost is new failure modes, and the pattern exists to handle them.
How it works
- The OMS releases the block and its allocations. Each allocation carries a stable, unique business identifier that never changes on resend.
- The integration layer validates and enriches before anything is sent: instrument and account static data, charges and taxes, settlement details. Items that will certainly fail are stopped here, where they’re cheap to fix.
- Items are grouped into batches within the interface’s limits. Grouping follows business dependencies, not just arrival time.
- Avaloq returns a result for each item. A batch is a transport container, not a unit of success.
- Rejected items are parked and retried individually by their identifier, after correction where needed.
- Status flows back to the OMS per allocation, so the front office and operations see the same truth.
- Reconciliation confirms that positions and cash agree, independently of the message flow.
Design decisions that matter
Identity and idempotency
Everything depends on it. If the same allocation is sent twice, after a timeout or a middleware restart, the second send must be recognised and must not create a second booking. Decide early which identifier is the idempotency key, where it’s stored on the Avaloq side, and what “already booked” looks like in the response.
Grouping and batch size
Batch size is a trade-off between throughput and blast radius. Larger batches move more per call but take longer to process and to diagnose. A useful rule: keep a block’s allocations together where you can. When a block is too large for one batch, post it in a controlled sequence with a shared parent reference, so the back office and operations can still see it as one decision.
Ordering and dependencies
An amendment that overtakes its original, or a cancel that arrives before the booking exists, creates breaks that are tedious to unpick. Concurrency is fine across unrelated blocks. Within one block or one allocation, events must be applied in order. Partition by block (or by account) to get both.
Partial failure
Expect most batches to come back mixed. Design for three outcomes per item: booked, rejected – fixable (for example missing static data) and rejected – needs a human. Only the second should be retried automatically, and only once the cause is fixed.
Timing windows
Bulk posting adds latency by design. Check it against the operational day: overnight batch cut-offs, settlement instruction deadlines and, from 11 October 2027, UK T+1 settlement, which leaves far less slack between trade date and settlement.
Anti-patterns
OMS-specific details
- Partial fills and average pricing. Decide whether allocations are booked per execution or at a block average price. That choice drives fees, tax lots and client reporting.
- Late amendments. Allocation changes after booking need a correction path (reverse and rebook, or amend). It has to be designed and tested, not left as an afterthought.
- Multi-currency. Allocations in a currency different from the account’s reference currency bring in FX booking. Make sure rates and the timing of the FX leg are explicit.
- Charges. Commission, stamp duty or SDRT, and other levies must be calculated once, in one agreed place.
How to test it
A minimum regression set for bulk posting:
| Scenario | What you’re proving |
|---|---|
| Large rebalance block, many allocations | Throughput, grouping, no orphaned allocations |
| One bad allocation in a batch | The rest book. The bad one parks and retries cleanly |
| Duplicate send after a simulated timeout | No double booking |
| Amend and cancel racing the original | Order is preserved and the final state is correct |
| Multi-currency and partially filled block | Pricing, FX and charges are correct |
| End-of-day reconciliation after all of the above | OMS and Avaloq agree |
This page describes vendor-neutral architecture based on delivery experience. It deliberately doesn’t reproduce Avaloq interface specifications, documentation or training material.