Methodology
Every published Sento FX number is produced by deterministic rules pinned by automated property and golden tests. Existing records are never edited in place; methodology changes take effect under a new version number from a stated date.
1. The Daily Reference Fix (v1, and v2 from 2026-11-26)
One row per currency per UTC calendar day. Database triggers reject UPDATE, DELETE, and TRUNCATE on the fix table; corrections insert a new row carrying revised=true and supersedes=<id>.
Official rate
Collected directly from each central bank's published reference table (local currency units per USD). The most recent observation on or before the fix date is selected, and its date is recorded in official_asof. Business days are Monday to Friday with no holiday calendar: an observation older than 1 business day carries official_stale (still used), while an observation older than 5 business days carries official_missing and omits the official leg and premium.
Street rate
Captured from public USDT against local-currency peer-to-peer order books every 5 minutes across the ±15-minute window (7 snapshots). Within each capture and venue, the best-ranked 5 buy and sell adverts are kept and pooled across captures and venues. Each pooled side is trimmed by dropping quotes further than 3.0 median absolute deviations (MAD) from the side median (when MAD > 0). The side value is the median of remaining quotes, and street_mid is the arithmetic mean of the two sides (or the single populated side if the other is empty). A venue that publishes one rate without a two-sided book joins both sides. n_quotes counts (once each) the distinct kept ads that entered street_mid after trimming.
Parallel premium
Defined as premium_pct = street_mid / official − 1 (stored as a fraction in feeds, e.g. 0.042 for +4.2%). Null whenever either leg is null or the official rate is non-positive.
Tanzania placeholder dating (Methodology v2, effective 2026-11-26)
The Bank of Tanzania's table (botz) populates unpublished dates with its last known rate and overwrites them once a new rate is published. From version 2 (2026-11-26), official_asof for TZS walks back across contiguous equal-rate days to the first day that rate appeared (dating weekend starts to the following Monday, never after the fix date). An unchanged rate can therefore look older and trigger official_stale, never newer than publication. Before that version, official_asof for TZS could be later than the date of the rate, and weekend rows reconstructed before 2026-11-24 may carry the following Monday's rate. Rows prior to 2026-11-26 retain version 1 unchanged.
Quality & revision flags
| Flag | Condition & Effect |
|---|---|
| official_stale | The official rate used is older than 1 business day; official_asof records its publication date. |
| official_missing | No official rate within 5 business days; official and premium_pct are null. |
| venue_missing | An expected peer-to-peer venue for this currency returned no quotes in the window; venues lists what was used. |
| thin_book | A side averaged fewer than 5 kept ads per capture (or was empty); the fix uses what exists. |
| no_street | No street quotes were observed in the window; street_mid and premium_pct are null. |
| no_fix | Neither an official rate nor any street quote was available; the row is published with null values and an explicit reason. |
| revised | This row corrects an earlier row (supersedes); the earlier row is never edited or deleted. |
History prior to 2026-09-22 & raw quote retention
Live multi-capture order books start on 2026-09-22. Earlier days are reconstructed from one imported daily street mid per currency under venue sento-legacy and therefore carry thin_book and venue_missing with n_quotes = 1. Every captured quote is stored permanently so future methodology versions can be recomputed over identical inputs.
2. Move-Risk Meter
A calibrated historical frequency of large exchange-rate moves over the next 21 trading days. It is transparent, with no fitted parameters, and verifiable by hand.
Estimator
Over a source-deduped daily close series (official central-bank rates where collected, licensed daily FX series elsewhere), let fwd(t) = ln(close[t + 21]) − ln(close[t]). For thresholds 2% (0.02) and 5% (0.05), the event indicator |fwd| > threshold is shifted forward by 21 trading days so only windows that have already closed at date t enter the trailing 252-trading-day rolling mean (minimum 60 observations).
History-relative risk buckets
Each pair's current probability is ranked against its own historical rolling series: LOW (<40th percentile), ELEVATED (40th to 80th percentile), and HIGH (>80th percentile), ensuring structurally volatile currencies are not permanently labelled high risk.
Out-of-sample validation & confirmation record
- Primary set: Pooled Brier skill score +0.126 against a static base rate across 8 years of non-overlapping walk-forward windows on seven African currency pairs, for moves larger than 2%.
- Independent liquid set: Pooled Brier skill +0.082 across 12 liquid pairs that played no part in designing the meter, for moves larger than 2%.
- Challenger confirmation (not adopted): A two-input logistic challenger combining the meter with 21-day realized volatility was tested under a pre-registered confirmation rule (pass bar ≥ +0.03 Brier skill) across 41 unseen USD pairs. It achieved +0.011 overall and 0.000 in managed/frontier pairs at the 2% level, so the transparent rolling frequency was retained unchanged.
- Known limitation: At the 5% level there are too few independent events to claim the same skill. The meter can also overstate at the extremes: in the confirmation test, where it said 66% the move happened 57% of the time. Any adjustment needs its own out-of-sample test.
3. Break-Warning Research & Evaluation Standards
Research onlyWhether a high or widening street premium warns of an impending official-rate break (>5% move in 21 trading days) is an open empirical test, not a shipped feature. To prevent hindsight selection, both readiness and pass rules are fixed before sufficient events exist:
- Readiness gate: At least 30 official break events (>5% in 21 trading days) with street-premium observations recorded beforehand across at least 8 currencies. Until then, the test script reports not yet testable.
- Pass gate: Pooled Brier skill score versus the Move-Risk Meter ≥ +0.05 with the 90% block-bootstrap confidence interval entirely above zero, and out-of-sample AUC > 0.6.