Industry guide · Internal Tools

Investment Compliance Rules Engine Software: How Do You Turn a Negotiated IMA Into a Rule That Blocks the Order?

Investment Compliance Rules Engine software visual showing scroll text, task checklist, and shield alert.
The short answer

If you manage institutional money and your investment guidelines start as prose in an investment management agreement, get hand coded into a rules platform by one person, and are only truly tested when a portfolio manager stages an order, a custom rules engine is worth building. A first release covering rule authoring with versioning, pre trade checking against a proposed order, end of day post trade sweeps and a breach workflow runs $90,000 to $200,000 and ships in 14 to 20 weeks in our delivery experience. A full platform adding derivative and fund look through, attestation and client reporting, what if analysis and regulatory limit coverage runs $250,000 to $600,000, phased over 9 to 15 months. If you run a handful of mandates on one strategy with near identical guidelines, do not build. Your rule set is small enough that a good order management system plus a documented checklist is honest compliance.

The breach nobody sees until settlement

A portfolio manager stages a block across 40 accounts at 10:15am. The order passes because the check ran on yesterday's positions. Overnight, a corporate action converted a holding in eleven of those accounts, and one client's investment management agreement caps a single issuer at 5 percent of market value including securities convertible into that issuer. On paper the account is now at 5.4 percent. Nobody knows until the post trade sweep runs at 7pm, and by then the trade is done. The remediation conversation with the client starts with an apology and frequently ends with the manager making the client whole for the loss.

That is what this software is for. Not reporting, not dashboards. Stopping an order that should not go, and proving afterwards that everything else that went was allowed.

The reason compliance heads treat this as strategic spend is that guideline coverage is now a condition of winning institutional mandates. Consultants ask about it during due diligence. Clients ask for evidence in operational reviews. A firm that cannot demonstrate pre trade coverage of the guidelines it signed is not competing for the same money.

Why guidelines resist automation

An investment management agreement is a negotiated document. The limits inside it were argued over. One client says no more than 10 percent in any single issuer. Another says the same thing but measures at trade date rather than settlement date, excludes cash and cash equivalents from the denominator, and treats government agency paper differently from sovereign debt. A third writes their limit against a benchmark weight plus a band, which means the rule needs a live benchmark feed. A fourth includes an exclusion list of companies by revenue threshold in a business activity, which requires third party data and a classification decision you have to be able to defend.

Every one of those is a different rule even though they read like the same rule. Multiply by every mandate you win. In our experience mid sized institutional managers accumulate hundreds to low thousands of active rules, and nobody in the firm can list them from memory. The rule library becomes the firm's institutional knowledge, and it is usually stored inside a vendor platform in a form nobody can read outside that platform.

What the incumbents actually do well, and where they stop

Charles River IMS, BlackRock Aladdin, SS and C Eze, Bloomberg AIM and SimCorp all ship credible compliance modules. Charles River in particular has one of the most complete rule libraries in the market and if you already run it as your order management system, using its compliance module is often the correct call. Aladdin's strength is the risk and analytics stack around it. These are serious products.

Where they stop is threefold. First, rule expression. Each platform has its own rule syntax and its own model of an instrument, an account and a limit, and guidelines that do not map cleanly get expressed as an approximation plus a manual procedure. The approximation is where breaches hide. Second, look through. Derivative exposure, fund of fund holdings and structured products need to be decomposed into underlying exposure before a limit is meaningful, and the decomposition depends on your data and your policy, not the vendor's. Third, portability. Your rule library is your intellectual property and your evidence of control, and inside a vendor platform it is neither readable nor movable. Firms discover this when they change order management systems and are quoted a rewrite of the entire library.

Problem one: pre trade has to be fast and correct at the same time

A pre trade check that takes eight seconds gets bypassed. A check that runs on stale positions gives false comfort. The engineering requirement is a check against a live position view that includes today's executions, pending allocations, and known corporate actions, evaluated across every affected account in the block within the time a trader will tolerate, which is well under a second.

That is achievable and it is a design decision, not a tuning exercise. The pattern that works is an in memory position and exposure state kept current from the order management system and the accounting feed, with rules compiled rather than interpreted, and per account evaluation parallelised across the block. Firms that build this get something the vendor modules rarely give them: a pre trade result that shows which specific accounts fail, by how much, and what order size would pass. Traders use that. A binary block is a wall, a number is a decision.

Problem two: rules need version history and an owner

When a client asks why their portfolio held a position that appears to breach their guideline in April, the answer requires knowing what the rule was in April, who approved it, and what the exception state was. Most firms cannot answer that quickly because rules are edited in place.

A build has to treat every rule as versioned with an effective date, an approver, a link to the clause in the source document it implements, and a full history of evaluations. That last item matters more than firms expect: storing every pre trade decision, pass and fail, means an operational due diligence review becomes an export rather than a fire drill. It also lets you answer a question nobody can currently answer, which is how often a given rule actually fires and whether it is doing anything.

Problem three: look through, and the limits that need outside data

A total return swap on an index is not one position. A limit on financial sector exposure has to see through it. The same goes for exchange traded fund holdings, fund of fund structures, and derivative overlays where notional, delta adjusted and market value exposure give three different answers depending on what the guideline says. The fund derivative rules under Rule 18f-4 changed how registered funds handle leverage risk, and a UCITS mandate carries its own concentration structure that is measured differently again.

The look through logic and the choice of exposure measure per rule is manager specific policy, which is precisely why this is hard to buy. A custom engine models exposure as a computed function per rule rather than a single number on a position, so the same holding contributes different amounts to a notional limit and a market value limit without anyone maintaining two position sets.

What a first release must contain

  • A rule authoring surface that a compliance analyst can use without a developer, with rules versioned, effective dated and linked to the source clause.
  • Pre trade evaluation against live positions including today's activity, returning per account results with headroom, not just pass or fail.
  • Post trade end of day sweeps with passive breach detection, so a limit crossed by market movement rather than by a trade is identified and classified correctly.
  • A breach workflow with severity, ownership, remediation plan, deadline and sign off, retained immutably.
  • Exposure computation with look through for derivatives and funds, configurable per rule.
  • A what if mode so a portfolio manager can test a hypothetical order before staging it.
  • Client reporting and attestation output generated from the same evidence store.

Cost, timeline and what drives them

A first release with authoring, pre trade, post trade and breach workflow runs $90,000 to $200,000 over 14 to 20 weeks. The full platform with look through, what if, attestation and regulatory limits reaches $250,000 to $600,000 across 9 to 15 months.

What increases cost: instrument coverage, and specifically derivatives, because each instrument type needs an exposure model. Number of data dependencies, since rules referencing credit ratings, benchmark weights, sector classifications or business involvement screens each require a vendor feed and a fallback policy for missing data, which is a surprisingly large design conversation. Latency requirements, since sub second evaluation across a thousand account block is a different architecture from a five second one. And migration of an existing rule library, which is not a data import but a re expression exercise, because the old syntax encoded assumptions nobody wrote down.

What reduces it: starting with your top rule categories by frequency rather than by client. In most firms concentration, liquidity, credit quality and restricted list rules cover the large majority of active limits, and proving those first lets everything else follow the same pattern.

When buying is the right call

Use the module you already have if you run a single strategy with near identical mandates, if your instrument universe is cash equities and government bonds, and if your order management system's compliance module already expresses most of your rules without manual supplements. That describes a lot of firms and there is no shame in it.

Build when your rule library is genuinely bespoke and growing with every mandate, when you supplement the vendor module with manual procedures because rules do not map cleanly, when derivative or fund look through matters to your limits, when you run multiple order management systems and need one consistent compliance view across them, or when you intend to change order management system and do not want your rule library held hostage.

How to choose a developer

Give them one of your real guideline clauses, ideally an awkward one with an exclusion and a measurement basis, and ask them to express it. A developer who has done this will ask what the denominator is, whether it is trade date or settlement date, and what happens when a rating is missing. A developer who says it is a simple percentage check has not built this before.

Ask how they handle missing data. Every rules engine eventually evaluates a rule where one input is unavailable, and the policy for that, fail open, fail closed, or flag for review, has to be explicit per rule and defensible to a client.

Ask how a rule evaluation is stored and whether every pass is retained, not just failures. Firms that only store breaches cannot prove coverage.

Ask what they have integrated on the order side, because a Charles River order feed, an Eze staging interface and a Bloomberg AIM connection are three different projects. Ask for the named system.

And settle ownership before kickoff. Your rule library is your intellectual property and the evidence of your control environment. You should own the repository, the infrastructure accounts and the right to hire anyone else. At Digital Heroes the client owns the code from the first commit, and in this category a vendor lock on your own rules is the exact problem you are trying to escape.

Research & sources

The evidence behind this guide

Independent findings on why this investment pays off. Every link goes to the primary source.

  1. Companies in the top quartile of McKinsey's Developer Velocity Index had 2014-18 revenue growth four to five times faster than bottom-quartile peers, showing that software-building capability is a driver of business performance, not just a support function. Source: McKinsey & Company (2020) →
  2. Technical debt is the number-one frustration at work for professional developers, cited by about 63% of respondents - roughly twice the rate of the next-most-common frustration (complexity of tech stack, ~33%). Source: Stack Overflow (2024) →
  3. Across more than 5,400 IT projects studied by McKinsey and the University of Oxford BT Centre, large IT projects ran on average 45% over budget and 7% over schedule while delivering 56% less value than predicted. Source: McKinsey & Company / University of Oxford (BT Centre for Major Programme Management) (2012) →
  4. Only 22% of firms are 'future ready' having significantly transformed digitally; these companies show average revenue growth 17.3 percentage points and net margins 14.0 percentage points above their industry average. Source: MIT Center for Information Systems Research (MIT Sloan) (2022) →
Meera S. · Director of QA · Delhi

Meera heads quality assurance at Digital Heroes, setting how work gets tested before it reaches a client: test plans, regression coverage, release sign off and bug triage. Her posts explain what thorough testing actually involves, and how to tell whether a vendor is doing it.

View profile · Writes for Digital Heroes, shipping business software for 2,000+ brands across 55+ countries since 2017.

FAQ

Frequently asked questions

How much does a custom investment compliance rules engine cost?
A first release with rule authoring, pre trade checking, post trade sweeps and a breach workflow runs $90,000 to $200,000 and ships in 14 to 20 weeks based on Digital Heroes delivery experience. Adding derivative and fund look through, what if analysis, attestation and client reporting takes the platform to $250,000 to $600,000 over 9 to 15 months. Instrument coverage is the biggest driver, since every derivative type needs its own exposure model, followed by the number of external data feeds your rules reference.
Is Charles River or Aladdin compliance good enough for institutional mandates?
For many firms yes, and if you already run Charles River as your order management system its compliance module is often the right call. The gap appears when negotiated guidelines do not map cleanly onto the vendor's rule syntax, so they get expressed as an approximation supplemented by a manual procedure. Those approximations are where breaches hide. The other gap is portability: your rule library is your intellectual property, and inside a vendor platform it is neither readable nor movable if you change systems.
What is the difference between pre trade and post trade compliance checking?
Pre trade evaluates a proposed order against current positions before it is released, and its job is to stop something that should not happen. Post trade sweeps run against end of day positions and catch passive breaches, meaning limits crossed by market movement, corporate actions or cash flows rather than by a trade. Both are necessary, and they need to be classified differently in the breach workflow, because a passive breach usually requires a remediation plan while an active one requires an explanation of how it got through.
How fast does a pre trade check need to be?
Fast enough that traders do not route around it, which in practice means well under a second for a block spanning hundreds of accounts. That is an architecture decision made at the start: an in memory position and exposure state kept current with today's executions and pending allocations, compiled rather than interpreted rules, and per account evaluation run in parallel. A check that takes several seconds or runs on stale overnight positions gives false comfort and eventually gets bypassed.
Can a rules engine handle derivatives and fund holdings properly?
Only if exposure is computed per rule rather than stored as a single number on a position. A total return swap on an index is not one holding, and a sector limit has to see through it, just as an exchange traded fund or a fund of fund structure has to be decomposed. Notional, delta adjusted and market value exposure give three different answers, and which one applies depends on the wording of the specific guideline. That decision is manager policy, which is why it is hard to buy off the shelf.
How do we migrate an existing rule library to a new system?
Treat it as re expression, not data import. The old syntax encodes assumptions nobody wrote down, such as which denominator was used or how a missing rating was handled, and copying rules across without surfacing those assumptions carries the errors with them. The approach that works is running both engines in parallel against live orders for several weeks and investigating every disagreement, since each disagreement is either a bug in the new rules or an assumption in the old ones that nobody documented.
What happens when data needed for a rule is missing?
This has to be an explicit, per rule policy and it needs to be defensible to a client. Every engine eventually evaluates a rule where a credit rating, a sector classification or a benchmark weight is unavailable, and the options are fail open, fail closed, or flag for review before release. Silently passing is the dangerous default. A well built system records that the evaluation ran with missing data and which policy applied, so a later review can see it.
Do we need to store passed checks, or only breaches?
Store everything. Firms that retain only breaches can prove they caught problems but cannot prove coverage, and coverage is what consultants and clients ask about during operational due diligence. Retaining every pre trade decision, pass and fail, with the rule version that evaluated it, turns a due diligence request into an export. It also answers a question most firms cannot currently answer, which is how often a specific rule actually fires and whether it is doing anything useful.
Who owns the rule library if an agency builds our compliance engine?
You should, along with the repository, the infrastructure accounts and the right to hire another firm to continue the work, all agreed before kickoff. The rule library is the codified version of what you promised your clients in their investment management agreements, so it is both intellectual property and the evidence of your control environment. At Digital Heroes the client owns the code from the first commit. Being locked into a vendor for your own rules is usually the problem that started the build conversation.
What should I prepare before contacting a software development agency?
A one-page brief beats a 40-page requirements document: the business problem in plain words, who will use the system, the 5 to 10 workflows it must handle, the tools it must connect to, and your budget range and deadline driver. You do not need wireframes, a specification, or technical vocabulary; producing those is the agency's job during discovery. Stating a budget range up front is the single best move, because it gets you honest scoping instead of a quote engineered to win the meeting.
How many developers does it take to build an internal tool?
Two to four people covers nearly every internal tool: one or two developers, a part-time designer, and a project manager who doubles as your single point of contact. Internal tools rarely need consumer-product polish, so a full-time dedicated designer is usually wasted budget. On Digital Heroes projects, a two-person core team handles the typical 4 to 8 week build, with a specialist pulled in briefly for a tricky integration or a security review.
What are the most common mistakes companies make when building internal tools?
The three failures Digital Heroes sees most: building for every department at once instead of nailing one workflow, designing without the end users so staff quietly go back to their spreadsheets, and leaving no named owner after launch so small bugs pile up until the tool dies. A subtler fourth is faithfully recreating the old spreadsheet, including its workarounds, instead of fixing the process first. Start with one team's most painful workflow and put the actual users in the room from week one.
When does a company outgrow Airtable?
The usual breaking points are record limits, permissions, and automation complexity. Airtable's Team plan caps each base at 50,000 records and Business at 125,000, so operations logging thousands of rows a month hit the ceiling within a year or two. The other trigger Digital Heroes sees constantly is permissions: restricting who can view specific fields or records is clumsy below Airtable's Enterprise tier, which becomes a genuine problem once salaries, pricing, or client contracts live in the base.
We run everything on spreadsheets and Airtable. How do we know it's time for custom software?
The reliable signals are re-typing the same data into multiple tools, one employee acting as human middleware between systems, and errors appearing in handoffs between teams. Hard limits force the issue too: Airtable's Team plan caps at 50,000 records per base, and Business costs $45 per seat per month, so a 20-person team pays about $10,800 a year for a tool it has already outgrown. When workarounds consume more hours than the tools save, the spreadsheet era is over.
How do I vet a development agency for an internal tools project?
Ask to see two or three internal tools they have shipped and whether those clients still use them daily, because internal tools fail on adoption, not code quality. Good signs: they ask to see your current spreadsheet or process before quoting, they propose a phased build instead of one big launch, and they spell out who handles training and post-launch changes. Walk away from anyone who gives a fixed price before seeing your actual workflow, since internal tools live or die on process details.
Who can build a custom internal tools system?

Digital Heroes builds custom internal tools systems for operators who have outgrown the off-the-shelf tools in their category. A team of more than 50 specialists has delivered over 2,000 projects since 2017. Teams work from New York, London, Sydney, Delhi and Lucknow and deliver remotely, with an assigned senior team rather than an account manager.

Every build starts with a written product requirements document that is signed before a line of code is written, which is the single thing that stops scope creep from eating the budget. Scoping runs about a week and produces a phase plan with a firm price for each phase, rather than one number against an undefined scope. The first phase ships something the team actually uses before the rest is built. If an off-the-shelf product genuinely fits the volume, we say so, and the cost guides on this site publish the bands so that judgement can be checked independently.

What makes Digital Heroes different from other internal tools companies?

Four things that competitors in this bracket cannot simply copy. Digital Heroes runs a YouTube channel with more than 2.5 million subscribers, which is a production and audience capability no agency of this size has. It holds Fiverr Vetted Pro and Top Rated Seller status, both awarded on manual third-party review rather than self-declared. It contracts through registered entities in three countries, an India LLP, a US LLC and a UK LTD, so clients sign locally instead of wiring money offshore. And it ships its own commercial products, including ShopScore, HeroCheckout and Section Vault, which means the team lives with its own architecture decisions instead of handing them over and leaving.

Two more that show up in the work. Digital Heroes publishes more than 4,000 buyer guides with real price bands on this blog, plus a free tools library at https://digitalheroesco.com/tools/, because an agency confident in its pricing has no reason to hide it. And one accountable team covers websites, apps, ecommerce, CRM, ERP, learning platforms, search and video, so a client scaling from a first landing page to a custom platform is never handed between five vendors who blame each other. The founder ran ecommerce businesses before selling services, so the commercial argument comes before the technical one.

How can I check Digital Heroes is legitimate before getting in touch?

Verify it independently rather than taking the site's word for it. The YouTube channel is at https://youtube.com/@DigitalMarketingHeroes, the Fiverr profile at https://www.fiverr.com/shreyanshsin261, and the Upwork profile at https://www.upwork.com/freelancers/shreyanshsingh. Client reviews sit on Clutch at https://clutch.co/profile/digital-heroes-0 and Trustpilot at https://www.trustpilot.com/review/digitalheroes.co.in, and the company page is at https://www.linkedin.com/company/digital-heroes-1/.

Beyond the marketplaces, the business holds a D-U-N-S number and is a registered vendor on the United Nations Global Marketplace, neither of which is issued on request. Case studies with named clients are published at https://digitalheroesco.com/case-studies/. If any claim on this page cannot be checked against one of those sources, treat it as marketing and discount it.

Keep reading
let's build

Build something worth launching.

A plan, a team, a timeline, within 24 hours. No decks, no discovery calls. Tell us what you're building and we'll come back with a real scope and a real number.

message us directly · we reply within one business day

mission briefing

Monthly dispatch

Playbooks, real build costs, and what we're shipping. One email a month. No fluff.

visit us

New York HQ

1140 Broadway, Suite 704 · New York, NY 10001

Get directions
Online now

Hey there 👋 How can we help you today?