r/algobetting • • 4d ago

Built a change-only SQLite odds & USD limit history tracker for Pinnacle and Asian books, looking for feedback on noisy moves

In my previous post I mentioned building out my own odds feed, and one issue I kept running into with 4-hour in-memory charts was that you lose the full story from market open to kickoff, and you can't see whether limits are actually growing behind a line move.

To test that properly, I put together a change-only SQLite ledger for pre-match football across Pinnacle and Asian books (SingBet, SBOBET, 188bet, M88, 12bet). Instead of polling snapshots, it only writes a row when a price or max risk limit actually changes, tracking 1X2, Asian handicap, totals, and 1st half markets within ±0.5 of the main line up to 14 days out.

Right now the view tracks:

  • Opening to current line deltas alongside Pinnacle max limit growth (in USD)
  • Which book moved first vs who lagged behind
  • Main line shifts split into opening, pre-match, and matchday phases, spaced by change event so flat periods don't stretch the chart
  • Server-side rule matching (market, min probability move, cross-book steam, min USD limit and multiplier, major leagues only, or hours to kickoff) with webhook notifications

I also added a small hysteresis threshold so the main line doesn't keep flipping back and forth between two close handicaps, though I'm still tuning it. If anyone tests the new view and spots noisy steam flags, broken main-line switches, or weird limit jumps, let me know so I can tighten the thresholds.

u can test it here https://edgesniper.com/en/sharp-moves

4 Upvotes

18 comments sorted by

1

u/Any-Aide-1230 4d ago

On the hysteresis, one thing that tends to help is requiring the new main line to hold for a minimum time or a minimum number of change events before it switches, not just a price gap, since Asian books often flicker between two handicaps while quoting both. For noisy steam, I'd also weight by limit size, because a move on a tiny limit is much more likely to be one trader than a market view. Are you checking how often a flagged move is still standing at kickoff, or is the flag judged only at the moment it fires?

2

u/t1cklishp1ckle 4d ago

Pushed an update based on your notes:

- Main line hysteresis: added a 2-scan / 120s dwell requirement on top of the 0.08 price-gap check before committing a main line switch.

- Limit-weighted steam: steam now scales with Pinnacle USD limit size ($1k = 1.0x, capped at 2.0x) and filters out low-limit noise so small opener moves don't trigger the flag.

- Kickoff hold rate & CLV: Hit Rate now tracks all 2+ pt moves into kickoff including full reversals (277/436 held at kickoff over the last 7 days), and sent alerts check their kickoff closing price and CLV once the match starts.

1

u/Any-Aide-1230 4d ago

Nice, 277/436 holding into kickoff is a really useful number to have. Curious, is this just for your own betting or are other people using it (or paying for it)? And now that the flags are tighter, what part of keeping it running eats the most of your time?

1

u/t1cklishp1ckle 3d ago

It started out just for my own betting, then I opened it up as a free beta so other people could use it and help catch issues. No paywall right now while I'm still tightening things up, just a small group of regular users giving feedback.

Since I pull all the bookmaker feeds myself instead of using third-party odds APIs, most of my time goes into keeping the feeds running, making sure teams, lines, and markets match up properly, and handling the server-side work. Maintaining the other features alongside sharp moves, especially things like the player props matrix, takes up most of the remaining hours.

1

u/Any-Aide-1230 3d ago

Thanks for the detail. Feed upkeep eating most of the hours is the usual price of pulling the books directly. If someone else kept the team and market matching clean for you, would that be a $20 a month thing or more like $100 for what you run?

1

u/t1cklishp1ckle 2d ago

For where things are right now, $15–$20/mo sounds much more reasonable than $100. The project isn't monetized yet, and matching is only one piece of the puzzle keeping all the feeds, props/alt-line edge cases, and server logic stable still takes most of the work.

1

u/Any-Aide-1230 2d ago

That's really helpful, thanks for giving an actual number. Out of curiosity, at $15 to $20 a month, what would it have to cover for you to actually pull the trigger? Just the team and market matching as an API, or matching plus alerts when a book changes its feed format? Trying to understand which piece is the one that eats your weekends.

1

u/t1cklishp1ckle 4d ago

Yeah, all three are fair points.

On the main line, right now it only checks a 0.08 price-imbalance gap against the previous line, with no dwell time or consecutive-update count yet. Adding a short hold window or requiring a couple ticks before switching makes a lot of sense for Asian books flickering between adjacent handicaps.

Same on steam. Right now it just counts 3+ books moving 2%+ in the same direction over a 2h window. Min USD limit and limit multiplier are only separate filters on alerts (plus shown on the row), not weighted into the steam flag itself, so a low-limit opener move and a high-limit move get counted the same way there.

For kickoff vs fire time, alerts trigger at the moment the rule matches and we don't track how often a mid-week alert reverses before kickoff. The hit rate view does use the final pre-kickoff price vs opening, so anything that fully reverts before close drops out of those numbers, though measuring hold rate specifically from alert time to kickoff is still missing.

1

u/PlotTwistEnjoyerr 4d ago

The hold rate from alert time to kickoff matters most to me. A steam flag that fires mid-week and reverts by Saturday is just noise for anyone who acts on the alert. I keep Biggerz, Chexx and Shuffle open next to Pinnacle, and the soft books often lag 20-40 minutes after an Asian move.

If your ledger already logs who moved first, adding a couple of retail books as "lag only" sources would show how long a move stays available after the alert fires. I

The 0.08 imbalance gap with no dwell time also explains the flicker.

Two ticks in a row before switching sounds like enough. would pay attention to that number more than to the hit rate.

1

u/t1cklishp1ckle 4d ago

Agreed on the two-tick dwell, and i added lag-duration tracking based on this:

- Two-tick dwell: main line now requires 2 consecutive scans (120s) before switching.

- Lag-only retail tracking: soft books (including Biggerz and Shuffle; don't have Chexx yet) are now tracked strictly for lag without touching sharp steam or who-moved-first rankings.

- Catch-up window: after Pinnacle drops 1.5%+, we log how many minutes retail books stay 0.5%+ above Pinnacle fair odds, count genuine retail price cuts separately from Pinnacle reversals, and show open minutes, recent catch-ups, and per-book median lag times in the Lagging Books tab.

1

u/AdFabulous401 4d ago

Per-book median lag is the stat I've wanted for a long time.

Right now I only guess which soft book is slowest from my own memory of a few games. If you can show that number by league too, I would use the tab every matchday.

1

u/t1cklishp1ckle 4d ago

I will work on this feature tomorrow, ill make it happen

1

u/t1cklishp1ckle 3d ago

Added the per-league breakdown and pushed it live:

- Lagging Books tab: when enough moves settle in a match's league, each book shows its league-specific median catch-up time alongside the slowest books header for that league.

- Hit Rate panel: added a league selector under the Soft book lag window section so you can switch between overall and per-league medians.

League-level buckets just started accumulating from today's scans, so individual leagues will start filling in over the next few hours as moves settle.

1

u/AdFabulous401 3d ago

Broo, u r legend

1

u/ParallaxSignal1 7h ago

Really impressive work, the structure and the lag tracking are exactly what I've been trying to measure myself.

A few questions, if you don't mind:

  1. Feed source: you mentioned you pull the books yourself. Is that from the books' own sites, or via a broker/API (e.g. for Pinnacle and SBOBET)? How do you handle missed scans or stale prices?
  2. Scan frequency: how often is each book polled? With ~60s scans, I assume lag below a minute can't really be measured. Is there a higher-frequency mode for Pinnacle or the Asian books?
  3. Timestamps: are the change times your own fetch times or the books' own update times?
  4. Coverage: how deep is SBOBET and SingBet coverage in smaller leagues (lower divisions, Asia, South America)?
  5. Lagging Books: do you already have per-book median catch-up times for SBOBET and SingBet specifically? In my own manual checks they seem to follow Pinnacle within seconds to 1-2 minutes.
  6. Access: is there an API key or a data export (e.g. CSV of the change ledger) planned, and roughly what pricing are you considering?

Thanks, happy to share feedback from testing.

1

u/t1cklishp1ckle 5h ago

Thanks, glad you like it. Here's how it works:

  1. Feed source: I pull each book directly with my own collectors instead of using a third-party aggregator. Each book runs in its own loop with a freshness timestamp, so if a scan fails or lags, stale prices don't get written into the ledger as new moves and just age out until the next clean refresh.
  2. Scan frequency: It's split into tiers. Fast-lane books refresh sub-minute, while the full sweep that feeds the sharp-move ledger (Pinnacle, SingBet, SBOBET, 188bet, M88, 12bet) currently runs every 3-5 minutes. So yeah, sub-minute lag can't really be measured in the ledger right now, though I'm planning a faster loop specifically for Pinnacle and the Asian books.
  3. Timestamps: My own server fetch times (when my pipeline sees the change). Most books don't give reliable per-line update timestamps anyway.
  4. Coverage: Pretty deep for pre-match soccer. Over a 24-48h window it's usually around 185+ events / 65-90+ leagues on SBOBET and 290+ events / 95-130+ leagues on SingBet, including Asia, South America, and lower/youth divisions (Japan J3, Thai League 1 & 2, Vietnam L1, Regionalliga, Serie C, Chile Cup, Argentina Reserve, England U21, etc.).
  5. Lagging Books: Because the ledger sweep is 3-5 min right now, catch-up times are accurate for slower/softer books, but your manual check matches what I see. SBOBET and SingBet usually follow Pinnacle within seconds to 1-2 minutes, which falls inside a single sweep window. Once I speed up the Asian loop, per-book medians for those two will be much more useful.
  6. Access & pricing: I already have a REST API (/v1/events, /v1/surebets, /v1/valuebets, etc.) with per-book scoping in early access, and adding a CSV export for the change ledger is easy if people want it. Pricing is custom right now depending on the books and rate limits you need. Feel free to DM me if you want to test it out.

1

u/shkpablo 7h ago

I would love an api key