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

Đối thoại với Ray Dalio: Chúng ta đang ở trong bong bóng AI, 1% danh mục đầu tư của tôi là Bitcoin

Ray Dalio, người sáng lập Bridgewater Associates, trong một cuộc phỏng vấn đã chỉ ra rằng thế giới hiện tại đang trong một "AI bubble" (bong bóng AI) cổ điển, với giá tài sản tăng vọt và đầu cơ quá mức. Ông cảnh báo bong bóng có thể vỡ do lãi suất tăng, nguồn cung cổ phiếu dư thừa hoặc khi nhà đầu tư cần tiền mặt trả nợ, dẫn đến suy thoái kinh tế. Đồng thời, Dalio mô tả một "chu kỳ lớn" kéo dài khoảng 80 năm, bao gồm ba động lực chồng chéo: khoảng cách giàu nghèo và xung đột nội bộ, thâm hụt ngân sách chính phủ khổng lồ và thay đổi địa chính trị. Ông nhấn mạnh rằng Mỹ và Anh đang đối mặt với những thách thức trong giai đoạn suy yếu này. Để bảo vệ của cải, Dalio khuyến nghị đa dạng hóa danh mục đầu tư với cổ phiếu, vàng, trái phiếu, bất động sản thay vì chỉ giữ tiền mặt. Ông tiết lộ khoảng 1% danh mục của mình là Bitcoin, nhưng vẫn ưa chuộng vàng vật chất hơn do tính ổn định và vai trò tiền tệ dự trữ. Về tác động của AI, Dalio cho rằng nó không chỉ thay thế lao động chân tay mà còn cả tư duy, làm trầm trọng thêm bất bình đẳng thu nhập. Con người cần phát huy trí tuệ cảm xúc và trực giác - những thứ AI chưa có - và học cách hợp tác với AI. Cuối cùng, ông phân tích những rủi ro của thuế tài sản và xu hướng thế giới có thể trở nên "khu vực hóa" hơn, với các khối như châu Mỹ và châu Á - Thái Bình Dương, trong bối cảnh sự thống trị toàn cầu của Mỹ đang suy yếu.

marsbit3 giờ trước

Đối thoại với Ray Dalio: Chúng ta đang ở trong bong bóng AI, 1% danh mục đầu tư của tôi là Bitcoin

marsbit3 giờ trước

Hơn 7.2 nghìn tỷ won trong một ngày, ngoại hải nước ngoài mua ròng kỷ lục vào thứ Sáu! Phố Wall: Cơn gió ngược về mặt vốn của thị trường chứng khoán Hàn Quốc đã tan biến

Dòng vốn nước ngoài đổ mạnh vào thị trường chứng khoán Hàn Quốc (KOSPI) với mức mua ròng kỷ lục 7,2 nghìn tỷ won chỉ trong ngày 31/7, đánh dấu sự đảo chiều rõ rệt sau nhiều tháng bán ròng mạnh. Theo báo cáo từ Citigroup, áp lực bán từ dòng vốn nước ngoài đã giảm đáng kể, với mức bán ròng tháng 7 thu hẹp còn 9,8 nghìn tỷ won so với mức 48,4 và 44,5 nghìn tỷ won trong tháng 6 và tháng 5. Đồng thời, các quỹ hưu trí và quỹ đầu tư trong nước cũng chuyển sang vị thế mua ròng 1,0 nghìn tỷ won trong tháng 7. Một yếu tố hỗ trợ khác là quy định mới từ Ủy ban Dịch vụ Tài chính Hàn Quốc (FSC), có hiệu lực từ 31/7, siết chặt điều kiện đầu tư vào các ETF có đòn bẩy đối với nhà đầu tư cá nhân. Quy định này đã ngay lập tức làm giảm khoảng 50% khối lượng giao dịch của các ETF này, góp phần kỳ vọng giảm bớt biến động cho thị trường. Citigroup duy trì mục tiêu chỉ số KOSPI ở mức 10.000 điểm, dựa trên các yếu tố thuận lợi như ngành chip bán dẫn ổn định, định giá thị trường thấp, nền tảng kinh tế vững mạnh và các chính sách hỗ trợ. Họ nhận định áp lực dòng vốn ngược chiều đang giảm dần, tạo điều kiện cho các yếu tố cơ bản và chính sách tích cực phát huy tác dụng.

marsbit3 giờ trước

Hơn 7.2 nghìn tỷ won trong một ngày, ngoại hải nước ngoài mua ròng kỷ lục vào thứ Sáu! Phố Wall: Cơn gió ngược về mặt vốn của thị trường chứng khoán Hàn Quốc đã tan biến

marsbit3 giờ trước

Làm thế nào để khiến bản thân trở nên không thể bị thay thế bởi trí tuệ nhân tạo

**Tóm tắt: Làm thế nào để trở nên không thể bị thay thế bởi AI** Bài viết phản đối việc than vãn về AI và thay vào đó đề xuất một giải pháp căn cơ: trở thành một "siêu cá nhân" không thể bị thuê mướn. Mối đe dọa thực sự không phải là AI, mà là tình trạng "nô lệ lương thưởng" – phụ thuộc hoàn toàn vào người khác để sinh tồn, làm công việc nhàm chán mà không có mục đích. Để thoát khỏi vòng luẩn quẩn này và phát triển mạnh trong kỷ nguyên AI, bạn cần trau dồi 5 yếu tố then chốt: 1. **Tính tự chủ:** Khả năng hành động mà không cần chờ chỉ thị. 2. **Khiếu thẩm mỹ:** Khả năng nhận biết điều gì thực sự có giá trị. 3. **Khả năng thuyết phục:** Thu hút sự chú ý và sự công nhận. 4. **Sự kiên trì:** Không sợ thất bại, xem đó là bài học. 5. **Khả năng lặp:** Điều chỉnh dựa trên phản hồi để tiến tới mục tiêu. Giải pháp là đầu tư vào sự nghiệp của chính mình. Trong khi AI giỏi tạo ra "tài sản" (nội dung, code), nó không thể thay thế được khả năng phân biệt thứ gì đáng để tạo ra, làm cho mọi người quan tâm và kiên trì theo đuổi. Trong hai kỹ năng đòn bẩy mạnh mẽ là **Code (Lập trình)** và **Media (Nội dung)**, bài viết nhấn mạnh **Nội dung** quan trọng hơn. Giá trị của nội dung là chủ quan và đòi hỏi sự am hiểu, trải nghiệm mà AI khó có được, tạo không gian cho các cá nhân sáng tạo thực sự. **Cách bắt đầu (Bài tập 15 phút):** 1. **Khai thác nguyên liệu thô của bạn:** Xác định chủ đề bạn am hiểu sâu, vấn đề bạn tự giải quyết được, hay sở thích đặc biệt từ nhỏ. 2. **Xác định "trục phản biện" của bạn:** Tìm ra quan điểm độc đáo của bạn – những điều bạn tin là đúng nhưng số đông lại sai trong lĩnh vực của mình. 3. **Xuất bản ý tưởng đầu tiên:** Kết hợp câu trả lời từ bước 1 và 2, tạo ra một nội dung (bài đăng, video) và đăng nó lên. Hành động này mang lại phản hồi thực tế, bắt đầu quá trình học hỏi, lặp lại và phát triển kỹ năng thuyết phục. Bằng cách xây dựng một sự nghiệp xoay quanh con người thật, trải nghiệm thật và góc nhìn độc đáo của mình thông qua nội dung, bạn có thể tạo ra giá trị mà AI không thể sao chép, từ đó trở nên không thể thay thế.

marsbit6 giờ trước

Làm thế nào để khiến bản thân trở nên không thể bị thay thế bởi trí tuệ nhân tạo

marsbit6 giờ trước

Nhờ việc tung xúc xắc, chìa khóa Bitcoin được lưu trữ offline, nhưng không phải ai cũng muốn làm điều này

Cảm biến từ cuộc tranh cãi gần đây xung quanh lỗ hổng trong ví phần cứng Coldcard, bài viết thảo luận về phương pháp tạo seed (cụm từ khôi phục) cho ví Bitcoin bằng cách xúc xắc vật lý. Mỗi lần xúc xắc công bằng cung cấp khoảng 2,6 bit entropy (thước đo tính ngẫu nhiên). Để đạt mức entropy an toàn cho một seed 12 từ (128 bit), cần khoảng 50 lần xúc xắc; Coldcard khuyến nghị 99 lần để đạt mức bảo mật cao hơn. Lợi thế chính của phương pháp này là tách biệt hoàn toàn với bất kỳ lỗi phần cứng hoặc phần mềm nào trong trình tạo số ngẫu nhiên của thiết bị, từ đó bảo vệ seed chính của ví. Tuy nhiên, bài viết cảnh báo rằng trong sự cố Coldcard, các chức năng phụ khác của thiết bị (như tạo ví giấy, khóa đa chữ ký, mật mã phiên USB) vẫn có thể bị ảnh hưởng nếu chúng dựa vào trình tạo số lỗi, ngay cả khi seed chính được tạo an toàn bằng xúc xắc. Nhược điểm lớn của việc dùng xúc xắc là quá trình thủ công, dễ xảy ra sai sót, tốn thời gian và không thực tế cho đa số người dùng mới. Người dùng có thể ghi chép sai, sử dụng xúc xắc gian lận, hoặc để lộ chuỗi kết quả. Do đó, mặc dù có nền tảng toán học vững chắc, phương pháp này đòi hỏi sự tỉ mỉ cao và không phải là giải pháp khả thi cho việc áp dụng Bitcoin rộng rãi. Bài viết kết luận rằng mục tiêu dài hạn vẫn là phát triển phần cứng/phần mềm tạo số ngẫu nhiên mạnh mẽ và đáng tin cậy, trong khi vẫn giữ phương pháp thủ công như một tùy chọn cho người dùng có kinh nghiệm. Cuối cùng, bài viết đưa ra khuyến nghị cho chủ sở hữu Coldcard: cập nhật firmware, kiểm tra các chức năng phụ đã sử dụng và xem xét các biện pháp bảo mật bổ sung như ví đa chữ ký kết hợp nhiều nhà sản xuất để giảm thiểu rủi ro từ một điểm yếu đơn lẻ.

cryptonews.ru9 giờ trước

Nhờ việc tung xúc xắc, chìa khóa Bitcoin được lưu trữ offline, nhưng không phải ai cũng muốn làm điều này

cryptonews.ru9 giờ trước

Giao dịch

Giao ngay
活动图片