Systems and process

Custody settlements, automated

A workbook that checks, settles and posts a custody team’s trades: 45 manual steps down to 5, and a two-hour end of day down to five minutes.

Five numbered cards standing in a row on a warm dark floor: Everything report, Settlements, Errors, PARC and PAIN, each with a line icon and linked by arrows. Behind them, out of focus, a wall of 45 small grey cards stands for the old manual steps.

At a glance

Role
Custody Operations Specialist, U.S. Bank Global Fund Services
Team
Custody operations in Dublin, with the team’s business analyst and my manager
Tools
Excel, VBA
Timeline
May – October 2025
Status
Handed over to the team, with training and a handover process

What it shows

  • Mapping a whole role, step by step
  • Automation with guardrails: only exact matches are settled
  • Excel and VBA driving the bank’s trade system
  • Testing before any real trade

Discover

In May 2025 I joined U.S. Bank Global Fund Services in Dublin as a Custody Operations Specialist. My job was settlements: making sure every trade that settled in the market, in Europe and the US, was settled in the bank’s own books too. Almost all of it was done by hand.

  1. 1Discover

    1. Step 01

      The role, by hand

      Every step of the day, done manually.

    2. Step 02

      Excel could drive the trade system

      A connector let Excel macros operate it.

  2. 2Define

    1. Step 03

      One report for everything

      Every trade the team touched each day.

  3. 3Design

    1. Step 04

      A master workbook

      Four macros: Settlements, Errors, PARC and PAIN.

  4. 4Deliver

    1. Step 05

      Tested, step by step

      In the test environment, reviewed by my manager.

    2. Step 06

      Training and handover

      I trained the team and wrote a handover process.

    3. Milestone 07

      EU LAC Spotlight Award

      For the redesigned process.

The old day

  • Settling trades, all day. I searched the market’s trade portal for settled trades, then found each one in the bank’s trade system and settled it by hand. Each had to match the market on up to five details. US trades meant doing it all again in a second system.
  • The error queue. Often hundreds of failed trades, each updated by hand. It could take more than an hour.
  • Partial settlements. From 3:30 pm, I worked through PARCs (partly settled trades now fully settled) and PAINs (partly settled, not yet finished). Each PAIN meant sums, a template for the US team and a posting. It took up to two hours.

Why it mattered

  • Mistakes got through. Mismatched trades reached the bank’s books and only surfaced later, as breaks.
  • Late settlements undid the work. The bank accepted settlements until 4:30, so a late one could send you back to the start.
  • No time left. Settlements filled the day, leaving little room for project work.

Define

  • Excel could drive the trade systemA connector meant the clicking and typing could be automated.
  • One report held everythingThe team’s business analyst showed me a report with every trade we touched each day.
  • No guardrailsNothing checked a settlement except the analyst’s care.
  • Too many reports, too oftenRunning them all day caused confusion and slow computers.
  • Start when the window closesIf the end of day took minutes, it could start at 4:30, and nothing could undo it.
  • The error queue was pure adminCopying market messages by hand added nothing.

Design

I built one master workbook with four macros. The day now runs from a single report.

  1. Run the everything reportEvery trade the team touched today.
  2. Settlements macroChecks and settles every EU and US trade, twice a day.
  3. Error macroUpdates every error message in the trade system.
  4. PARC macroDoes the sums, then settles what matches.
  5. PAIN macroOne run at 4:30: every partial settlement posted by 4:35.
  • Settlements checks every settled trade against the market and settles exact matches in about 30 seconds. Anything else is flagged with the reason.
  • Errors matches the portal’s error report to the everything report and updates every error message automatically.
  • PARC works out totals for trades that partly settled more than once, then settles what matches.
  • PAIN is the part I’m proudest of. It builds the US team’s sheets, adds up the partial amounts and creates every posting, reversing the original first for US trades.

Every trade the macros settle is listed, so the end-of-day check is quick.

Reports

  • The everything reportEvery trade the team touched today
  • The error reportTrades that couldn’t settle

Master workbook

  • Four macrosSettlements, Errors, PARC and PAIN
  • Checks and logsEvery detail compared; every settlement listed

The bank’s trade system

  • EuropeTrades settled, errors updated, partials posted
  • USThe same, with the original posting reversed first

US team

  • Posting sheetsFilled in for every partial settlement

How it flows

  1. Each run starts from a report.
  2. The workbook sorts every trade into Europe or the US.
  3. Each macro checks every detail against the market in the right trade system.
  4. Exact matches are settled or posted. Anything else is flagged, with the reason.
  5. Settled trades are listed, and the US team gets its posting sheets.

Deliver

I tested every macro in the test environment, and my manager reviewed it before any real trade. Each step towards full automation was checked by hand before the next. I trained the team, and wrote a handover process when I moved role.

Outcome

  • 45 → 5Manual steps
  • 2 h → 5 minThe end-of-day partial process
  • 30 sTo check and settle every EU and US trade
  • 3:30 → 4:30The payment cut-off, now after the last trade settles

Only exact matches are settled now, so mismatches are caught before they reach the bank’s books. Late settlements no longer put the end of day at risk. The work won an EU LAC Spotlight Award, an internal U.S. Bank award.

Part of the day Before After
Settling trades Found, checked and settled by hand, all day Every trade in about 30 seconds, twice a day
Errors Hundreds updated by hand: an hour or more Updated automatically
Partials Up to two hours from 3:30, undone by late settlements One run at 4:30, finished by 4:35
Checks It relied on care Only exact matches settled; the rest flagged

What’s next?

I’ve since left U.S. Bank. If I were carrying the work on, I would:

  • Fix problems at the source. Use the flagged trades and reasons to stop mismatches happening.
  • Make it sturdier. Rebuild the macros on the bank’s supported automation tools.
  • Share the approach. Other settlement desks with the same manual steps could use it.