DEV Community

ABROWNFOX001
ABROWNFOX001

Posted on

150ms Taker Delay and Volume-Tier Limits

GitHub: https://github.com/abrownfox0/abrownfox001-twap60-prediction-trigger-system

YouTube walkthrough: https://www.youtube.com/watch?v=XzhugRL6BV4

Live profile: https://polymarket.com/@abrownfox001

Part 2 pinned the settlement target: 60s Chainlink TWAP.

Part 3 is the matching layer. A correct P(up) still dies if the venue changed how taker orders are allowed to race.

1. Two Execution Rules That Now Bind 5m Bots

Change When Effect
Volume-based CLOB rate tiers live since ~Aug 6 Order/cancel bursts are quota-limited by trailing volume
Crypto taker delay 50ms → 150ms Sept 4, 14:00 UTC Intentional speed bump on crypto taker flow

Add the older delay-lock behavior: once a taker order enters the delay window, cancel-during-delay is not a free undo.

Together they punish a specific style:

see tick → lift immediately → cancel if the next tick disagrees
Enter fullscreen mode Exit fullscreen mode

That style was already a bad fit for TWAP60. After September 4 it is a worse fit.

2. What 150ms Actually Changes

150ms is not “bots are banned.”

It is “the first look is less valuable.”

For a BTC 5m mid-band engine that means:

  • you cannot treat the book as a last-look toy
  • a 50¢ idea can be stale before the delay expires
  • fill quality matters more than being first by 20ms
  • local RTT optimization hits a ceiling faster than people want to admit

If your edge was purely queue-sniping a CEX wick into the CLOB, TWAP60 plus a longer taker delay is a double cut.

If your edge is a slower official-path read plus staggered 45–55¢ clips, the delay is a cost — not a thesis killer. You still have to re-measure it.

3. What Rate Tiers Actually Change

Volume-tiered token buckets turn “retry until it works” into a production incident.

Expected bot behavior now:

  • treat Retry-After as a first-class signal
  • batch cancels instead of panic-cancel storms
  • idempotent client order IDs
  • stop using cancel-spam as risk management
  • log tier / reject / 429 counts per slot

A 5m specialist that places small clips and scratches selectively can live inside Standard-to-higher tiers.

A spray bot that fires 40 cancels a second will discover the tier system the hard way.

4. The Execution Stack I Want in Code

In the public shell this sits in clob.ts + engine.ts.

September checklist:

place taker only after TWAP-aligned edge + 45–55¢ gate
assume delay_ms = 150 on crypto
do not plan to cancel inside the delay window
cap orders per slot
honor Retry-After
reconnect websockets without double-sending
if book depth at 50¢ disappears, skip the scratch fantasy
Enter fullscreen mode Exit fullscreen mode

The state machine does not change:

enter → re-score → scratch or hold → redeem
Enter fullscreen mode Exit fullscreen mode

The timing math around “enter” and “scratch” does.

5. Re-Measure These After the Delay Change

Do not keep July fill stats as gospel.

Log per slot:

  • signal time → order ack
  • ack → fill
  • quoted ask vs fill price
  • scratch spread
  • 429 / reject count
  • whether the official TWAP moved during the delay

If fill minus signal is consistently worse by more than the extra 100ms plus spread, the mid-band clip size or entry threshold has to move. Hoping is not a patch.

6. What This Does Not Mean

It does not mean:

  • makers are automatically the new strategy
  • 5m BTC is dead
  • you should port the whole engine to Combos
  • you should abandon TWAP60 and go back to snapshot logic

It means the venue is raising the cost of raw taker speed.

A path-following specialist can adapt. A last-tick sniper has less room each month.

7. Expected Tech Change on This Layer

  1. Hard-code the live delay assumption in config, not in tribal memory
  2. Separate “signal decision” timestamps from “order submitted” timestamps
  3. Reduce cancel churn
  4. Add rate-limit backoff that does not stall the whole slot loop
  5. Re-fit scratch thresholds on post-Sept 4 data only

The private signal can stay closed. The delay and quota handling cannot.

8. What Part 4 Covers

Settlement and matching are the 5m core.

Part 4 leaves that core and covers the expanding surface: Combos / RFQ, unified APIs, Data API fixes, RTDS incidents, and Exa Connect — what is infrastructure versus distraction for a BTC 5m engine.

Links

Not financial advice. Delay values and rate tiers can move — confirm against live docs and @PolymarketDevs.

If you have more questions, please feel free to contact me at any time: https://t.me/abrownfox001

My Polymarket Activity: https://polymarket.com/@abrownfox001?tab=activity

#Polymarket #TradingBot #CLOB #BTC #TWAP #AlgoTrading #PredictionMarkets
Enter fullscreen mode Exit fullscreen mode

Top comments (0)