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
Parts 1–4 covered the live platform: TWAP60, CLOB V2, rate tiers, data, Combos.
This last post is the implementation map. What I already changed, what I expect to change next, and what I will not bolt on just because Polymarket shipped it.
Wallet: 0x12b712029efeee7efc4066e98e4e1b6beb8b1b0b
1. The Engine That Has to Absorb the Stack
Unchanged thesis:
BTC 5-minute specialist. Forecast official TWAP versus open. Enter 45–55¢. Scratch decay. Redeem the filtered book.
Changed environment:
- settlement window is 60s, not snapshot / leftover 30s
- orders are CLOB V2 only
- cancels/replaces sit inside volume tiers
- positions and PnL can lag the matching engine
- SDKs keep growing combo / protocol fields
The private signal stays private. The shell has to stay current.
2. Already Done
| Area | Change |
|---|---|
| Target | Treat live 5m as TWAP60 |
| Feed | RTDS path in twapFeed.ts, freshness required |
| Open pin | Same 60s series as live score |
| Execution | V2 CLOB in clob.ts
|
| Lifecycle | enter → re-score → scratch / redeem in engine.ts
|
| Default |
npm start dry-run; Windows trial binary |
| Public proof | profile + activity + walkthrough video |
If those are missing, there is no “next update.” There is a rebuild.
3. Expected Next Changes on My Side
These are the technical items I expect to keep tightening — not a new product:
Feed
- drop any remaining 30s comments/config as live defaults
- log
window_seconds=60on every slot - halt when
twap_tsis stale instead of falling back to CEX last
Signal ops, not signal disclosure
- refit scratch decay on post-Aug-14 slots only
- keep CEX mid in
cexFeed.tsas lead-lag - do not retrain labels on snapshot close
Access
- honor
Retry-After - fewer cancel/replace cycles
- reconcile by
trade_id/ client order id, not missing hashes - watch the signer’s volume tier before raising cadence
Ops
- compare local qty vs Data API qty every slot
- read live tick size from the market object
- parse new combo / protocol fields so discovery does not crash
- keep 5m capital ring-fenced
4. What I Am Not Building Next
Platform gravity will pull people toward:
- Combos as a second “alpha”
- Perps constants copied into CLOB
- multi-asset 5m spray
- 15-minute Kalshi ports with the same thresholds
- unified-SDK kitchen-sink bots
I am not doing those as core.
Combos and perps can exist in isolated adapters. They are not the BTC 5m engine. The public sample is still ~99% BTC and ~96% 5-minute for a reason.
5. The File-Level Map
| File | Current job | Expected pressure |
|---|---|---|
twapFeed.ts |
official TWAP stream | 60s-only default, stricter freshness |
signal.ts |
P(up) interface |
private weights; post-TWAP60 calibration |
cexFeed.ts |
auxiliary mid | stay auxiliary |
markets.ts |
5m discovery | resolution source + tick size checks |
clob.ts |
V2 orders | rate-tier + tradeID reconciliation |
engine.ts |
lifecycle | scratch retune on 60s path |
config.ts |
knobs / dry-run | no hardcoded 30s window |
The calibrated model does not ship. That is still the moat.
6. How I Will Know the Update Worked
Not from a headline.
From logs:
resolution_src = rtds_twap | gamma
window_seconds = 60
mid-band fills still dominate
sells still later than buys
429s rare, Retry-After respected
local qty == data_api qty
no snapshot-close labels on new slots
If those hold, the platform moved and the specialist survived.
If they break, I fix the adapter before I touch size.
7. Series Recap
- Part 1: Polymarket changed settlement, access, and data together
- Part 2: 5m crypto now pays 60s Chainlink TWAP
- Part 3: V2 CLOB + volume tiers + moving SDKs are the access gate
- Part 4: Data/Combos/infra can fake strategy decay
- Part 5: Keep the 5m specialist. Update the shell. Do not absorb every new product
One line:
Forecast the official TWAP path, buy it only near fair value, and refuse to carry weak tickets — on the current stack, not last July’s stack.
Links
- Repo: https://github.com/abrownfox0/abrownfox001-twap60-prediction-trigger-system
- Video: https://www.youtube.com/watch?v=XzhugRL6BV4
- Live activity: https://polymarket.com/@abrownfox001?tab=activity
Not financial advice. Paper or micro-size first. Confirm live market rules before you ship.
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 #TWAP #BTC #TradingBot #AlgoTrading #CLOB #PredictionMarkets #Chainlink
Top comments (0)