Skip to content
HOPIUM
An AI that admits when it's wrong.
model v3-12h-logreg-20261104
BTC......ETH......SOL......connecting to tape

case study, two minute read

By Kartavyaa Patel

Building a crypto model that is allowed to lose in public.

The problem

Crypto "signal" sellers show winners and quietly delete losers, so their track records mean nothing. I wanted to build the opposite: a forecaster whose every call is recorded before the outcome exists, graded automatically, and protected against edits by database rules, so its real skill (or lack of it) is visible to anyone.

The approach

Architecture

HOPIUM architecturePublic market data flows into hourly GitHub Actions jobs that predict and grade, write to Supabase Postgres, which the Next.js site on Vercel reads.PUBLIC DATABinance spot 1h candlesDeribit fundingFear & Greed index(all reachable from US runners)GITHUB ACTIONShourly: predict -> grade skip if > 18 min lateweekly: walk-forward check, leakage gate, retrainops output committed to gitSUPABASE POSTGRESpredictions (append-only) insert <= 20 min after close signal rule as CHECK grade once, never editrun_log / model_runsRLS: public SELECT onlyNEXT.JS ON VERCELread-only, anon keyreceipts, stats, labWilson CI, binomial testlive tape = display onlyRESEARCH (OFFLINE)39 configs, nestedwalk-forward6-month holdout,used oncefetchservice key (secret)readmodelgrading uses the same 1h closes

Decisions that mattered

Honest results

The first model was right 52.8% of the time and still lost 92.6% in simulation, because its edge was 15 times smaller than the fees. Retargeting to fee-sized moves produced a walk-forward result of +91.0% (compounded, three equal sleeves, entry at reference closes, 0.2% fees, no slippage) over 988 trades (Sharpe 1.27, 95% CI 0.02 to 2.50). The edge was concentrated in late 2024 and early 2025 and faded. On the locked holdout the model found nothing worth trading and made 0 trades. Label: Does not beat trading fees in testing.

What I would do next

See the live receipts or read how it works.