1. What the bot actually does
https://github.com/abrownfoxbot/abrownfox-trading-system
@abrownfox001 is a specialized directional engine for Polymarket BTC 5-minute Up/Down markets.
Core loop:
- Stream the official Chainlink TWAP (currently the 30-second window for 5m markets) via Polymarket RTDS.
- Pin a slot-open TWAP reference at the start of each 5-minute window.
- Convert the path of live TWAP vs that reference (plus lead-lag / momentum / time-in-slot features) into a calibrated
P(up). - When the edge clears a threshold, take taker entries in the 45–55¢ band (typical clips $50–175, often accumulated across the slot).
- Continuously re-score conviction.
- Scratch near breakeven if the signal decays.
- Hold only higher-conviction legs to resolution and redeem.
It is deliberately not a convergence farmer (94–99¢). It is a mid-band directional system whose edge comes from forecasting the same TWAP that Polymarket settles on.
Public sample metrics cited in the docs (held positions only):
- ~60.7% win rate on resolved legs
- ~+24.5% ROI on capital that reaches settlement
- Average entry ~0.50
The private calibrated model is the real differentiator. The open-source TypeScript reference exposes the pipeline (TWAP feed, signal scoring, slot lifecycle, CLOB handling) while keeping the model closed.
2. Why TWAP alignment is central
The strategy was designed around the post-August 7 settlement rules:
| Market | Settlement TWAP (until Aug 13) |
|---|---|
| 5-minute crypto | 30-second TWAP |
| 15-minute | 60-second TWAP |
| 4-hour | 60-second TWAP |
Because the bot’s primary market is BTC 5m, its entire fair-value and resolution logic is built on the 30s feed (src/twapFeed.ts explicitly notes the 30s window).
3. The new change (critical)
Official announcement from @PolymarketDevs (Aug 13, 2026):
Starting Friday, August 14 at 00:00 UTC, all 5-minute crypto markets will move from a 30-second to a 60-second TWAP window.
This is a direct settlement-target change for the exact market the bot specializes in.
4. What must be updated in the bot
| Component | Current assumption | Required update for 60s TWAP | Priority |
|---|---|---|---|
| TWAP feed | Subscribe / use 30s window | Switch primary feed to 60s Chainlink TWAP via RTDS | Critical |
| Slot-open reference | Pin 30s TWAP at open | Pin 60s TWAP at open | Critical |
| Signal model | Calibrated on 30s path | Re-calibrate or re-fit features for slower 60s path | Critical |
| Fair-value math | Predicts 30s settlement | Must now predict 60s settlement | Critical |
| Resolution scoring | Compare vs 30s TWAP | Compare vs 60s TWAP (or gamma outcomePrices) | Critical |
| Staleness checks | Tuned for 30s updates | Relax / retune for 60s update characteristics | High |
| Scratch timing | Tuned to 30s noise profile | Re-evaluate decay thresholds under smoother series | High |
| Entry timing | Median ~47s into slot | May shift; 60s average reacts more slowly | Medium |
| Backtests / labels | Historical 30s labels | Rebuild labels with 60s TWAP where possible | High |
| Config flags | Hard-coded or 30s default | Make window configurable (30 → 60) |
High |
Detailed implications
A. Signal construction
The model currently maps the path of the 30s TWAP into P(up). A 60s TWAP is a smoother, slower-moving series. Momentum features, mean-reversion terms, and time-in-slot calibration that worked on 30s data will be mis-scaled. Expect the raw edge to compress until the model is re-tuned on the new series.
B. Scratch vs hold
The scratch layer was one of the main reasons held-side win rate could reach ~60%. Under a smoother 60s TWAP, false breakouts and noise spikes are reduced, so the optimal scratch threshold will likely change. Too aggressive scratching will now cut good trades; too passive will let more weak ones reach resolution.
C. Latency and feed handling
twapFeed.ts must subscribe to the 60-second topic/window. Staleness timeouts that were appropriate for a faster 30s feed need review so the bot does not skip too many slots or trade on stale values.
D. Open price / settlement consistency
Both the price-to-beat and the final settlement now use the applicable TWAP. After Aug 14 the applicable window for 5m markets becomes 60s. Any residual code that still mixes 30s and 60s will create silent resolution mismatches.
E. Paper trading & monitoring
Before scaling size again, the system should run in shadow mode comparing:
- Old 30s-based decisions (for reference)
- New 60s-based decisions
- Actual gamma resolution
5. Recommended preparation order
- Config / feed switch — Make the TWAP window a parameter and point it at 60s.
-
Reference pinning — Ensure
twap_refis taken from the same 60s series used for settlement. - Resolution path — Force all post-cutover scoring through 60s TWAP + gamma fallback.
- Feature re-calibration — Adjust or re-train the private model on 60s paths.
- Scratch & risk re-tuning — Re-optimize conviction decay rules under the smoother series.
- Shadow + small live size — Validate before returning to previous clip sizes.
6. Bottom line
The strategy’s core insight remains valid: forecast the same TWAP Polymarket settles on, enter in the mid-band, and actively cull weak tickets.
What changes on August 14 is the definition of that TWAP for 5-minute markets (30s → 60s). Because this bot is a pure BTC 5m specialist whose signal, reference price, and resolution logic are all built on the 30s feed, the update is not optional infrastructure work — it is a change to the target variable itself.
Bots that only swapped the feed subscription without re-calibrating the model and scratch logic will likely see their held-side edge deteriorate. Bots that treat the 60s series as a new primary price path and re-tune accordingly can stay aligned with settlement.
Not financial advice. Short-horizon markets remain high-risk; past sample metrics are not guarantees under the new averaging window.
Top comments (0)