Industry guide · Internal Tools

Mortgage Pipeline Hedging Software: How Do You Stop the Hedge From Trailing Your Locks When Rates Move 40 Basis Points Before Lunch?

Mortgage Secondary Market Trading software visual showing chart candlestick, lock, and git compare arrows.
The short answer

A custom decision layer over your pipeline runs $70,000 to $150,000 and ships in 10 to 16 weeks, and a full secondary desk platform runs $200,000 to $500,000 phased over 8 to 14 months, based on Digital Heroes delivery experience. Our honest position on this category is that most independent mortgage banks should keep a bought pricing engine and build only the thin layer on top: your own pull through model, your own best execution logic including servicing value, and a lock desk exception ledger. Build the whole desk yourself only if you originate products no third party engine prices properly, such as non-QM, jumbo portfolio or construction, or if you are a bank or credit union whose best execution includes a portfolio decision no vendor models.

Why the hedge trails the pipeline, every single time

The lock desk takes locks all day. The hedge gets adjusted when someone looks. In between sits a gap, and the gap is where a quarter of earnings goes when the ten year moves hard on a jobs number. A desk running $300 million a month has roughly $600 million of open commitments at any moment. A 40 basis point move against an unhedged sliver of that is not a rounding error, it is the origination margin for the month.

The workflow that produces the gap is the same at almost every lender. Rate sheets go out in the morning from a pricing engine. Locks come in through the loan origination system. A secondary analyst pulls a position report, usually late morning, exports to Excel, applies pull through assumptions that were set at some point in the past, computes a required coverage in TBA terms, and calls a broker dealer. Then the desk reprices intraday, extensions and renegotiations arrive, three loans fall out, one borrower switches from a 30 year to a 15 year, and the position report that drove the morning trade is already describing a pipeline that no longer exists.

Nothing here is anyone incompetence. It is a latency problem. The lock is an event and the hedge is a batch, and the two are joined by an analyst with a spreadsheet.

Problem 1: your pull through assumption is a single number and it should not be

Most desks carry pull through as a small set of buckets, often by lock stage. Applications get one percentage, approvals another, clear to close another. Those numbers were set from a rough historical average and reviewed occasionally. They are wrong in exactly the moment they matter most.

Pull through is a function of rate incentive above all. When market rates fall 50 basis points below the note rate on a locked loan, that borrower has a reason to renegotiate or walk to a competitor, and your fallout rises precisely when your hedge is losing on the forward side. It also varies by channel, since a retail borrower behaves nothing like a broker submission, by loan purpose, by lock term and remaining days, by loan officer, and by whether the file has an appraisal in hand. A single blended number blends away every one of those signals.

What a custom model does is estimate pull through per loan, from your own history, with rate incentive as a live input recomputed against current market pricing rather than the pricing at lock. The output is not a prettier number. It is a coverage requirement that moves when the market moves, which is the entire point. Building this needs 18 to 24 months of your own lock and funding history, and the honest answer is that if you do not have clean historical lock data with the market level at lock recorded alongside it, the first phase of the project is capturing that, not modelling it.

Problem 2: best execution is decided by habit

Every loan can go several ways: agency cash window, securitisation into a pool, a correspondent whole loan sale, an assignment of trade, or the bank balance sheet. The right answer differs loan by loan and it changes with the market. In practice most desks default to whichever outlet was right last quarter, because comparing properly is a spreadsheet exercise that nobody has time for at 3pm.

Real best execution has to price the whole loan, including servicing. A loan sold servicing released earns a service release premium today. Retained, it creates a servicing asset with a value that depends on prepayment expectations. Buy up and buy down grids on the guarantee fee change the coupon and therefore the pool the loan can go into. Specified pool payups are real money and get ignored constantly: a low loan balance pool, a geographic concentration story, or a high LTV story can be worth meaningful ticks over generic TBA, and if your execution engine only compares cash window against generic delivery, you are leaving those payups on the table every month.

A custom build encodes this as an execution comparison per loan across every outlet you are actually approved for, using your own commitment terms and your own margin requirements, and it recomputes when pricing changes. The engine does not have to be exotic. It has to be honest about the outlets you can genuinely deliver into, which is why generic vendor best execution frequently disagrees with reality: it does not know your investor approvals, your delivery limits, or your appetite for retained servicing this quarter.

Problem 3: the lock desk exception ledger does not exist

Extensions, relocks, renegotiations, float downs, and worst case pricing exceptions are granted every day. Some are policy, most are a phone call with a producer. Each one has a cost, and that cost is a real reduction in the margin on that loan. Almost nobody attributes it back to the loan, the branch, or the loan officer who asked for it.

This is the least glamorous feature in the category and it is frequently the one that pays for the project. Every exception becomes a ledger entry with an amount, an approver, a reason and a link to the loan. Then the monthly margin report shows realised margin after exceptions by branch and by originator. The conversation that follows is uncomfortable and extremely valuable, because in most shops a small number of producers consume a large share of the exception budget and nobody could prove it before.

What Optimal Blue, MCT, Polly and ICE Compass actually do well, and where they stop

Optimal Blue is the widest product and pricing engine in the market and it should generally stay in your stack. Rebuilding rate sheet generation, investor pricing ingestion and loan level pricing adjustment maintenance is a maintenance treadmill you will regret owning. Polly is a genuinely modern alternative on the same job with a cleaner API surface, which matters if you plan to build anything on top. MCT gives you an outsourced hedge advisory relationship plus a platform, and for a desk under a few hundred million a month that combination is usually cheaper and safer than employing the equivalent expertise. ICE Compass Analytics is strong analytics for larger desks.

Where all of them stop is the same place. Their pull through models are theirs, calibrated broadly, and you cannot inspect or retrain them on your own funded history. Their best execution knows public investor grids, not your specific approvals, your delivery capacity or your servicing retention appetite this quarter. None of them holds your exception ledger, because exceptions live in your origination system and your email. And none of them makes the position visible to the desk continuously, because they are reporting against your data on their refresh cadence, not on the event.

What a custom build must include

  • An event driven position: every lock, change, cancellation, fallout and funding updates the pipeline immediately, so the hedge requirement is always current rather than as of the last extract.
  • A loan level pull through model trained on your own lock and funding history, with rate incentive recomputed against live market pricing.
  • Best execution across only the outlets you are actually approved for, including servicing value, buy up and buy down, and specified pool payups.
  • A hedge recommendation in tradeable terms, by coupon and settlement month, with a clear coverage ratio and a shock analysis at plus and minus 25, 50 and 100 basis points.
  • Trade capture with pair offs, margin call tracking against your broker dealer counterparties, and a reconciliation to their statements.
  • An exception ledger with amounts, approvers and attribution back to branch and originator.
  • Daily profit and loss attribution split into position, market move, pull through change and execution, because until you can attribute the change you cannot tell a bad hedge from a bad month.
  • Records that satisfy your accounting treatment, since rate lock commitments and forward sales are carried at fair value and your auditor will ask how each mark was derived.

What this costs and how long it takes

Across the projects Digital Heroes has delivered, a decision layer sitting on top of a bought pricing engine runs $70,000 to $150,000 and ships in 10 to 16 weeks. That covers the event driven position, the pull through model, the best execution comparison and the exception ledger, with your existing engine still producing rate sheets. A full desk platform including trade capture, margin call tracking, profit and loss attribution and investor commitment management runs $200,000 to $500,000 phased over 8 to 14 months.

What drives cost up here specifically: the number of investors and delivery outlets, because each commitment structure is its own modelling problem; whether you retain servicing, since servicing valuation adds a genuine analytics workstream; the number of broker dealer counterparties you clear with, because each statement format is separate reconciliation work; and the quality of your historical lock data. If your loan origination system did not record the market level at lock time, the model cannot learn rate incentive, and reconstructing that history from archived rate sheets is real weeks of work before any modelling starts.

Build versus buy, stated plainly

Buy, and do not call us, if you originate under roughly $100 million a month in conventional agency product, sell best efforts, and do not retain servicing. Your risk is small, your outlets are few, and a hedge advisory relationship covers you at a fraction of a build.

Build the thin layer when you originate roughly $200 million a month or more, retain servicing or are deciding whether to, and your pull through assumption is a number someone set and nobody has revisited. Build more of the desk when your products are not priced properly by any third party engine, which in practice means non-QM, jumbo held on balance sheet, construction to permanent, or a credit union pricing members differently from the market. And build when your position report is an export, because the export is the lag, and the lag is the loss.

How to choose a developer for secondary marketing software

Ask them to explain the difference between best efforts and mandatory delivery, and what a pair off is, before you discuss architecture. If they cannot, they will build you a very clean application that models the wrong thing.

Ask how they would validate the pull through model. The right answer involves holding out a period of your own funded history, backtesting the coverage the model would have recommended against what actually funded, and showing the error by rate incentive bucket. An answer that stops at model accuracy without connecting to hedge coverage has missed the purpose.

Ask what they have integrated. Pulling locks in real time from Encompass is a different problem from a nightly file. Ingesting investor pricing, reconciling a broker dealer statement, and posting fair value marks your auditor accepts are three separate pieces of work. Ask for the specific system and the specific interface.

Ask who owns the model, the code and the data. Your funded loan history is your most valuable asset in this project and it should never sit inside a vendor account you do not control. At Digital Heroes the client owns the repository, the infrastructure and the trained model from the first commit.

Research & sources

The evidence behind this guide

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

  1. The federal government spends about 80% of its IT budget on operations and maintenance of existing systems rather than on development or modernization, with many critical systems being decades old. Source: U.S. Government Accountability Office (GAO) (2025) →
  2. Median SaaS spend reached $9,455 per employee, and organizations leave an average of 36% of their SaaS licenses unused. Source: Zylo (2026) →
  3. Deloitte's research found that digitally advanced small businesses experienced revenue growth nearly 4x as high as the prior year, were about 3x as likely to have exported, were nearly 3x as likely to have created new jobs, and were more than 3x as likely to have seen more sales inquiries in the last year. Source: Deloitte (research summarized by Google) (2017) →
  4. Salesforce's field-service research (State of Service / field service trends, survey of 5,500+ service professionals) found that 74% of mobile workers report increasing workloads and 47% say appointments don't go as planned due to customer miscommunication, unaccounted-for parts, or insufficient appointment lengths and travel times. (The separate claim that admin tasks consume ~30% of a technician's hours is NOT supported by the report - the seventh-edition data instead states technicians spend about 18% of working hours, ~7 hours/week, on admin, and only ~32% of time interacting with customers.). Source: Salesforce (2024) →
Drishti G. · Client Success Rep · Lucknow

Drishti works on the client success team, keeping accounts informed while their project is being built. Status updates, meeting notes, feedback collected and passed to the right person: unglamorous work that decides whether a client feels well handled. She writes about the client side of software delivery.

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 custom mortgage pipeline hedging software cost?
A decision layer built on top of a bought pricing engine, covering an event driven position, a pull through model, best execution and an exception ledger, runs $70,000 to $150,000 and ships in 10 to 16 weeks, based on Digital Heroes delivery experience. A full secondary desk platform with trade capture, margin call tracking and profit and loss attribution runs $200,000 to $500,000 over 8 to 14 months. The count of delivery outlets and whether you retain servicing move the number more than headcount does.
Should we replace Optimal Blue, or build around it?
Build around it in almost every case. Rate sheet generation, investor pricing ingestion and loan level pricing adjustment maintenance are a permanent maintenance treadmill, and no lender gains an edge by owning them. The edge is in the layer above: a pull through model trained on your own funded history, best execution restricted to the outlets you are actually approved for, and an exception ledger. Replacing the engine outright only makes sense when you originate products no third party engine prices properly.
Why does our hedge always lag our locks?
Because locks are events and hedge adjustments are a batch. The typical cycle pulls a position report late morning, exports it to a spreadsheet, applies fixed pull through assumptions and places a trade, after which repricing, extensions, renegotiations and fallout change the pipeline the report described. Making the position event driven so every lock and change updates the requirement immediately removes the structural lag, which is the single highest value change most desks can make.
How much history do we need before a pull through model is worth building?
Roughly 18 to 24 months of lock and funding history, and critically it must include the market level at the moment of lock so rate incentive can be reconstructed. Many loan origination systems never recorded that, in which case the first phase is capturing it going forward and reconstructing what can be reconstructed from archived rate sheets. Modelling on history that lacks rate incentive produces a number that looks sophisticated and behaves like the blended average you already had.
What does best execution miss if we use a vendor engine?
Usually three things: your actual investor approvals and delivery limits, the value of servicing when retained rather than released, and specified pool payups. A vendor engine compares public grids and generic delivery, so a low loan balance story or a geographic concentration that would earn payups over generic pass through delivery simply never appears in the comparison. Over a year those missed ticks are frequently larger than the cost of the build.
Does a lock desk exception ledger really matter that much?
It is the least glamorous feature in this category and often the one that pays for the project. Extensions, relocks, renegotiations and pricing exceptions are granted daily by phone and their cost is rarely attributed back to the loan, the branch or the originator who asked. Once every exception carries an amount, an approver and a link to the loan, the realised margin report by producer usually shows that a small group consumes most of the exception budget.
How does custom hedging software handle our accounting and audit requirements?
Interest rate lock commitments and forward sale commitments are carried at fair value, so the system has to store every mark with the inputs and the pricing source that produced it, not just the resulting number. Daily profit and loss should be attributed into position change, market move, pull through change and execution, which is also what makes an unexplained result investigable rather than a mystery. Auditors ask how each mark was derived, and that question is much easier to answer when the answer was designed in.
We originate $80 million a month. Is a custom build justified?
Probably not, and we would say so. At that volume with conventional agency product and best efforts delivery, a hedge advisory relationship such as MCT covers your risk for a fraction of a build, and the expertise is more valuable than the software. The build case starts around $200 million a month, or earlier if you retain servicing, originate non-QM or jumbo portfolio product, or your position report is a manual export that lags the market by hours.
Who owns the pull through model if an agency builds it for us?
You should, along with the repository, the infrastructure accounts and the training data, written into the contract before kickoff. Your funded loan history is the asset that makes the model work, and it must never live inside a vendor account you cannot control or export. At Digital Heroes the client owns the code and the trained model from the first commit. A developer who wants to retain the model is selling you a subscription you cannot leave.
How do we migrate years of spreadsheet or Airtable data into a new internal tool?
Migration is a standard part of the build, not a separate project: the agency writes import scripts that clean, deduplicate, and map your existing rows into the new database. On typical spreadsheet and Airtable histories, Digital Heroes budgets 3 to 10 extra days, most of it spent resolving inconsistencies like the same customer spelled four different ways. The safe sequence is a trial migration first, a review of flagged conflicts with your team, then final cutover over a weekend so nobody loses a working day.
Should we build our internal tool in Retool instead of hiring developers?
Retool is the right choice if someone on your team is comfortable with SQL and JavaScript and the audience is a handful of technical users, because a basic CRUD dashboard comes together in days. Hire developers when non-technical staff will use the tool daily, when the logic goes beyond forms sitting on a database, or when per-seat pricing stings, since Retool's Business tier lists at $50 per standard user per month. A pattern Digital Heroes sees often: companies arrive after a year on Retool with a tool nobody can maintain because the one person who built it has left.
What are the biggest mistakes first-time software buyers make?
Choosing the lowest bid, paying more than 30-40% upfront instead of on milestones, skipping a written specification, and having no maintenance plan for after launch. The most expensive of the four in Digital Heroes rescue projects is the missing spec: without written acceptance criteria, done becomes an argument instead of a checklist, and every disagreement resolves in the vendor's favor. Fix those four and you have avoided most of the ways these projects fail.
What should I prepare before contacting an agency about an internal tool?
Bring the spreadsheet or document you run the process on today, a list of everyone who touches the workflow and what each person does, and one sentence describing the outcome you want. You do not need wireframes or a technical spec; a 30-minute screen-share of the current process beats a 20-page requirements document. Decide your rough budget band and name a single internal decision-maker, because projects without one take noticeably longer in Digital Heroes experience.
What does an internal tool cost for a small business with 20 to 50 employees?
Plan on $5,000 to $15,000 for a focused tool that replaces one painful spreadsheet workflow, such as job scheduling, quoting, or PTO tracking. In Digital Heroes projects at this size, the sweet spot is one core workflow, two or three user roles, and a single integration, usually QuickBooks or Google Workspace. Quotes far below $5,000 usually mean a template with your logo on it rather than software built around your process.
How do I vet a software development agency before signing a contract?
Ask to speak with two past clients whose projects resemble yours in size and industry, and ask exactly who will write your code, since some agencies sell senior faces and deliver junior or subcontracted hands. Demand a written specification with acceptance criteria before any fixed price, and check that their portfolio links to products that are actually live. An instant quote given without questions about your workflows is the clearest warning sign there is.
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?