About the client

A financial services firm in a regulated sector. It advises institutional clients on their investments, and its modelling team runs a large set of performance, risk and attribution calculations for each client every reporting cycle.

Industry Financial Services Technologies .NET, React, Azure | AI: document extraction

Business challenge

Decades of calculation logic held in spreadsheet models

The firm’s calculations had been built and refined over many years by its quantitative modelling team. The models worked, but they lived in spreadsheets and macros that only a few people could maintain.

  • Logic known to a few: Each calculation sat in its own workbook, some revised dozens of times. The reasoning behind many rules was known only to the modellers who wrote them.
  • Errors that travel: The models fed one another, so a mistake early in the chain could pass unnoticed into every later result.
  • Results hard to defend: Inputs could change after a run, so a past result could not always be reproduced if a client questioned it.
  • Solved values in macros: Iterative figures such as money-weighted returns relied on spreadsheet goal-seek, which is slow and can fail to settle.
  • Manual data handling: Data from client teams, researchers and external managers arrived in different layouts and was copied forward by hand each cycle, so shared reference lists drifted out of date.

Design Principles

The calculation engine at the core of the platform

GoodCore designed the platform around the calculation engine, guided by four principles.

Engine at the centre

The calculations run in a standalone engine, separate from data ingestion and reporting, so each part can change without affecting the others.

Precision built in

Iterative solvers and numerical tolerances are part of the engine itself, so results hold to the precision the modelling team requires.

Built for evolving logic

Each calculation is a self-contained module, so new or revised calculations are added without reworking the engine.

Sized to the workload

GoodCore chose the simplest architecture that met the need, ruling out heavier distributed tools that would add cost and complexity.

TECHNICAL APPROACH

Architecture decisions driven by accuracy and auditability

check

Dependency-graph engine

Each calculation declares its inputs, outputs and dependencies, and the engine orders them as a directed acyclic graph(DAG). Independent calculations run in parallel, and a circular dependency is rejected when the graph is built.

check

A frozen snapshot per run

Inputs are loaded once into a snapshot that no calculation can change. Each run records its data and engine versions, so any past result can be rebuilt exactly.

check

AI-assisted data ingestion

Investment managers’ reports arrive in many formats. AI extracts the figures into a standard structure and a person reviews them before use. The calculations themselves stay fully rule-based.

check

Validation before every run

Uploads are checked in the background against the expected structure and reference data. Problems are marked critical or non-critical, and a run cannot start until every critical issue is resolved.

A calculation engine built as a graph

A missing input stops only the calculations that depend on it, and the rest of the run completes.

The calculation graph

OUTCOMES

Calculation logic the firm now owns

The firm’s calculations now run on one tested, auditable engine.

Consistent results: Every calculation runs on the same rules and the same version of the engine, every time.

Reproducible results: Every result links to the inputs, adjustments and engine version that produced it.

Simple to run: The modelling team follows a guided workflow in place of macros and copied files.

Validated inputs: Every input is checked before a run starts, so calculations never run on incomplete or malformed data.

From spreadsheet models to an auditable engine

The same calculations, now tested, traceable and run in one place.

Before

After

Before

Logic in spreadsheet models
Fully understood by a few modellers

After

Logic in a tested engine
One version, used for every run

Before

Order set by workbook links
Hard to trace or change

After

Order set by the engine
Worked out from declared dependencies

Before

Goal-seek for solved values
Slow and unreliable at tight tolerances

After

Solvers built into the engine
Consistent results on every run

Before

Data copied forward
Updated by hand each cycle

After

Validated uploads
Checked before any run, with AI-assisted extraction

Before

Past results hard to rebuild
Inputs could change afterwards

After

Any run reproducible
Rebuilt from its frozen snapshot

Every result traces back to its source

Each run keeps a record of its inputs, adjustments and engine version, so any result can be rebuilt and explained.

Result traceability

The impact

  • The firm’s calculation logic no longer depends on a handful of individuals.
  • Calculations run in tested, version-controlled software, reducing the risk carried in spreadsheet models and macros.
  • New or revised calculations go live as modules, with their effect on other results known in advance.
  • Inputs and results sit in one database, giving the firm a single view of all its calculation data.
  • The modelling team spends its time on analysis and model development instead of maintaining spreadsheets.

Many financial services firms depend on spreadsheet models that only a few specialists understand. Rebuilding those models as auditable software the business owns, with every rule intact, is a large part of GoodCore’s work.

Are critical calculations in your business still held in spreadsheet models?

Explore how we can work together.