Skip to the content
MMF

/ Writing

Two of us built a whole carbon exchange, end to end. The engineering was great. Nobody wanted to use it.

← Writing ·

Two of us built a whole exchange for carbon credits: a FIX order gateway, a matching engine, an order book in Redis, the infrastructure and the front end. It worked, and we were really proud of it. Nobody wanted to use it.

Why we started

It started as an excuse. We wanted a live project: something real and end to end, not more theory. Low Carbon Trade was a trading platform for the voluntary carbon market, where companies and people buy credits to offset their emissions.

It didn’t start as an exchange. The first idea was a crowdfunding platform on a blockchain, and the first thing we built was the chain itself, on Cosmos SDK. The exchange came after.

The only money we raised was around 10k in cloud credits, from a pitching competition.

What we built

This was before AI coding tools, so we built every piece ourselves:

  • The order gateway. Clients connected over TCP and sent orders in FIX, the message format exchanges and brokers use.
  • The trading engine. Each order arrived as a message, was matched against the book, and produced execution reports. Those flowed on to the services that stored customers’ orders and assets and published market updates.
  • The order book in Redis, my favourite part. Each instrument had one sorted set per side, with the price as the score, and each price level held a queue of order ids, so orders at the same price filled first come, first served. A lock per instrument stopped two orders from taking the same liquidity at once.
  • The infrastructure. All of it in Terraform on AWS, with CI on GitHub Actions, and later Kubernetes with Helm and Argo CD.

It was hard, and we still followed good patterns throughout: infrastructure as code, tests, pre-commit hooks, shared workflows. Getting all of that together with two people in so little time is the thing I’m proudest of. Looking back, with AI most of it would have been so much easier.

What went wrong

The timing. Trump came to power, AI took everyone’s attention, and the environment stopped being a priority.

The mistake was ours, though: we didn’t see that trend, and we kept building instead of pivoting. We focused on the engineering and not on finding market fit. We built something nobody wanted to use, no matter how cool it was.

What I’d do differently

Build less. Ask more, and talk to people more. And when the market moves, pivot straight away.

What it gave me

It wasn’t all a waste. It got me started in the trading world. It was a good experience. I just wish it hadn’t taken us so long to pivot, but it was our first startup.