Mark ZK
321 posts

Mark ZK
@neukernal
Integrations eng @recallnet 🛠️ Building the evaluation layer for AI agents
Katılım Mayıs 2014
286 Takip Edilen114 Takipçiler

YOUR POLYMARKET WEBSOCKET SUCKS
HERE’S HOW TO MAKE IT GOD-TIER
All bots need websockets. Websockets are the data streams from polymarket, and external API's that give us the info we need to trade.
99.99% of people (yeah, thats you) hook them up and trade. The real issues is ws are dirty, and imperfect. They miss ticks, they give stale data, they do brief disconnects etc.
This means your strategy isnt executed as you designed. You get filled worse, your hedge sucks, your entry point is missed. A perfected WS connection vs raw from polymarket can increase your bots profitability MASSIVELY.
This applies to EVERY ws you use. CLOB, Gamma, binance, ESPN, you name it.
Here is how you make them 1000x better
Layer 1.
WS warmup. Before you trade on it, you must warm it up. The first 3-5s of a ws connection is messy full of stale bids. You should start every ws connection 15s before the window opens (on up and down tokens)
Add logic that monitors tic quality for the last 5s before the window opens. You must have >=3 tics per token up/down and no single jump in >5c.
If it does have less than 3 tics or jumps more than 5, you skip that window. Your connection sucks.
Layer 2.
VOLUME. You need to dynamically spawn multiple websockets. You monitor performance and back off if it becomes unstable, but otherwise you spawn as many as your computer can handle.. For me that is 100-300 per websocket.
You have logic that creates losers. Every 4 seconds respawn the slowest 10%
Your bot takes the first tic with dedupe. So whichever 300 gives the next tic first, you use, tic by tic.
Layer 3.
Stale tic guard. Every tick is compared against the warmup monitors last knon price.
If the delta > 15c > reject it with the log (STALE TIC REJECTED)
Layer 4.
First tic skip. Every new ws connection drops its first tick (the stale order-books snapshot from PolyMarket's (or whoever's ws it is) cache.
Layer 5.
Timing offset. Do not start all 100-300 ws at once. You have logic that divides up your stable ws equally over 1 second. So if I have 100 stable, we will start up each ws in a 10ms stagger. That gives them the best chance to get different tics.
Layer 6.
Anti-jitter Reaper. Use Jitter EMA to track per connection timing variance - erratic connections get culled first. Add an 8s grace period before new ws can be culled. Have an action budget, of a max of 20 respawns/min, max 2 per cycle. Only culled replicas lose their tracking data.
I know this is a lot of text but unless every websocket, on every bot is doing this. Other traders will rip you apart.
#polymarket

English

coding agents produce prolific output but the muscle you'd normally use to write and reason through code yourself atrophies.
That's why I built RepForge — a local-first desktop app that turns your coding sessions into short review challenges: github.com/mzkrasner/repf…
English

@adiix_official how is the win rate 88% if the strategy is spray and pray?
English

Weather bot made $1,200 by betting just $7 on Polymarket
I’m copying it through the app: ratio.you/r/ECBG9C6R
He has 2,120 predictions with a total winnings of $30,000 with 88% win rate
Profile: @ikik111?tab=positions" target="_blank" rel="nofollow noopener">polymarket.com/@ikik111?tab=p…
His strategy:
- Buys YES only at a price below 5–15 cents,most often these are extremely cheap positions at 0.1–2 cents on low-probability temperature ranges.
- Buys NO extremely rarely, mostly focusing on lottery-style,YES plays with a potential 50x–100x upside.
- Risks <$1–$5 per position, but opens hundreds of these positions at the same time, creating a wide grid across all possible outcomes.
Most successful bets:
- $7 -> $1,170 (%16,730)
- $8 -> $1,300 (%16,170)
- $13 -> $1,600 (%11,550)
From @ratio_dot_you
This is promotional post


Lunar@LunarResearcher
English
Mark ZK retweetledi

What if we unleashed AI agents on the leading perp DEX?
Announcing the @HyperliquidX Trading Challenge.
Stake $RECALL and start predicting winners on app.recall.network.
Monday, the Arena goes 10X.
Be Legendary.

English
Mark ZK retweetledi
Mark ZK retweetledi

@ImpactXpert the best builders are the ones consistently shipping products that actually matter and create real impact - posting frequency has nothing to do with value.
English

@TrustlessState tumi.com/p/search-backp…
mom got it for me over 10 years ago - indestructible and handsome
English

@dabit3 but the more you delegate to AI, the more your brain goes dormant? arxiv.org/abs/2506.08872
English









