What this covers

Patrick interviews Doug, who worked in Citadel's high-frequency group before building the exchange CrocSwap. The first stretch covers traditional market plumbing. Doug explains why HFT is such a dependable business: a 51% edge per trade, repeated 10,000 to 100,000 times a day, makes daily results predictable. Some of the most profitable strategies take liquidity, such as trading on the lead-lag between Chicago S&P futures and stocks on NYSE and NASDAQ. He also covers the distributed-systems problem of mistaking your own resting order for a competitor's, and the latency habit of hot path and cold path optimization.

The middle of the conversation moves to DeFi. Doug walks through the mechanics of an automated market maker (AMM)) and the constant product market maker, which spreads capital across every price from zero to infinity. Curve's refinement for pegged assets gets a mention, as do the square-root exposure of liquidity providers and their position as the short side of impermanent loss. He also describes how SushiSwap took roughly half of Uniswap's share by cloning its code and paying token incentives. The more contested claims are that limit order books shut out small providers, and that flash crashes persist because automated quoting is undemocratic. Doug also argues that unmet dollar demand in Brazil, Turkey and Nigeria could push DeFi toward riskier algorithmic stablecoins. MEV is compared to HFT as a precision-sequencing game.

The last section turns to the single contract DEX. Doug describes how it cuts the gas fees of moving liquidity between fee tiers, avoids tax events on intermediate tokens in swaps, and makes margin and cross-margin trading practical.

Sharpest takeaway

Colkitt argues that market infrastructure, including the order book, AMMs, gas costs, and token design, determines who can provide liquidity, and that single-contract DEX architecture removes frictions that currently keep DeFi from matching the efficiency of mature electronic markets.

  • HFT profits come from many small statistical edges repeated at high frequency, so reliability depends on infrastructure and volume rather than on any single trade
  • AMMs opened liquidity provision to small participants and long-tail assets, but LPs bear toxic flow and impermanent loss, and gas costs make active quoting uneconomic on multi-contract DEXs
  • Single-contract DEX architecture nets positions internally, cutting gas costs by 50% or more for liquidity providers and enabling margin and cross-margin trading

The claims · ranked64 claims · weighted by value

This asset isn't compiled yet

You're seeing its claims, ranked. Compile it to build the argument threads, weight them, and check each claim against your library — the full view.

0.89

An AMM liquidity provider has a square-root exposure to the price ratio of its two assets, so if one asset quadruples the LP gets roughly double, and the LP is effectively short impermanent loss, betting that the asset ratio stays stable.

causalhigh valueestablishednovelty 4/4durability 4/4· Doug

“the function instead of having a linear exposure to the underlying assets, a square root exposure. So the price of Bitcoin quadruples... You might only get 2 X that return”

0.86

An HFT firm can be profitable every day even with only a 51% edge per trade, because executing 10,000 to 100,000 trades a day lets the law of large numbers make the aggregate outcome highly predictable.

causalhigh valueestablishednovelty 3/4durability 4/4· Doug

“They're making money on 51% of their trades, but doing 10,000, 100,000 trades a day. Statistically, the law of large numbers says that, okay, it's going to be very predictable when you execute at that size.”

0.83

CrocSwap uses a hot path and cold path design borrowed from HFT, optimizing the 99 percent case even if the rare 1 percent case becomes much slower, because that is a favorable tradeoff for latency and gas.

normativehigh valueestablishednovelty 3/4durability 4/4· Doug

“if I can make this 10% faster at the cost of making the 1% case two times slower, that's a great trade off to make.”

0.83

MEV stands for Miner Extractable Value, and it originally arose because traders could predict how miners order transactions, such as by gas price first and arrival time as a tiebreaker, and profit by placing their trades before or after others.

definitionhigh valueestablishednovelty 3/4durability 4/4· Doug

“MEV actually stands for Miner Extractable Value... We always include the highest gas cost thing first and then if there's a tie, we include whatever we see first.”

0.83

Engineering for low latency means optimizing the common operation even if the rare case becomes slower; making the 99 percent case 10 percent faster at the cost of a 1 percent case being twice as slow is a good trade.

normativehigh valueestablishednovelty 3/4durability 4/4· Doug

“if I can make this 10% faster at the cost of making the 1% case two times slow, that's a great trade off to make.”

0.81

Some of the most profitable HFT strategies are liquidity takers that pay the spread to trade immediately, exploiting lead-lag relationships such as S&P index futures in Chicago moving before the underlying stocks trade on NYSE and NASDAQ.

causalhigh valueestablishednovelty 3/4durability 3/4· Doug

“some of the most profitable HFT strategies are quite the opposite, liquidity takers... if you have a very fast connection to Chicago, the index futures are much more liquid. The stocks tend to move along with them”

0.81

SushiSwap cloned Uniswap's code and offered large token incentives for migrating liquidity overnight, capturing roughly 50 percent of Uniswap's market share in a single move before Uniswap had a token.

factualhigh valueestablishednovelty 3/4durability 3/4· Doug

“They cloned Uniswap... overnight they stole almost 50% of Uniswap's market share with that scheme.”

0.81

Because every blockchain action costs gas, an HFT-style strategy that cancels 99 percent of its orders would require around 100 on-chain transactions per executed trade, which is incompatible with high gas costs.

causalhigh valueestablishednovelty 3/4durability 3/4· Doug

“Literally you might cancel 99% of your orders, so that means to do one trade, I have to do a hundred different actions, a hundred different transactions.”

0.81

Because all collateral sits in one contract, a single-contract DEX makes it far easier to offer margin and cross-margin trading, which DeFi has lacked because capital was fragmented across thousands of contracts.

causalhigh valueestablishednovelty 3/4durability 3/4· Doug

“once you have a single contract Dex, all the capitals at a single place... cross margin people between markets.”

0.80

Liquidity matters because without a continuous market, counterparties cannot judge the fair price or normal size of a trade, so large off-hours trades look suspicious and are costly, and once price discovery breaks it is hard to restore.

causalhigh valueestablishednovelty 2/4durability 4/4· Doug

“if there's no kind of market, because you don't know, okay, what does this guy know that I don't know... Liquidity is important, right, because it kind of generates this continuous price over time.”

0.78

On a multi-contract DEX, moving liquidity from one fee tier to another requires burning the position, returning tokens, and re-depositing them into a different pool contract, costing substantial gas and creating taxable events on each transfer.

factualhigh valueestablishednovelty 3/4durability 3/4· Doug

“every pool is a different smart contract... I have to take my liquidity out of the higher pool, burn my position... That constitutes a lot of gas costs to transfer those tokens.”

0.78

Because order confirmations and market data feeds arrive through separate systems in no guaranteed order, an HFT firm can mistake its own resting order for a competitor's and feed back into bidding against itself, making it a distributed systems problem.

causalhigh valueestablishednovelty 3/4durability 3/4· Doug

“Maybe you get into a dumb feedback loop, trading against yourself... it's almost like a distributed systems problem from computer science.”

0.78

Cross-margin would improve price efficiency because specialized traders who short one correlated asset and go long another use a lot of leverage but take little net risk, so allowing them to lever those spreads brings prices back into line.

causalhigh valueestablishednovelty 3/4durability 3/4· Doug

“they might use a lot of capital to bring those two things back in line, but they're not taking that much risk. So, it makes sense for the market to enable them”

0.78

MEV strategies such as front-running large trades or arbitraging price gaps between two DEXs are conceptually similar to HFT, since both reward investment in very precise execution and sequencing.

causalhigh valueestablishednovelty 3/4durability 3/4· Doug

“I think of them both as strategies where people who invest a lot in very, very high precision of how their trades or their transactions are executed earn these outsized profits.”

0.76

Market makers quote wider or demand more pay when order flow is one-directional and informed, because they tend to get filled on the side that is about to lose value, a phenomenon called toxicity.

causalhigh valueestablishednovelty 2/4durability 4/4· Doug

“If there's bad news on, say, Microsoft tomorrow, there's going to be a big rush to sell Microsoft. So if you're just the market maker, put your orders out there... your buy orders are going to get filled a lot sooner than your sell orders.”

0.74

At horizons of around 100 milliseconds, the only informative data is the order book, the order flow rate, and prices of related securities, since news and other fundamental information do not change that quickly.

factualhigh valueestablishednovelty 3/4durability 3/4· Doug

“The news doesn't come out every 100 milliseconds... All that really happens at that frequency is orders come in, the book changes and other stocks move.”

0.74

Curve improved on the constant product design for pegged assets like USDC and USDT by using a curve that behaves as if the pool held more capital than it does, which works because the price rarely deviates from the peg.

factualhigh valueestablishednovelty 3/4durability 3/4· Doug

“Same idea, the same curve, but it kind of pretends, oh, we have more capital than we do, but that's fine because the price never deviates too much.”

0.74

AMM liquidity providers earn their pro rata share of a fixed percentage fee on every trade, but they are systematically on the wrong side of trades, selling the appreciating asset to traders as its relative price rises.

causalhigh valueestablishednovelty 3/4durability 3/4· Doug

“You earn a yield because as a contributor of capital to that pool, you receive your Pro rata share of the fees that the pool generates.”

0.73

Flash crashes happen because HFT firms that hold little inventory pull their quotes once filled one way, and no one with automated quoting infrastructure steps in because access to that role is undemocratic.

causalhigh valuecontestednovelty 3/4durability 3/4· Doug

“they don't hold huge inventory. So when they get completely filled in one direction, there's no quotes left and nobody's invested in the infrastructure to quote automatically.”

0.73

Traditional limit order books lock out small participants who cannot fund a trading firm, whereas AMMs let anyone deposit capital that is balanced automatically, which works well for long-tail assets that trade only a few times a day.

normativehigh valuecontestednovelty 3/4durability 3/4· Doug

“maybe the problem with limit ordered books is they kind of lock out somebody who just wants to come in and say, I want to provide liquidity.”

0.73

Limit order books effectively exclude small participants who would provide liquidity with modest capital, because professional market making requires heavy infrastructure, so there is no on-ramp for a retail provider with $10,000.

causalhigh valuecontestednovelty 3/4durability 3/4· Doug

“maybe the problem with limit ordered books is they kind of lock out somebody who just wants to come in and say, I want to provide liquidity... I don't have 10 million to go set up a trading firm in Chicago.”

0.73

Strong demand for dollar-denominated assets in middle-income countries like Brazil, Turkey, and Nigeria, where people lack access to the dollar banking system, is pushing DeFi toward riskier under-collateralized algorithmic stablecoins if that demand is not satisfied.

causalhigh valuecontestednovelty 3/4durability 3/4· Doug

“if that demand's not satisfied, people are going to keep doing riskier and riskier things to generate synthetic stable coins.”

0.73

A constant product AMM spreads liquidity across all prices from zero to infinity, which is capital inefficient for assets whose prices stay in a narrow band, such as dollar stablecoins pegged near one dollar.

factualhigh valueestablishednovelty 2/4durability 4/4· Doug

“Where that falls down is it's not that capital efficient... It has to be able to support any price from zero to infinity”

0.72

Swapping one token for another through an intermediary pool such as ETH can trigger a taxable event on the unrelated intermediate asset, because the router sends that token to the user, creating deleterious tax consequences.

factualhigh valuecontestednovelty 4/4durability 3/4· Doug

“you're receiving Eth from the pool, which has nothing to do with your trade... You have a taxable event in Eth”

0.70

Automated market makers have succeeded in illiquid, long-tail assets because professional market making is too high-touch to justify for tokens that trade only a few times a day, while a self-balancing pool needs no professional provider.

causalhigh valuecontestednovelty 3/4durability 3/4· Doug

“they've done very, very well on is less liquid, longer tail of assets... some name that might only trade like a few times a day is just too much to kind of maintain.”

0.70

Concentrated liquidity, where LPs choose a price range, will likely produce better price discovery and better liquidity than classic AMMs for more liquid assets, though tooling for managing positions is still immature.

forecasthigh valuecontestednovelty 3/4durability 3/4· Doug

“I'm pretty bullish on concentrated liquidity in terms of, I think price discovery is better... ultimately liquidity will be better than the classical AMF for a lot of cases.”

0.69

On a 0.3 percent Uniswap pool, about 0.25 percent of fees go to liquidity providers and 0.05 percent is earmarked as protocol fees for UNI holders, though the protocol fee switch had not yet been turned on at the time.

factualhigh valueestablishednovelty 3/4durability 2/4· Doug

“So it's usually one six is the take rate. 0.25 Bitcoin will go to reward the people in the pool, and 0.05 Bitcoin will go to quote unquote protocol fees”

0.69

Ethereum caps the size of any smart contract at roughly 24 kilobytes, which forced CrocSwap's engineers to use aggressive compression tricks to fit a single-contract exchange under that limit.

factualhigh valueestablishednovelty 3/4durability 2/4· Doug

“Ethereum basically imposes a limit on how big any single contract can be... So it says like 24 kilobytes.”

0.69

Within five to ten years, real-world assets such as a tokenized Tesla stock will likely trade on DeFi exchanges, giving global access to capital markets especially for residents of middle-income countries.

forecasthigh valuecontestednovelty 3/4durability 2/4· Doug

“five, 10 years, there's going to start being real assets start trading on DeFi... There's no reason we can't have a Tesla token”

0.61

In a single-contract DEX, all pools share one contract, so an LP can move a position from one fee tier to another internally without burning and re-transferring tokens, letting quotes be adjusted many times per second.

causalhigh valuespeaker onlynovelty 4/4durability 3/4· Doug

“With single contract DEX you don't need to do that because pools themselves live on the same contract.”

0.58

CrocSwap's sponsored pools would let a centralized exchange such as Binance create permissioned pools subject to token-holder approval, so it can show DeFi liquidity on its own order book while users never touch a wallet.

forecasthigh valuespeaker onlynovelty 4/4durability 2/4· Doug

“they can create a Binance pool subject to the approval of the CrocSwap token holders... they don't necessarily have to have their own wallet.”

0.57

Uniswap V3 concentrated positions often go out of range and are forgotten, but LPs remain exposed to toxic flow, because moving positions is so expensive on the blockchain that the active price discovery designers hoped for has not materialized.

causalhigh valuespeaker onlynovelty 3/4durability 3/4· Doug

“the positions go out of range and then they forget about it... you're still exposed to that toxicity effect”

0.57

In a roughly 100,000-line HFT codebase, the glamorous strategy logic accounts for only about 10 to 15 percent, while most effort goes to data feeds, order tracking, and book reconstruction.

factualhigh valuespeaker onlynovelty 3/4durability 3/4· Doug

“The actual strategy side, the glamorous side of it is maybe 10% of it. Maybe 15% of it.”

0.57

MEV is best addressed by building better front-end and interface design that prevents users from making exploitable transactions, since existing anti-front-running algorithms are not built into the application layer.

normativehigh valuespeaker onlynovelty 3/4durability 3/4· Doug

“a lot of the way to fix it is build better systems on the front end to stop users from making bad decisions that can be exploited in the first place.”

0.54

HFT Sharpe ratios near 30 make percentage returns almost irrelevant, because capacity constraints are the binding limit and firms optimize for revenue sufficient to cover a small team and infrastructure costs, much like a grocery store.

factualhigh valuespeaker onlynovelty 3/4durability 3/4· Doug

“capacity constraints are by far the biggest limit... It's like running a grocery store. The grocery stores aren't thinking about their sharp ratio.”

0.54

LPs who set concentrated positions and forget them remain exposed to toxic flow even when the position is out of range, because the market can move through the order and fill them in the wrong direction.

causalhigh valuespeaker onlynovelty 3/4durability 3/4· Doug

“even if it's away, market moves through me, I can get filled in the wrong direction.”

0.54

A market needs both retail and institutional participants, since retail alone lacks the skill to provide liquidity and institutions alone will not trade among themselves, so a DEX must serve everyone rather than one segment.

normativeestablishednovelty 2/4durability 4/4· Doug

“if you only have retail trading, you're not going to have any liquidity... two trading firms don't want to trade against each other all day. They want to trade against retail.”

0.53

A single-contract DEX that nets positions internally can cut gas costs by more than 50 percent for liquidity providers, and by up to 70 percent when they frequently move quotes, while active traders save 20 to 25 percent.

forecasthigh valuespeaker onlynovelty 3/4durability 2/4· Doug

“10 to 20% lower... over 50% reduction on the gas fees and in some cases as much as 70%”

0.52

A DEX native token works like equity, entitling holders to a share of protocol fee revenue and governance rights such as voting on fee tiers, which Uniswap token holders used to approve a 0.01 percent fee pool.

definitionhigh valuespeaker onlynovelty 2/4durability 3/4· Doug

“Native token is almost shares in the company... they entitle you to revenue generated by the protocol... they give you governance.”

0.52

Native token rewards for early users align incentives because early participants build the network effect, just as early Facebook users created enormous value by moving the network from zero to millions.

normativehigh valuespeaker onlynovelty 2/4durability 3/4· Doug

“native token rewards for your early users align incentives because they are building that network”

0.52

Asset holders approaching DeFi as an income product should not compare headline APYs across pools, because pools differ in risk exposures such as impermanent loss, and the space needs better tooling and common risk language.

normativehigh valuespeaker onlynovelty 2/4durability 3/4· Doug

“a lot of people take the simplistic view, "Okay. Here, let me just look at my APYs, my yields on like every single pool"”

0.51

Some DeFi protocols allow governance rights to be stripped from cash-flow rights, creating a market in which voting power is sold separately, as seen with Curve tokens used to direct liquidity incentives.

factualhigh valuespeaker onlynovelty 3/4durability 2/4· Doug

“people have created tokens that strip the voting rights away from the cash flow... there's this whole market where people stripped out voting rights on Curve token”

0.45

Unlike traditional asset management, where a failing strategy may take months or years to reveal itself, an HFT strategy can be tested and switched off within about 30 minutes, which makes failure cheap to detect.

factualestablishednovelty 2/4durability 3/4· Doug

“HFT, you can turn it on, and you'll say, 'Okay.' ... 'Okay, this doesn't work. I got to turn it off.'”

0.45

Most trading in both traditional and crypto markets is for expressing price views rather than taking delivery of the underlying, and crypto perpetuals now dominate volume because they allow exposure without delivery.

factualestablishednovelty 2/4durability 3/4· Doug

“most of the trading at any given time isn't trading because people actually like need that asset... Crypto markets, you can kind of see these perpetuals... have taken over a lot of the market share”

0.44

The term impermanent loss may be a poor marketing label because the loss only reverses if the price returns to its original level, so calling it impermanent can hide that the loss becomes permanent if the price does not come back.

normativecontestednovelty 2/4durability 3/4· Doug

“some people think maybe that's not a great marketing term because maybe it hides the fact that yeah, you could lose out on that if it doesn't move back.”

0.44

Uniswap's permissionless design, where anyone can create a pool without exchange approval, unlocked demand for long-tail tokens that centralized exchanges would not list, and DeFi volume grew by over 1000 percent in roughly a year.

factualestablishednovelty 2/4durability 2/4· Doug

“the whole space is grown probably more than 1000% in just the past year or so... So it was kind of revolutionary in the sense that what Uniswap did and this whole space did, is permissionless.”

0.42

Exchange market data feeds are optimized for speed rather than consumption, so missing a single message forces a full regeneration of the local order book, making data integrity a major engineering burden.

factualestablishednovelty 2/4durability 3/4· Doug

“The data feeds from the exchanges are not optimized to be easy to consume. They're optimized to be fast... You miss a message, there's a whole process to regenerate, and it's bad.”

0.42

HFT firms care about market and price formation more than the underlying businesses, so a trader can make money in stocks whose symbols and business they do not know.

factualestablishednovelty 2/4durability 3/4· Doug

“you don't necessarily care about the underlying stocks, so much as you care about the market and price formation.”

0.40

A liquidity provider in an AMM earns yield as a pro-rata share of the trading fees the pool collects, typically a fixed percentage such as 0.1 to 0.3 percent charged on each trade.

factualestablishednovelty 1/4durability 4/4· Doug

“You earn a yield because as a contributor of capital to that pool, you receive your Pro rata share of the fees that the pool generates.”

0.40

DeFi's composability, often called Lego blocks for money, is one of the ecosystem's biggest advantages because it lets builders combine protocols rather than having one system take over and exclude others.

normativeestablishednovelty 1/4durability 4/4· Doug

“people call it Lego blocks for money. So, it's very composable and I think that's been one of the biggest advantages of the ecosystem”

0.40

The limit order book's major advance over the dealer system is transparency and a predefined priority rule for matching, so everyone can see the orders and know in advance who gets filled.

factualestablishednovelty 1/4durability 4/4· Doug

“One of the biggest advances with the limit order book, it's very transparent. Here are all the orders. Everyone can see them.”

0.40

In a constant product AMM, a trade shifts the reserve ratio so that the price of the asset being bought rises, with the pool holding the product of its two reserves constant, so price is set entirely by the balance of assets in the pool.

definitionestablishednovelty 1/4durability 4/4· Doug

“The price is just adjusting based on the ratio of the assets in it and it's always just keeping that product the same.”

0.39

Market makers must monitor order flow at micro and macro levels and adjust quotes and demand higher compensation when flow looks abnormal, because unusual one-way flow signals elevated risk.

normativeestablishednovelty 1/4durability 3/4· Doug

“There's way too much flow this way. That doesn't look like a normal market. I need to adjust my quotes.”

0.38

DeFi protocols distribute tokens to their community through airdrops to past users and liquidity mining rewards that pay native tokens to liquidity providers, analogous to a NASDAQ market maker being paid in exchange shares each day.

factualestablishednovelty 1/4durability 2/4· Doug

“most protocols now do something called liquidity mining rewards... you're also receiving native tokens for providing liquidity.”

0.35

Liquidity is scarcer and more expensive right after markets open, which is one reason 24/7 market proposals are debated.

factualestablishednovelty 1/4durability 3/4· Doug

“you look in the markets, in the mornings, when they open, liquidity is always a lot less.”

0.33

Backtesting an HFT strategy is difficult enough that a realistic simulator essentially requires building the whole exchange yourself.

factualspeaker onlynovelty 3/4durability 3/4· Doug

“you almost have to build the entire exchange yourself so you can run it”

0.33

Blockchain scalability is doubling every 12 to 24 months in a Moore's-law-like pattern, so technologies that look like toys today can soon replace legacy financial systems.

forecastcontestednovelty 2/4durability 2/4· Doug

“the scalability doubles, 12 months, 18 months, 24 months. So, it's a lot like Moore's law that way.”

0.32

Letting traders hold collateral inside the DEX, with positions settled at the end of the day like NASDAQ, avoids sending tokens back and forth for every trade, reducing costs for high-frequency activity.

causalspeaker onlynovelty 2/4durability 3/4· Doug

“can you hold the balance for me? Don't bother transferring the tokens. I'll take the tokens out at the end of the day. We'll settle up.”

0.30

Under US Reg NMS, a better quote on another venue must be routed to, so a DeFi exchange could in principle obtain protected quote status under the same rules.

forecastspeaker onlynovelty 3/4durability 2/4· Doug

“There's no reason you can't have a DeFi exchange that's also eligible for protected quote status”

0.29

Doug credits his entrepreneurial father for encouraging him to build something himself rather than follow existing paths.

factualspeaker onlynovelty 0/4durability 4/4· Doug

“my dad was always an entrepreneur growing up”

0.26

Although Solana supports full limit order books with higher throughput, Ethereum still hosts an estimated 90 to 95 percent of organic DeFi user activity, which limits the reach of Solana-based DEXs.

factualspeaker onlynovelty 2/4durability 2/4· Doug

“the problem is you're not interfacing with Ethereum where maybe 90, 95% of the organic user activity is”

0.26

Doug estimates US equity HFT capacity at a few billion dollars a year, with a broader range of $2 to $20 billion depending on how far the horizon extends toward statistical arbitrage such as Renaissance's Medallion fund, which may run over $5 billion alone.

factualspeaker onlynovelty 2/4durability 2/4· Doug

“maybe a few billion a year for US equities... they might do over $5 billion, just one fund. So depending how you define it, it could be anywhere from $2 to $20 billion”

0.26

If demand for a digital dollar is overwhelming, the same motives that drive it will drive demand for other tokenized assets, substantially enlarging the addressable market for blockchains.

forecastspeaker onlynovelty 2/4durability 2/4· Patrick

“If there's overwhelming demand for effectively a digital dollar, that's probably going to be demand for digital everything.”

0.21

Critics argue that top quantitative talent at trading firms could instead be solving problems such as curing restless leg syndrome, a critique Doug says misses the value liquidity provides.

factualspeaker onlynovelty 1/4durability 2/4· Doug

“why are all these rocket scientists working for trading firms? They could be curing restless leg syndrome instead”