Polymarket Launches New Matching Engine Nex: What Changes Can We Expect in Future Trading?
Millisecond-level speed and deterministic matching have cleared the obstacles for automated trading.
Written by: Eric, Foresight News
On the evening of December 2, Beijing time, Josh Stevens, Vice President of Engineering at Polymarket, tweeted that the new matching engine Nex, rewritten in Rust, will be deployed from 14:00 to 16:00 on December 14, Beijing time. After deployment, there will be a 5-minute closing-only mode, followed by the official opening of trading.
On September 1 this year, Josh Stevens tweeted his frustrations with Polymarket's old matching engine. He stated that the old framework was filled with technical debt, and although they had made several improvements in scale and speed, it was still ineffective, often fixing one bug only to create another. Josh Stevens remarked that this "mountain of junk code" was beyond saving and needed to be rewritten.
In just three months, Polymarket's engineering team completed the development of the new Rust-based engine, Nex.
What Problems Does Nex Solve?
According to Josh Stevens, during internal sandbox testing, the p99 version's order placement time was reduced by 99.5% from 1392 milliseconds to 6.8 milliseconds, and the cancellation time was similarly reduced from 716 milliseconds to 3.9 milliseconds, with even faster speeds in the p99.9 version.
Beyond speed, Nex has increased throughput by a further 10 times. In stress tests with 450 market makers and traders in the sandbox, some submitted 30,000 orders per second with almost no delay. Additionally, order matching is completely deterministic, eliminating the random spikes and race conditions of the old system; WebSocket market data push has also significantly accelerated, with p99 version write latency reduced from tens of milliseconds to sub-millisecond levels.
The speed improvements are understandable, but the key issue is the random spikes and race conditions.
Race conditions occur when the system does not know which order to process first. Due to slower speeds, the old system struggled to distinguish between two orders with millisecond-level differences, leading to issues such as an order being filled even after it was canceled or two orders changing prices simultaneously causing state errors. This resulted in what is known as non-deterministic matching, where the results of matching orders could vary under different system loads.
This led to the same operation sometimes being smooth and other times stalling for 1 to 2 seconds, with cancellations sometimes taking effect immediately and other times lingering, making it impossible for traders to accurately predict the outcomes of their actions.
A crypto developer known as as required. expressed disappointment with Polymarket's infrastructure in a post earlier this year. They noted that Polymarket's off-chain order book was slower than many on-chain order books, and in a market that requires high speed for predicting price movements within 5 minutes, placing and confirming trades took several seconds. Furthermore, market makers had no priority for canceling orders and had to wait to be selected against, and even the market maker rewards offered by Polymarket often did not cover the risks.
In addition to speed issues, the stability problems caused by random spikes are even more critical. Random spikes refer to sudden high peaks that appear on a latency graph, where normal latency is a relatively smooth line, occasionally spiking up and then dropping back down. These spikes occur randomly, hence the term random spikes. This means that the previously mentioned uncertainty in transaction status and stalling does not only occur during peak times but can randomly happen at any time.
In the past, these issues might not have significantly affected casual players and traders, but for market makers and professional traders engaged in news trading, experiencing such issues even once could jeopardize the success of their previous ten trades.
What New Opportunities Will Nex Bring?
After Nex goes live, the biggest change is that trading can finally run smoothly with "brake-on".
The biggest beneficiaries will be the market makers. Before Nex, there were already many market makers on Polymarket, but as mentioned earlier, the market maker rewards provided by Polymarket often did not cover the risks of losses: cancellations frequently took hundreds of milliseconds, and if luck was bad, there could be sudden stalls of one or two seconds. Now that cancellations are stable to single-digit milliseconds, they can adjust prices more frequently, tighten spreads, and place deeper orders.
Previously, to protect market makers, Polymarket set a delay of about 150ms for crypto-related markets, with some sports market taker delays even reaching around 1 second, allowing the order submitters time to react and reducing the risk of being selected against by "faster information sources". Polymarket has also stated that it will decide whether to maintain this risk-reducing delay in the future based on the situation.
This is great news for markets predicting Bitcoin price movements within 5 or 10 minutes. With good speed and trading certainty, high-frequency market makers can treat these markets as contract markets, increasing cross-market arbitrage opportunities and simultaneously improving the trading depth for regular traders.
Moreover, trading in event-driven markets will also be smoother. Previously, when news broke, the system could experience random stalls due to sudden traffic spikes, causing many traders to execute the right trades but fail to complete them or receive poor execution prices. Nex improves the stability of order placements and cancellations, and market data push has also accelerated significantly, allowing algorithms to act immediately when signals appear without worrying about "the reaction is right, but the system is stuck".
Cross-market arbitrage works similarly. Whether it's the sum of YES+NO in the same market being below 1 or combinations between several related markets, the biggest risk previously was that one market executed while another market lagged due to delays or random spikes, exposing the position. Now that speed and certainty have improved, the situation of "just a little bit away from profit, resulting in one-sided exposure" will occur much less frequently, and small price differences can be pursued more confidently.
Similarly, arbitrage between prediction markets and contracts, as well as AI trading and news trading, will have higher certainty. Of course, don't expect prediction markets to suddenly become microsecond-level battlegrounds; the information dissemination speed in most markets is not that fast, and the existing taker delay on the platform may not be completely eliminated in the short term.
The trading tool focused on prediction markets, Assay.trade, stated that after Polymarket speeds up, the price differences that could previously be captured by "slowness" will be quickly eliminated by bots. Manual arbitrage will become more challenging, and professional automation will have a greater advantage. However, if the hedging side does not speed up, the overall arbitrage experience will not completely turn into "second-level risk-free".
A faster engine will attract more professional capital, potentially narrowing spreads further, and the marginal advantage of simply being "faster than others" will diminish. However, things that were previously difficult to sustain due to system unreliability can now be done well, leading to better market quality, greater survival space for market making and algorithms, and the most direct feeling for regular traders will be more stable transactions and lower hidden costs.
-- Price
This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.
You may also like

BitGo CEO challenges Big Tech claims of secret US cryptography briefing

Bank of Japan Plans Third Rate Hike This Year to 1.5%

The Quality of Founders' Decision-Making Determines the Upper Limit: Why Robinhood Considers Building a Public Chain as a Core Strategy?

Just 326 wallets accounted for 85% of the cbBTC seized in one Morpho market

Are High Dividends from Major U.S. Companies Tempting, and Can Their Dividend-Paying Ability Withstand the Test?

AMD and Nvidia Are 2 of the Leading AI Chip Companies. Here's the One I'd Invest in Today

Bitcoin: An Inactive Address for 17 Years Transfers 50 BTC to a New Wallet

Dogecoin Co-Founder Explains Why This Bitcoin Crash Is Different from Previous Ones

Bitcoin Creator Predicted Attack on BTC in 2010. Left an Emergency Plan

Fidelity Research Shows: 3 Reasons Why 2027 Could Be a Good Year for the Stock Market

Redwire Trades Near $7 After a 76% Drop. Could It Be a 10-Bagger by 2030?

Crypto: Mark Karpelès Suspects a Single Hacker Behind the Compromised Wallets

AI is Changing the Labor Market Even If It Hasn't Eliminated Jobs

This Power Producer Sells Electricity Straight to AI Data Centers. Here's the Catch.

Are Bitcoins Leaving Satoshi's Wallet? No, but Something Very Interesting is Hidden in the Transaction

Got $10,000? 2 Unstoppable Growth Stocks Building the Artificial Intelligence (AI) Memory Supercycle.

Prediction: $5,000 Invested in Nu Stock Will Be Worth This Much in 2030

Netflix vs. Amazon: Which Stock Holds Up Better If Streaming Growth Keeps Slowing?

Bitcoin Block 30178 Reward Transfer, Suspected OG Miner Migration Pattern

Dutch Bros' Loyalty Program Now Drives 74% of Visits

Why Are Insurance Giants Choosing to Sit on the Sidelines Amid the Tokenization Craze?

Why is the market panicking when Bitcoin hasn't been proven to be hacked?

Willy Woo Sells 80% of Bitcoin Holdings, Plans to Decide on Remaining Next Week

One $9.91M Bitcoin trade reshaped the NFT market’s week

Worried About an AI Bubble? This Is How Long It Took for Dot-Com Stocks to Recover.

How Long Can the High Premium of Bitcoin Treasury Last After Leaving a 15% Selling Margin?

NVIDIA's CUDA Open-Sourced on GitHub Amidst Storm

How Bitwise plans to handle redemptions with 99.99% of its Solana ETF assets staked

Weekly Highlights | Quantum Panic Forces Anti-Quantum Migration, ETF Bloodletting and Leverage Accidents Test the Market, AI and Tokenized Stocks Race Ahead












