What is measured, what the totals allow, and one benchmark pattern — per fiscal year
Exploratory, and outside the thesis argument. This page belongs to Beyond the thesis. It is related to the thesis but is not part of its question, hypotheses or evidence. All computed figures are provisional.
This page separates three things that are easy to confuse:
Measured: how much each member sold or bought in each fiscal year (official IMF Schedule-3 net margins).
Allowed: for any seller–buyer pair, the range of flows those totals permit. Every range starts at zero.
Assumed: one benchmark pattern inside those ranges (a maximum-entropy scenario), drawn as the network map, and the U.S. Treasury’s dated sales, which are the only observed pairings.
NoteSources and definitions
Margins for FY2022–FY2026 come from IMF Schedule 3; FY2026 uses the IMF’s FY2026 audited financial statements (year ended 30 April 2026), published with the Annual Report 2026. The IMF’s Annual Update on SDR Trading Operations 2026 (completed 18 September 2026 and posted on the IMF’s website on 2 October 2026) reports SDR 3,435m of sales through the voluntary trading arrangements against SDR 8,926m of acquisitions (SDR 8,071m through the arrangements and SDR 855m from the IMF’s General Resources Account) for September 2025–August 2026. Totals here are net trades flows during each fiscal year, distinct from the net-position stocks (holdings − allocation at a date) shown on the Beyond the thesis and Dashboard charts; a member’s annual flow and its end-date stock are related but never identical. The prescribed-holders node is a balancing entry the accounting requires; its side (buyer or seller) can flip between years. Region-level claims and their bounds through the full constraint ladder are on the Beyond the thesis and Evidence pages.
nw_edges =transpose(nw_edges_raw)nw_regionOf =newMap(transpose(nw_nodes_raw).map(d => [d.member, d.region]))nw_fmt = d3.format(",.0f")// dark-surface categorical palette — validated (lightness band, chroma floor,// CVD separation, contrast) against a dark surface; fixed assignment order.// The map keeps its own dark panel in both site themes (warm near-black from the site's dark palette).nw_pal =newMap([["Africa","#df5b66"], ["Asia & Pacific","#309fc4"], ["MECA","#d0702a"], ["Europe","#7a70e6"], ["W. Hemisphere","#a3872b"], ["Prescribed","#8a9aa8"], ["Other","#8a9aa8"]])nw_ink ="#EDE6DC"; nw_inkMuted ="#A89D92"; nw_surface ="#1C1815"nw_reduceMotion =window.matchMedia("(prefers-reduced-motion: reduce)").matches// direction pair — validated against the same dark surfacenw_out ="#e05c4f"; nw_in ="#279e84"// observed (Treasury-named) sales: near-white, distinct from every regional huenw_obs ="#FAF6F0"nw_colorOf = m => nw_pal.get(nw_regionOf.get(m) ??"Other") ??"#8a9aa8"// singular proper nouns ending in s still take 's; plurals take the bare apostrophenw_poss = m => m + (m.endsWith("s") &&!["Cyprus","Honduras","Mauritius","Barbados"].includes(m)?"\u2019":"\u2019s")nw_pct = p => p <0.005?"<1%": d3.format(".0%")(p)// full-year (untruncated) sold/bought per member \u2014 true denominatorsnw_totals =newMap(transpose(nw_totals_raw).map(d => [d.fy+"|"+ d.member, d]))nw_totFor = (fy, m) => nw_totals.get(fy +"|"+ m) ?? {sold:0,bought:0}// market size per year: total net sales (= total net purchases)nw_T = d3.rollup(transpose(nw_totals_raw), v => d3.sum(v, d => d.sold), d => d.fy)// margins-only range for one seller -> buyer cell (transportation-polytope bounds)nw_range = (fy, sold, bought) => ({lo:Math.max(0, sold + bought - (nw_T.get(fy) ??0)),hi:Math.min(sold, bought)})nw_regions = ["Africa","Asia & Pacific","Europe","MECA","W. Hemisphere","Prescribed","Other"]nw_regOf = m => nw_regionOf.get(m) ??"Other"nw_regTot = fy => nw_regions.map(r => {const rows =transpose(nw_totals_raw).filter(d => d.fy=== fy &&nw_regOf(d.member) === r);return {region: r,sold: d3.sum(rows, d => d.sold),bought: d3.sum(rows, d => d.bought)};})// Treasury-observed U.S. sales as links (gross events, FY with a named-counterparty check)nw_obsLinks = fy =>transpose(nw_evcheck_raw).filter(d => d.fy=== fy && d.matrix_node).map(d => ({seller:"United States",buyer: d.matrix_node,value: d.sdr_m_hi,observed:true,counterparty: d.counterparty,n_events: d.n_events,usd: d.treasury_usd_m,lo: d.sdr_m_lo,hi: d.sdr_m_hi}))ForceGraph = (awaitimport("https://esm.sh/[email protected]")).default
nw_measured = {const t =transpose(nw_totals_raw).filter(d => d.fy=== nw_fy);const sellers = t.filter(d => d.sold>0.5).sort((a, b) => b.sold- a.sold);const buyers = t.filter(d => d.bought>0.5).sort((a, b) => b.bought- a.bought);const T = nw_T.get(nw_fy);const top = (arr, k) => arr.slice(0,3).map(d =>`${d.member} (${nw_fmt(d[k])})`).join(", ");returnmd`In FY${nw_fy}, **${sellers.length} members** were net sellers of SDRs, for a total of **SDR ${nw_fmt(T)}m**, and **${buyers.length} members** were net buyers of the same amount. Largest sellers: ${top(sellers,"sold")}. Largest buyers: ${top(buyers,"bought")} (SDR m). These totals are measured. The chart below adds them up by region.`;}
nw_sidesChart = {const data =nw_regTot(nw_fy).filter(d => d.sold>0.5|| d.bought>0.5);const xmax = d3.max(data, d =>Math.max(d.sold, d.bought)) ||1;return Plot.plot({width:Math.max(320,Math.min(width,860)),height:40+34* data.length,marginLeft:120,marginRight:60,x: {domain: [-xmax *1.15, xmax *1.15],label:"← sold (SDR m) bought (SDR m) →",labelAnchor:"center",tickFormat: d =>nw_fmt(Math.abs(d)),grid:true},y: {domain: data.map(d => d.region),label:null},marks: [ Plot.barX(data, {x: d =>-d.sold,y:"region",fill: nw_out,rx:3}), Plot.barX(data, {x:"bought",y:"region",fill: nw_in,rx:3}), Plot.text(data.filter(d => d.sold>0.5), {x: d =>-d.sold,y:"region",text: d =>nw_fmt(d.sold),textAnchor:"end",dx:-5,fill:"currentColor"}), Plot.text(data.filter(d => d.bought>0.5), {x:"bought",y:"region",text: d =>nw_fmt(d.bought),textAnchor:"start",dx:5,fill:"currentColor"}), Plot.ruleX([0]) ] });}
md`*Net sales (left) and net purchases (right) by region, FY${nw_fy}, from IMF Schedule-3 member margins.A region can appear on both sides because some of its members sold while others bought. The chartsays nothing about who traded with whom.*`
2. Allowed: the range the totals permit
The totals limit each pairing from above but not from below. A seller cannot have sent a buyer more than the smaller of its sales and the buyer’s purchases. The smallest flow the totals force on a pair is its sales plus the buyer’s purchases minus the whole market, if that is positive.
nw_rangeSummary = {const t =transpose(nw_totals_raw).filter(d => d.fy=== nw_fy);const S = t.filter(d => d.sold>0.5), B = t.filter(d => d.bought>0.5);let maxLo =0;for (const s of S) for (const b of B) maxLo =Math.max(maxLo,nw_range(nw_fy, s.sold, b.bought).lo);const rt =nw_regTot(nw_fy);let maxLoR =0;for (const a of rt) for (const b of rt) maxLoR =Math.max(maxLoR,nw_range(nw_fy, a.sold, b.bought).lo);return maxLo <0.5&& maxLoR <0.5?md`In FY${nw_fy} that minimum is **zero for every pair of members and every pair of regions**: no market participant is large enough to force a flow to any particular counterparty. The totals cannot show that any specific flow took place. The upper limits are real, and the table gives them for each pair of regions next to the benchmark's value.`:md`In FY${nw_fy} the largest forced minimum is **SDR ${nw_fmt(maxLo)}m** between members and **SDR ${nw_fmt(maxLoR)}m** between regions. The table gives each pair of regions' range next to the benchmark's value.`;}
The map draws one pattern that fits the totals: the maximum-entropy benchmark, in which every seller sells to every buyer in proportion to the buyer’s size. Its lines are not observed trades; the real pattern could be any other inside the ranges above. Where the U.S. Treasury names the buyers of its sales (FY2026), those observed sales are drawn as white lines curving the other way.
viewof nw_mode = Inputs.radio(["Benchmark and observed","Observed only"], {value:"Benchmark and observed",label:"Lines shown"})
nw_nodeCache =newMap() // persistent node objects -> positions survive year changesnw_dataFor = (fy, focus, mode) => {const yearLinks = nw_edges.filter(d => d.fy=== fy);// full year: tooltips & shareslet links = [...(mode ==="Observed only"? [] : yearLinks),...nw_obsLinks(fy)];// visible setif (focus) links = links.filter(d => d.seller=== focus || d.buyer=== focus);// nodes: every member active in the year (sized by measured volume), or, when a// country is isolated, that country and its visible counterpartiesconst active =transpose(nw_totals_raw).filter(d => d.fy=== fy && d.sold+ d.bought>0.5).map(d => d.member);const ids = focus? [...newSet([focus,...links.flatMap(l => [l.seller, l.buyer])])]: active;const nodes = ids.map(id => {if (!nw_nodeCache.has(id)) nw_nodeCache.set(id, {id});const n = nw_nodeCache.get(id);const tot =nw_totFor(fy, id);// full-year, not >=30m-truncated n.s= tot.sold+ tot.bought; n.sold= tot.sold; n.bought= tot.bought; n.soldTo= yearLinks.filter(l => l.seller=== id).map(l => [l.buyer, l.value]).sort((a, b) => b[1] - a[1]); n.boughtFrom= yearLinks.filter(l => l.buyer=== id).map(l => [l.seller, l.value]).sort((a, b) => b[1] - a[1]);return n; });const smax = d3.max(nodes, n => n.s) ||1; nodes.forEach(n => n.r=3+15*Math.sqrt(n.s/ smax));const vmax = d3.max(links, l => l.value) ||1;return {nodes,links: links.map(l => {const s =nw_totFor(fy, l.seller).sold, b =nw_totFor(fy, l.buyer).bought;return {...(l.observed? l : {}),source: l.seller,target: l.buyer,value: l.value,observed:!!l.observed,vn: l.value/ vmax,range:nw_range(fy, s, b),sShare: l.value/ (s || l.value),bShare: l.value/ (b || l.value)}; })};}
viewof nw_graph = {const el =html`<div style="background:${nw_surface}; border-radius:2px; overflow:hidden; max-width:100%"></div>`; el.value=null;// selected country (click)const W =Math.min(width,1120), H =640;let hover =null;const G =ForceGraph()(el).width(W).height(H).backgroundColor(nw_surface).nodeId("id").nodeVal(n => n.r* n.r/9).nodeCanvasObject((n, ctx, scale) => {const dim = hover && n !== hover &&!G.graphData().links.some(l => (l.source=== hover || l.target=== hover) && (l.source=== n || l.target=== n)); ctx.save(); ctx.globalAlpha= dim ?0.18:1; ctx.shadowBlur=0; ctx.beginPath(); ctx.arc(n.x, n.y, n.r,0,2*Math.PI); ctx.fillStyle=nw_colorOf(n.id); ctx.fill(); ctx.shadowBlur=0; ctx.lineWidth=1.1/ scale; ctx.strokeStyle= nw_surface; ctx.stroke();if (!dim && (n.r>9|| n === hover || n.id=== el.value)) { ctx.font=`${Math.max(11,12/ scale)}px sans-serif`; ctx.textAlign="center"; ctx.textBaseline="top"; ctx.fillStyle= nw_ink; ctx.fillText(n.id, n.x, n.y+ n.r+2.5); } ctx.restore(); }).nodePointerAreaPaint((n, color, ctx) => { // generous hit target ctx.beginPath(); ctx.arc(n.x, n.y,Math.max(n.r+4,9),0,2*Math.PI); ctx.fillStyle= color; ctx.fill(); }).nodeLabel(n => {const net = n.bought- n.sold;// full-year totals, not the >=30m subsetconst role = net >0.5?"net buyer": net <-0.5?"net seller":"balanced";const side = (arr, total, verb, color) => {if (total <0.5) return"";const hidden = total - arr.reduce((s, x) => s + x[1],0);return`<div style="margin-top:.35rem"><span style="color:${color}; font-weight:700">${verb}${nw_fmt(total)} SDR m</span><br>${ arr.slice(0,4).map(x =>` ${x[0]} · ${nw_fmt(x[1])}`).join("<br>")}${ arr.length>4?`<br> <span style="color:${nw_inkMuted}">+ ${arr.length-4} more counterparties</span>`:""}${ hidden >0.5?`<br> <span style="color:${nw_inkMuted}">+ ${nw_fmt(hidden)} in flows < SDR 30m</span>`:""}</div>`; };return`<div style="font:12.5px system-ui, sans-serif; color:${nw_ink}; background:#26211D; border:1px solid #3A332D; border-radius:2px; padding:.5rem .65rem; max-width:270px"> <b>${n.id}</b> · ${nw_regionOf.get(n.id) ??"Other"} · FY${el.__fyBox.v}<br> Measured FY net position (IMF Schedule 3): <b style="color:${net >=0? nw_in : nw_out}">${net >=0?"+":"−"}${nw_fmt(Math.abs(net))} SDR m</b> (${role}) <div style="color:${nw_inkMuted}; margin-top:.35rem">Benchmark split (assumed, not observed):</div>${side(n.boughtFrom, n.bought,"In — bought from", nw_in)}${side(n.soldTo, n.sold,"Out — sold to", nw_out)} <div style="color:${nw_inkMuted}; margin-top:.35rem">click to isolate</div></div>`; }).linkColor(l => {const sid = l.source.id?? l.source, tid = l.target.id?? l.target;if (l.observed) { // observed sales stay visible in every stateconst pivot = hover?.id?? el.value;const c = d3.color(nw_obs); c.opacity= hover && sid !== pivot && tid !== pivot ?0.25:0.95;return c.formatRgb(); }const pivot = hover?.id?? el.value;// hovered or click-isolated countryif (pivot) {if (sid === pivot) { const c = d3.color(nw_out); c.opacity=0.55+0.35* l.vn;return c.formatRgb(); }if (tid === pivot) { const c = d3.color(nw_in); c.opacity=0.55+0.35* l.vn;return c.formatRgb(); }if (hover) { const c = d3.color("#8a9aa8"); c.opacity=0.03;return c.formatRgb(); } }const c = d3.color(nw_colorOf(sid)); c.opacity=0.16+0.30* l.vn;return c.formatRgb(); }).linkWidth(l =>0.6+3.4*Math.sqrt(l.vn)).linkCurvature(l => l.observed?-0.3:0.22).linkDirectionalArrowLength(l =>3.5+4*Math.sqrt(l.vn)).linkDirectionalArrowRelPos(0.92).linkDirectionalParticles(l => nw_reduceMotion ?0:Math.max(1,Math.round(5*Math.sqrt(l.vn)))).linkDirectionalParticleSpeed(l =>0.0025+0.007* l.vn).linkDirectionalParticleWidth(l =>1.6+2.4*Math.sqrt(l.vn)).linkLabel(l => {const sid = l.source.id?? l.source, tid = l.target.id?? l.target;const box = inner =>`<div style="font:12.5px system-ui, sans-serif; color:${nw_ink}; background:#26211D; border:1px solid #3A332D; border-radius:2px; padding:.45rem .6rem; max-width:300px">${inner}</div>`;if (l.observed) returnbox(`<b>${sid}</b> sold → <b>${l.counterparty}</b> <span style="color:${nw_inkMuted}">· observed · FY${el.__fyBox.v}</span><br> <b>USD ${nw_fmt(l.usd)}m</b> in ${l.n_events===1?"1 sale": l.n_events+" sales"} (≈ SDR ${nw_fmt(l.lo)}–${nw_fmt(l.hi)}m), U.S. Treasury ESF ledger<br> <span style="color:${nw_inkMuted}">Gross sales: they confirm this pairing took place but set no floor on the net flow between the two.</span>`);returnbox(`<b style="color:${nw_out}">${sid}</b> sells → <b style="color:${nw_in}">${tid}</b> buys<br> Benchmark: <b>${nw_fmt(l.value)} SDR m</b> <span style="color:${nw_inkMuted}">assumed · FY${el.__fyBox.v}</span><br> Range the totals allow: <b>${nw_fmt(l.range.lo)}–${nw_fmt(l.range.hi)} SDR m</b><br> <span style="color:${nw_inkMuted}">${nw_pct(l.sShare)} of ${nw_poss(sid)} FY sales ·${nw_pct(l.bShare)} of ${nw_poss(tid)} FY purchases</span>`); }).onNodeHover(n => { hover = n ||null; }).onNodeClick(n => { el.value= (el.value=== n.id?null: n.id); el.dispatchEvent(newCustomEvent("input", {bubbles:true})); }).onBackgroundClick(() => { el.value=null; el.dispatchEvent(newCustomEvent("input", {bubbles:true})); }).cooldownTicks(160); el.__graph= G; el.__fyBox= {v:2022}; el.__wantFit=true; G.onEngineStop(() => { if (el.__wantFit) { G.zoomToFit(500,70); el.__wantFit=false; } }); invalidation.then(() => G._destructor&& G._destructor());return el;}
nw_update = {const el = viewof nw_graph, G = el.__graph; el.__fyBox.v= nw_fy;const t =nw_totFor(nw_fy, nw_graph);if (nw_graph && t.sold+ t.bought<0.5) { el.value=null;// focused member absent this year: reset rather than render a blank panel el.dispatchEvent(newCustomEvent("input", {bubbles:true}));returnmd``; }if (el.__focus!== nw_graph) { el.__wantFit=true; el.__focus= nw_graph; }if (el.__spread!== nw_spread) { el.__wantFit=true; el.__spread= nw_spread; }if (el.__mode!== nw_mode) { el.__wantFit=true; el.__mode= nw_mode; } G.d3Force("charge").strength(-(30+ nw_spread *1.4)); G.d3Force("link").distance(20+ nw_spread *1.2); G.d3Force("collide", d3.forceCollide(n => n.r+4+ nw_spread /12));// members with no drawn line (observed-only view, or flows < SDR 30m) would drift// off-canvas under the repulsion alone; a weak pull keeps them in frame G.d3Force("x", d3.forceX(0).strength(0.05)); G.d3Force("y", d3.forceY(0).strength(0.05)); G.graphData(nw_dataFor(nw_fy, nw_graph, nw_mode)); G.d3ReheatSimulation();returnmd``;}
md`*Fiscal year **FY${nw_fy}**${nw_graph ?` — isolated on **${nw_graph}**`:""}. Coloured lines: benchmark values ≥ SDR 30m, assumed, not observed bilateral trades${nw_mode ==="Observed only"?" (hidden)":""}. White lines: U.S. sales whose buyer the Treasury names${nw_obsLinks(nw_fy).length?"":" (none in this year)"}. Node size is the member's measured volume. Dots without lines are members that traded in the year but whose benchmark flows are all below the SDR 30m drawing threshold. Hover a country for its measured total; hover a line for its value and the range the totals allow. The table below is the accessible twin of the view.*`
Inputs.table( nw_edges.filter(d => d.fy=== nw_fy && (!nw_graph || d.seller=== nw_graph || d.buyer=== nw_graph)).sort((a, b) => b.value- a.value).map(e => {const s =nw_totFor(nw_fy, e.seller).sold, b =nw_totFor(nw_fy, e.buyer).bought;const r =nw_range(nw_fy, s, b);return {Seller: e.seller,Buyer: e.buyer,"Benchmark (SDR m)":Math.round(e.value),"Range allowed (SDR m)":`${nw_fmt(r.lo)}–${nw_fmt(r.hi)}`,"% of seller's FY sales":100* e.value/ (s || e.value),"% of buyer's FY purchases":100* e.value/ (b || e.value),Region:nw_regOf(e.seller) +" → "+nw_regOf(e.buyer)}; }), {rows:10,format: {"Benchmark (SDR m)": x =>nw_fmt(x),"% of seller's FY sales": x => x <0.5?"<1%":Math.round(x) +"%","% of buyer's FY purchases": x => x <0.5?"<1%":Math.round(x) +"%"}})
4. Observed check: the United States row
The benchmark above uses only each member’s net margin. Where an official source names the counterparties, the benchmark can be compared with what was observed. That is possible for the United States, whose Treasury publishes a dated ledger of its SDR purchases and sales.
nw_evcheck =transpose(nw_evcheck_raw)
nw_observed_check = {const rows = nw_evcheck.filter(d => d.fy=== nw_fy);if (!rows.length)returnmd`*In FY${nw_fy} the United States is a net buyer. Treasury's dated purchases for the year are listed in the gross-event ledger on the [Evidence](evidence.html) page; the benchmark above does not use them. The row-by-row check below applies to fiscal years in which the United States is a net seller (FY2026).*`;const tot = rows.find(d => d.counterparty==="All named U.S. sales");const parts = rows.filter(d => d !== tot).sort((a, b) => b.sdr_m_hi- a.sdr_m_hi);const f0 = d3.format(",.0f"), f1 = d3.format(",.1f");const nBuyers =transpose(nw_totals_raw).filter(d => d.fy=== nw_fy && d.bought>0.5).length;const bis = parts.find(d => d.matrix_node==="Prescribed holders");// what the Schedule-3 figure in the last column refers to, kept short for narrow screens// (for the BIS row the figure covers all prescribed holders: stated in the note below)const s3 = d => d === tot ?"U.S. net sales": d.schedule3_reference.includes("net sales") ?"net sales":"net purchases";const table = Inputs.table([...parts, tot].map(d => ({"Named by Treasury":`${d.counterparty==="Bank for International Settlements"?"BIS": d.counterparty} · ${d.n_events===1?"1 sale": d.n_events+" sales"}`,"Treasury (USD m)": d.treasury_usd_m,"Converted (SDR m)":`${f1(d.sdr_m_lo)}–${f1(d.sdr_m_hi)}`,"Benchmark (SDR m)": d.benchmark_cell_sdr_m,"IMF Schedule 3 (SDR m)":`${f0(d.schedule3_reference_sdr_m)}${s3(d)}` })), {layout:"auto",select:false,format: {"Treasury (USD m)": x =>f0(x),"Benchmark (SDR m)": x =>f0(x)}});returnhtml`<div> <p>In FY${nw_fy} the United States is a net seller of <b>SDR ${f0(tot.schedule3_reference_sdr_m)}m</b> (IMF Schedule 3). Treasury's ledger records <b>${tot.n_events} U.S. sales</b> in the IMF's fiscal year and${tot.us_purchase_events_in_window===0?"no purchases": tot.us_purchase_events_in_window+" purchases"}. Converted at the IMF's official dollar rate on each transaction date, those sales total <b>SDR ${f0(tot.sdr_m_lo)}–${f0(tot.sdr_m_hi)}m</b>: the two official sources agree to within rounding. The benchmark spreads the same total across ${nBuyers} buyers and places only SDR ${f0(tot.benchmark_cell_sdr_m)}m (${d3.format(".0%")(tot.benchmark_cell_sdr_m/ tot.schedule3_reference_sdr_m)}) on these counterparties. For this year, read the benchmark's United States edges as a margins-only reference, not as the pairing.</p>${table} <p style="font-size:.92em; color:var(--c-muted); margin-top:.9rem">"Converted" is each sale at the IMF's official dollar rate on its date; "Benchmark" is the scenario cell from the United States to that counterparty.${bis ?html`The Bank for International Settlements is an intermediary: prescribed holders' net purchases in the year were SDR ${f0(bis.schedule3_reference_sdr_m)}m, so that sale identifies the first counterparty, not the final buyers.`:""} Treasury reports dollars rounded to the nearest million and the ledger carries no SDR amounts; the SDR range here converts each event at the IMF's daily rate and carries the rounding through. These are gross events: they validate the benchmark and create no floor on any net bilateral cell.</p></div>`;}
The Layer 1 working document (13 July 2026) records the staged-source construction, schema, validation checks and interpretation limits of the trust-layer data. Its lending figures predate the later refreshes; current values are on the Thesis and Dashboard pages.
Built with force-graph (MIT, canvas) — node positions persist as you scrub years, so the market morphs rather than reshuffles. Data: Schedule-3 net margins (measured), the ranges they imply, and the Layer-7 per-fiscal-year maximum-entropy benchmark (assumed); methodology on the Beyond the thesis page.