Polymarket New Rules Released: How to Build a New Trading Bot

marsbitXuất bản vào 2026-02-25Cập nhật gần nhất vào 2026-02-25

Tóm tắt

Polymarket has removed the 500ms taker delay and introduced dynamic taker fees, rendering many existing trading bots obsolete. The new meta shifts advantage from taker arbitrage to market making. A profitable bot in 2026 must be a maker bot, leveraging zero fees and USDC rebates. Key requirements include using WebSocket (not REST), fee-aware order signing with the `feeRateBps` field, and a sub-100ms cancel/replace loop to avoid adverse selection. The architecture involves connecting to the CLOB, querying fee rates per market, and placing maker orders on both YES/NO sides. For 5-minute BTC markets, a deterministic strategy involves placing maker orders at $0.90–0.95 with 10 seconds remaining, capitalizing on ~85% directional certainty. Critical mistakes to avoid are using REST, omitting feeRateBps, high-latency infrastructure, and outdated taker strategies. AI can assist in implementation, but must be guided by the new technical constraints.

Editor's Note: Polymarket removed the 500ms delay without prior announcement and introduced dynamic fees, instantly rendering a large number of existing bots obsolete overnight. This article systematically outlines the correct way to build trading bots under these new rules, providing a clear and actionable path—from the fee mechanism and order signing to market-making logic and low-latency architecture.

After publication, the article garnered 1.1M views, sparking widespread discussion. Under Polymarket's new rules, the advantage is shifting from taker arbitrage to long-term structures centered around market making and liquidity provision.

Original text below:

Polymarket Quietly Removed the 500ms Delay

Here’s the clear explanation: How to build a bot that actually runs and makes money under the new rules.

Two days ago, Polymarket removed the 500ms taker quote delay in crypto markets. No announcement, no warning. Overnight, half the bots on the platform stopped working. But at the same time, this created the biggest opportunity window for new bots since Polymarket launched.

Today I will explain in detail: How to build a bot that still works under the new rules.

Because every solution you saw before February 18th is now outdated.

If you ask an AI model to write Polymarket bot code for you right now, it will give you a solution based on the old rules: REST polling, no fee handling, completely unaware the 500ms buffer is gone.

Such a bot will lose money from the very first trade.

Let me explain: What exactly changed, and how to redesign your bot around these changes.

What Changed?

Three key changes happened over the past two months:

1. The 500ms Taker Delay Was Removed (February 18, 2026)

Previously, all taker orders waited 500ms before execution. Market makers relied on this buffer time to cancel "stale" quotes, which was almost like free insurance.

Now it's different. Taker orders execute immediately, with no cancellation window.

2. Dynamic Taker Fees Introduced in Crypto Markets (January 2026)

15-minute and 5-minute crypto markets now charge taker fees. The formula is: Fee = C × 0.25 × (p × (1 - p))²

Peak fee: ~1.56% around 50% probability

Fee approaches 0 in extreme probability ranges (near 0 or 1)

Remember that bot that arbitraged the price delay between Binance and Polymarket, making $515,000 in a month with a 99% win rate?

That strategy is completely dead. Because the fee alone is now higher than the arbitrageable spread.

What is the New Meta?

In one sentence: Be a maker, not a taker.

The reasons are simple:

· Makers pay no fees

· Makers earn daily USDC rebates (subsidized by taker fees)

· With the 500ms delay gone, maker order execution is actually faster

The top bots now profit just from rebates, without even needing the spread. If you're still running a taker bot, you're facing a constantly rising fee curve. Around 50% probability, you need at least a 1.56% edge just to break even.

Good luck.

So, How Should a Truly Viable 2026 Bot Be Built?

Here is a design思路 (design approach) for a bot architecture that remains effective in 2026:

Core Components:

1. Use WebSocket, Not REST

REST polling is completely obsolete. By the time your HTTP request completes a round trip, the opportunity is long gone. You need a real-time order book data stream based on WebSocket, not intermittent pulling.

2. Fee-Aware Order Signing

This is a new requirement that didn't exist before. Now, the feeRateBps field must be included in the payload of the order you sign. If you omit this field, orders will be outright rejected in markets where fees are enabled.

3. Ultra-Fast Cancel/Replace Loop

With the 500ms buffer removed: If your cancel-replace process takes over 200ms, you will suffer from adverse selection. Others will snatch your stale quotes before you can update them.

How to Build It

1. Get Your Private Key

Use the same private key you use to log in to Polymarket (EOA / MetaMask / Hardware Wallet)

export POLYMARKET_PRIVATE_KEY="0xyour_private_key_here"

2. Set Up Approvals (One-Time Operation)

Before Polymarket can execute your trades, you need to approve the following contracts: USDC, Conditional Tokens.

This only needs to be done once per wallet.

3. Connect to the CLOB (Central Limit Order Book)

The official Python client can be used directly: pip install py-clob-client

However, there are now faster options in the Rust ecosystem:

· polyfill-rs (Hot path zero-allocation, SIMD JSON parsing, ~21% performance boost)

· polymarket-client-sdk (Official Polymarket Rust SDK)

· polymarket-hft (Complete HFT framework, integrates CLOB + WebSocket)

Which one you choose isn't critical; the key is to pick the one you can get up and running the fastest.

4. Query the Fee Rate Before Placing Every Order

GET /fee-rate?tokenID={token_id}

Never hardcode fees.
Fees vary by market, and Polymarket can adjust them at any time.

5. Include the Fee Field in Order Signing

When signing the order, the fee field must be written into the payload. Missing this will cause the order to be rejected in fee-enabled markets.

{
"salt": "...",
"maker": "0x...",
"signer": "0x...",
"taker": "0x...",
"tokenId": "...",
"makerAmount": "50000000",
"takerAmount": "100000000",
"feeRateBps": "150"
}

The CLOB will validate your order signature based on feeRateBps. If the fee rate in the signature doesn't match the current actual rate, the order will be rejected outright.

If you use the official SDK (Python or Rust), this logic is handled automatically; but if you implement the signing logic yourself, you must handle this, otherwise the order simply won't go through.

6. Place Maker Orders on Both Sides (Bid and Ask)

Provide liquidity to the market by placing limit orders: On both YES and NO tokens; Place both BUY and SELL orders. This is the core way you earn rebates.

7. Run a Cancel/Replace Loop

You need to monitor simultaneously: External price feeds (e.g., Binance WebSocket); Your current open orders on Polymarket.

Once the price changes: Immediately cancel outdated quotes; Re-place orders at the new price. The goal: Keep the entire cycle under 100ms.

Special Note on 5-Minute Markets

The 5-minute cycle BTC up/down markets are deterministic.

You can directly calculate the specific market just from the timestamp:

There are 288 markets per day. Each one is a fresh opportunity.

Currently validated effective strategy: By T–10 seconds before the window closes, the direction of BTC's move is about 85% determined, but the odds on Polymarket haven't fully reflected this information yet.

The method is: On the side with the higher probability; Place maker orders at a price of $0.90–0.95.

If filled: Profit $0.05–0.10 per contract at settlement; Zero fees; Plus you get rebates.

The real advantage comes from: Figuring out BTC's direction faster than other market makers, and getting your orders up sooner.

Common Mistakes That Will Get You Wiped Out

· Still using REST instead of WebSocket

· Not including feeRateBps in order signing

· Running the bot on home Wi-Fi (150ms+ latency, vs. <5ms for datacenter VPS)

· Market making near 50% probability without considering adverse selection risk

· Hardcoding fee rates

· Not merging YES/NO positions (locking up capital)

· Still using 2025's taker arbitrage mindset

The Right Way to Use AI

The technical part ends here. Now you understand: The architecture design, fee calculation method, and new market rules.

Next, you can open Claude or any reliable AI model and give it a sufficiently clear and specific task description, for example: "Here is the Polymarket SDK. Please write a maker bot for the 5-minute BTC market that: Listens to Binance WebSocket for prices; Places maker orders on both YES and NO sides; Includes feeRateBps in order signing; Uses WebSocket for order book data; Keeps the cancel/replace cycle under 100ms."

The correct workflow is: You define the tech stack, infrastructure, and constraints, and the AI generates the specific strategy and implementation logic on top of that.

Of course, no matter how perfectly you describe the bot's logic, you must test it before going live. Especially at this stage, where fees are already materially eroding profit margins, backtesting under the real fee curve is a mandatory step before deployment.

The bots that will truly win in 2026 are not the fastest takers, but the best liquidity providers.

Build your system accordingly.

Câu hỏi Liên quan

QWhat are the key changes in Polymarket's rules that have made old trading bots obsolete?

AThe key changes are: 1) Removal of the 500ms taker delay on February 18, 2026, which eliminated the free 'insurance' period for market makers to cancel stale quotes. 2) Introduction of a dynamic taker fee schedule in January 2026, calculated as `fee = C × 0.25 × (p × (1 - p))^2`, which peaks at ~1.56% near 50% probability. These changes rendered taker arbitrage strategies, like the one that previously profited from Binance-Polymarket delays, unprofitable.

QWhat is the new 'meta' or recommended approach for building a profitable bot on Polymarket in 2026?

AThe new meta is to be a maker, not a taker. This is because makers pay no fees, earn USDC rebates (subsidized by taker fees), and benefit from faster order execution with the 500ms delay removed. The most successful bots can now profit from rebates alone, even without capturing price spreads.

QWhat are the critical technical components of a viable 2026 Polymarket bot architecture?

AThe critical components are: 1) Using WebSocket for real-time data instead of REST polling. 2) Implementing fee-aware order signing by including the `feeRateBps` field in the signed payload. 3) Establishing an ultra-fast cancel/replace loop (aiming for under 100ms) to avoid adverse selection and update stale quotes before they are taken.

QWhat is a specific, effective strategy mentioned for the 5-minute BTC markets?

AAn effective strategy is to identify the likely direction of BTC price movement (which is ~85% determined in the last 10 seconds of the window) and place maker orders on the higher probability side at prices between $0.90–$0.95. If filled, this yields a profit of $0.05–$0.10 per contract at settlement, plus rebates, with zero fees.

QWhat are some common mistakes that will cause a bot to fail under the new rules?

ACommon fatal mistakes include: using REST instead of WebSocket; omitting the `feeRateBps` field in order signing; running the bot on high-latency home Wi-Fi (>150ms) instead of a low-latency VPS (

Nội dung Liên quan

Cổ phiếu chu kỳ hay cổ phiếu tăng trưởng? Báo cáo tài chính Q2 của Coinbase hé lộ 'sự phân hóa về định giá'

Ngày 31/7, Coinbase công bố báo cáo tài chính Quý 2/2026. Tổng doanh thu đạt 1,22 tỷ USD, giảm 19% so với cùng kỳ và thấp hơn kỳ vọng thị trường. Khoản lỗ ròng là 359 triệu USD, đánh dấu quý thứ ba liên tiếp thua lỗ. Doanh thu giao dịch, đặc biệt từ khách hàng bán lẻ, tiếp tục sụt giảm mạnh, quay về mức năm 2023. Mặc dù Coinbase tuyên bố thị phần giao dịch tiền mã hóa đạt mức cao kỷ lục 10,3%, mức tăng này chủ yếu đến từ các sản phẩm mới như thị trường dự đoán, phái sinh và cổ phiếu mã hóa, không phải từ giao dịch spot truyền thống. Bài viết đặt ra câu hỏi về định giá Coinbase: là cổ phiếu chu kỳ hay cổ phiếu tăng trưởng? * **Góc nhìn chu kỳ:** Hoạt động kinh doanh chịu ảnh hưởng nặng nề bởi thị trường tiền mã hóa suy yếu. Doanh thu cốt lõi đang giảm và việc đa dạng hóa thu nhập vẫn chưa đủ để bù đắp. * **Góc nhìn tăng trưởng:** Có những tín hiệu tích cực về cấu trúc doanh thu bền vững hơn. Gần 50% thu nhập ròng đến từ dịch vụ đăng ký và phí cố định. Hai lĩnh vực được kỳ vọng là **stablecoin** (doanh thu 292 triệu USD từ USDC) và **nền kinh tế đại lý (AIFi)**. Coinbase đang dẫn đầu thông qua Base và giao thức x402, nắm giữ vị thế quan trọng trong một thị trường tiềm năng trị giá hàng nghìn tỷ USD vào năm 2030. Tóm lại, triển vọng của Coinbase phụ thuộc vào việc nhà đầu tư đánh giá nó dựa trên khó khăn hiện tại trong chu kỳ thị trường hay tiềm năng dài hạn từ các mảng kinh doanh mới nổi.

Odaily星球日报5 phút trước

Cổ phiếu chu kỳ hay cổ phiếu tăng trưởng? Báo cáo tài chính Q2 của Coinbase hé lộ 'sự phân hóa về định giá'

Odaily星球日报5 phút trước

Báo cáo sáng sớm Phố Wall: Microsoft làm dịu lo ngại 'AI đốt tiền', cổ phiếu công nghệ bật tăng mạnh, ETF lưu trữ DRAM và chỉ số Philadelphia Semiconductor tăng vọt 17% và 8%

Báo cáo Wall Street sáng nay cho thấy một đợt phục hồi mạnh mẽ của nhóm cổ phiếu công nghệ sau phiên bán tháo trước đó, nhờ động lực chính từ báo cáo tài chính vượt kỳ vọng của Microsoft. Microsoft tăng vọt 15,51%, giá trị vốn hóa thị trường tăng thêm khoảng 4500 tỷ USD trong một ngày, mức tăng kỷ lục. Điều này xảy ra khi doanh nghiệp cho thấy mức tăng trưởng ấn tượng 43% của dịch vụ đám mây Azure và đưa ra hướng dẫn lạc quan về dòng tiền, xua tan lo ngại về chi tiêu không bền vững cho AI. Sự lạc quan này lan tỏa sang toàn bộ lĩnh vực bán dẫn và lưu trữ, với chỉ số Philadelphia Semiconductor tăng 8,19% và ETF Roundhill Memory tăng gần 17%. Các cổ phiếu như Micron, AMD, Intel đều tăng hai con số. Tuy nhiên, thị trường vẫn tồn tại những dấu hiệu phân hóa. Chỉ số S&P 500 Equal Weight (đặt trọng số ngang nhau) lại giảm điểm, trái ngược với mức tăng của chỉ số S&P 500 tiêu chuẩn, cho thấy đà tăng chủ yếu tập trung vào một số ít cổ phiếu công nghệ lớn trong khi phần đông cổ phiếu khác vẫn giảm. Meta đã giảm 7,95% do lo ngại về áp lực dòng tiền từ kế hoạch chi tiêu vốn lớn. Các yếu tố vĩ mô khác bao gồm: Đồng USD giảm mạnh trước nghi vấn Nhật Bản và Hàn Quốc can thiệp vào thị trường tiền tệ; dầu thô chịu áp lực giảm nhẹ khi thị trường chờ đợi quyết định từ cuộc họp OPEC+ sắp tới; và những diễn biến ngoại giao mới trong xung đột Trung Đông. Các sự kiện sắp tới cần theo dõi: Khung quy định AI của chính phủ Mỹ trước thời hạn 1/8, dữ liệu xuất khẩu tháng 7 của Hàn Quốc và cuộc họp chính sách của OPEC+ vào ngày 2/8.

marsbit10 phút trước

Báo cáo sáng sớm Phố Wall: Microsoft làm dịu lo ngại 'AI đốt tiền', cổ phiếu công nghệ bật tăng mạnh, ETF lưu trữ DRAM và chỉ số Philadelphia Semiconductor tăng vọt 17% và 8%

marsbit10 phút trước

Điều tra thị phần toàn cầu: Doanh nghiệp Nhật Bản đứng đầu trong lĩnh vực vật liệu bán dẫn

Khảo sát thị phần toàn cầu cho thấy các doanh nghiệp Nhật Bản tiếp tục dẫn đầu trong lĩnh vực vật liệu bán dẫn vào năm 2025. Trong lĩnh vực wafer silicon, Shin-Etsu Chemical đứng đầu với 26,3% thị phần, tiếp theo là SUMCO với 17,8%. Ba công ty Nhật Bản, bao gồm Tokyo Ohka Kogyo, JSR và Shin-Etsu, chiếm ba vị trí dẫn đầu trong thị trường photoresist, với tổng thị phần đạt 60,5%. Tuy nhiên, sự hiện diện của Nhật Bản trong các lĩnh vực trọng tâm như bộ nhớ DRAM và GPU vẫn còn hạn chế. Trong khi đó, ngành công nghiệp ô tô - trụ cột khác của Nhật Bản - đang trì trệ, với Toyota chỉ tăng nhẹ thị phần lên 12,3% và không có doanh nghiệp Nhật nào lọt vào top 5 thị trường xe điện. Trong lĩnh vực đóng tàu, Imabari Shipbuilding tăng từ vị trí thứ 6 lên thứ 3 toàn cầu với thị phần 7,2%, nhờ hoàn thành các tàu container cỡ lớn. Chính phủ Nhật đặt mục tiêu tăng gần gấp đôi sản lượng đóng tàu vào năm 2035, yêu cầu đầu tư lớn và ứng dụng AI để giải quyết tình trạng thiếu lao động. Các chuyên gia nhận định, để duy trì vị thế trong ngành vật liệu bán dẫn, các công ty Nhật Bản cần mạnh dạn đầu tư quy mô lớn, tương tự như các đối thủ Hàn Quốc và Mỹ. Thị trường bán dẫn toàn cầu dự kiến tăng trưởng 90% vào năm 2026, đạt 1,5112 nghìn tỷ USD.

marsbit30 phút trước

Điều tra thị phần toàn cầu: Doanh nghiệp Nhật Bản đứng đầu trong lĩnh vực vật liệu bán dẫn

marsbit30 phút trước

Báo cáo tài chính đầu tiên sau khi STRC mất neo - Chiến lược Strategy sửa chữa bánh xe vốn như thế nào?

Ngày 31/7, công ty kho bạc Bitcoin Strategy đã công bố báo cáo tài chính quý II/2026, quý đầu tiên sau khi chứng khoán ưu tiên STRC của họ mất neo giá. Báo cáo cho thấy tổng doanh thu đạt 122 triệu USD (tăng 6.9%), nhưng công ty ghi nhận lỗ ròng 8,22 tỷ USD chủ yếu do biến động giá BTC. Dù vậy, chiến lược nắm giữ Bitcoin vẫn được duy trì, với kho dự trữ tăng lên 843.775 BTC (trị giá ~55 tỷ USD). Số Bitcoin trên mỗi cổ phiếu (Bitcoin Per Share) cũng tăng lên. Trọng tâm hiện tại của Strategy là khôi phục STRC về mệnh giá 100 USD. Ban lãnh đạo tuyên bố sẽ không phát hành STRC mới với giá chiết khấu và duy trì tỷ lệ cổ tức hàng năm ở mức 12%. Thay vào đó, họ tập trung vào việc tăng cường đệm tiền mặt (hiện ở mức 3,75 tỷ USD, đủ chi trả hơn 2 năm) và thực hiện chương trình mua lại 1 tỷ USD cho các chứng khoán STRC giao dịch dưới giá. Mục tiêu là đưa STRC trở lại vùng mệnh giá vào khoảng ngày 8/9. Báo cáo cũng đánh dấu sự chuyển đổi trong mô hình vốn của Strategy, từ vòng xoay một chiều "huy động vốn -> mua BTC" sang quản lý vốn chủ động linh hoạt. Họ hiện điều phối giữa 4 yếu tố cốt lõi: BTC (có thể linh hoạt bán ra), dự trữ tiền mặt USD, cổ phiếu phổ thông (MSTR) và công cụ tín dụng số (STRC, trái phiếu chuyển đổi). Cách tiếp cận mới này cho phép họ tối ưu hóa cơ cấu nợ và thực hiện các hoạt động mua lại/ phát hành dựa trên chênh lệch giá thị trường. Tương lai của Strategy phụ thuộc vào hai yếu tố then chốt: khả năng khôi phục STRC về mệnh giá trong ngắn hạn, và xu hướng giá Bitcoin trong dài hạn để củng cố niềm tin vào toàn bộ mô hình tăng trưởng của công ty.

marsbit1 giờ trước

Báo cáo tài chính đầu tiên sau khi STRC mất neo - Chiến lược Strategy sửa chữa bánh xe vốn như thế nào?

marsbit1 giờ trước

Báo cáo tài chính đầu tiên sau khi STRC mất neo, chiến lược sửa chữa bánh đà vốn như thế nào?

Ngày 31/7, công ty kho bạc Bitcoin Strategy đã công bố báo cáo tài chính quý 2 năm 2026. Báo cáo cho thấy doanh thu đạt 122 triệu USD, tăng 6.9%, nhưng công ty ghi nhận lỗ ròng 8.22 tỷ USD chủ yếu do biến động giá Bitcoin, với khoản lỗ chưa thực hiện từ tài sản kỹ thuật số lên tới 8.32 tỷ USD. Điểm quan trọng nhất là sau sự kiện STRC - công cụ huy động vốn chủ chốt - mất neo khỏi mệnh giá mục tiêu 100 USD từ tháng 5, Strategy đang chuyển đổi mô hình vốn từ việc tích lũy Bitcoin cố định sang quản lý vốn chủ động hơn. Đến cuối quý 2, công ty nắm giữ 843,775 BTC (trị giá ~55 tỷ USD), tăng khoảng 11% so với quý trước, và Bitcoin trên mỗi cổ phiếu cũng tăng lên. Nhiệm vụ cốt lõi hiện tại của Strategy là khôi phục STRC về mệnh giá. Ban lãnh đạo nhấn mạnh sẽ không phát hành STRC chiết khấu, duy trì tỷ lệ cổ tức hàng năm ở mức 12%, và tăng cường đệm tiền mặt (3.75 tỷ USD tính đến 26/7). Công ty đã triển khai kế hoạch mua lại chứng khoán tín dụng số và đặt mục tiêu đưa STRC về mệnh giá vào khoảng ngày 8/9. Báo cáo đánh dấu sự chuyển đổi từ "vòng quay vốn" một chiều (phát hành vốn -> mua BTC) sang quản lý vốn chủ động hai chiều. Strategy giờ đây có thể linh hoạt sử dụng bốn yếu tố cốt lõi: BTC, dự trữ tiền mặt USD, cổ phiếu phổ thông (MSTR) và tín dụng kỹ thuật số (STRC) để tối ưu hóa cấu trúc vốn, bao gồm chương trình biến hiện BTC (đã bán 218.4 triệu USD), mua lại nợ chuyển đổi và chứng khoán chiết khấu. Tương lai của Strategy phụ thuộc vào hai thách thức: khả năng khôi phục STRC về mệnh giá trong ngắn hạn và xu hướng giá Bitcoin trong dài hạn để củng cố lại logic tăng trưởng cơ bản.

Odaily星球日报1 giờ trước

Báo cáo tài chính đầu tiên sau khi STRC mất neo, chiến lược sửa chữa bánh đà vốn như thế nào?

Odaily星球日报1 giờ trước

Giao dịch

Giao ngay
活动图片