WeatherBot v2 Is Live — Faster, Smarter, More Precise
Today we're thrilled to announce that WeatherBot v2 is officially live. This isn't a minor patch or a UI tweak — it's a complete rebuild from the ground up. New infrastructure, new trading engine, new design, and a fundamentally better experience for every user on the platform.
We've spent the last several weeks pushing this upgrade through some of the most challenging engineering work we've done since launch. The result is a platform that trades faster, analyzes more precisely, and delivers a cleaner, more data-rich experience than anything we've built before.
What's New in v2
The Numbers
3x Faster Trade Execution
Orders now execute in under 400ms from signal detection to Polymarket CLOB submission. Previous average was 1.2 seconds.
22-84c Price Range
Expanded trading range allows Claude AI to find opportunities across the full mid-range spectrum, not just extremes.
Real-Time P&L Tracking
Live profit/loss chart with area fill that updates every 2 seconds. See your performance at a glance.
Claude AI as Gatekeeper
Every single trade now passes through Claude's meteorological analysis. No trade executes without AI approval.
The Infrastructure Challenge
The hardest part of this upgrade wasn't the frontend or the trading logic — it was the infrastructure. We migrated to high-end dedicated servers, and the journey was anything but smooth.
WebSocket connection drops. Our first major issue hit within hours of deploying the new streaming engine. The Polymarket WebSocket would silently disconnect after exactly 47 minutes — no error, no close event, just silence. Turns out their load balancer was rotating connections on a fixed interval. We implemented a dual-heartbeat system: our own 30-second ping cycle on top of the native WebSocket keep-alive, with automatic reconnection and state recovery. Positions are now re-synced within 5 seconds of any disconnect.
Race conditions in the order pipeline. When we parallelized the forecast fetching across 4 weather models (GFS, ECMWF, UKMO, NWS), we started seeing duplicate trades. Two threads would detect the same edge, both pass the duplicate check, and both submit orders before either could update the position map. We solved this with per-token execution locks — each token ID gets a mutex that prevents concurrent order submission. Zero duplicate trades since.
Memory leaks in the edge calculator. The Bayesian integration with historical NCEI data was allocating new arrays on every price tick from the WebSocket stream. On a busy day with 400+ markets and thousands of ticks per minute, memory usage would climb to 2GB+ and the Node.js process would crash. We refactored the hot path to use pre-allocated buffers and moved the heavy CDF calculations to run only on significant price changes (>0.5% movement), not every tick. Memory now stays under 300MB even under peak load.
Nginx proxy buffering killing real-time updates. After deploying behind our new Nginx reverse proxy, the 2-second state polling started taking 8+ seconds. Nginx was buffering the JSON responses. A simple proxy_buffering off directive fixed the latency, but finding it took us an embarrassing amount of time staring at network waterfalls.
Smarter Trading Engine
The v2 engine doesn't just trade faster — it trades better. Here's what changed under the hood:
- Edge threshold lowered to 2% — more opportunities reach Claude for evaluation, but the AI still has full veto power. This means more trades at better prices across the 22-84c range.
- Dynamic position sizing — Claude's confidence level now directly scales trade size. VERY_HIGH confidence with 15%+ edge gets maximum sizing. LOW confidence trades execute at 30% size. Every dollar is allocated proportional to conviction.
- Ghost position cleanup — bot-traded positions that get sold or resolved on Polymarket now automatically disappear from the dashboard within 2 minutes. No more phantom positions cluttering your view.
- Smarter exit engine — trailing stops only activate after significant profit AND 15+ minutes held. Profit targets require 80% of edge captured. The bot lets winners run longer and cuts losers faster.
- One position per city per day — the bot will never buy Seoul 11, 12, 13, AND 14 degrees for the same date. Mathematically only one can win. This single rule prevents the biggest category of losses from v1.
The New Dashboard
The v2 dashboard was rebuilt from scratch using DaisyUI and Tailwind CSS. Every element is designed to give you more information with less clutter:
- Live sparkline charts on every KPI card — see trends at a glance, not just numbers.
- Claude AI stats card — real-time breakdown of YES/NO/SKIP decisions with a risk gauge showing market conditions.
- Top Cities by volume — instantly see where the most trading action is happening.
- Resolution timeline — how many city/date combos resolve today, tomorrow, this week.
- Best Edge + Claude Top 3 — the single highest-edge opportunity plus Claude's three strongest signals, always visible.
- Live P&L chart — area chart with gradient fill that updates every 2 seconds, turns green when profitable, red when not.
- Weather atmosphere — floating clouds, rain, lightning, wind streaks, and sun glow create an immersive weather trading environment.
- SVG log icons — every emoji in the activity log is now a crisp, color-matched SVG icon.
- Premium trader profiles — full P&L charts with tooltips, win rate progress bars, recent trades, and gradient rank medals for the top 3.
What This Means for Your Profits
Every improvement in v2 compounds into better outcomes:
Faster execution means you capture prices closer to the moment Claude identifies the edge — before other traders can move the market. In weather markets where prices can shift 2-3c in minutes as forecasts update, milliseconds matter.
Wider price range (22-84c) means the bot finds opportunities that v1 completely ignored. Mid-range trades at 40-60c where the forecast clearly picks a direction are now fair game. Weather isn't crypto — prices don't move in seconds. Claude can evaluate these setups with confidence.
Better risk management means fewer catastrophic losses. The one-position-per-city rule alone would have prevented the three worst loss days in v1's history. Combined with smarter exits and confidence-scaled sizing, the expected drawdown profile is dramatically improved.
We're not promising guaranteed profits — this is prediction market trading, and weather has inherent uncertainty. But v2 gives you a meaningfully better edge than v1 on every dimension that matters: speed, precision, risk control, and information quality.
v2 is live now
Head to the dashboard to see the new interface in action. All existing wallets, configurations, and settings have been preserved. Your bot will pick up right where it left off — just faster, smarter, and with a much better view.