Two cards on a dashboard can both be right. One says HYPE's share of swap volume rose from 0.13% to 0.29%. The other shows that fewer dollars went through swaps involving HYPE.
I'd expect a bug report. The first thing I'd check is the denominator.
In its September 2026 review of HYPE activity, ChangeNOW reported that the token moved from #44 to #39 on its platform and that its share of total swap volume rose from 0.13% to 0.29%. Those percentages describe activity on one service. If all I have are the two shares, I still need the underlying volumes to tell whether HYPE activity grew in dollar terms. ChangeNOW's analysis of HYPE swap activity
Replay the numbers with a smaller denominator
Here's an invented pair of 24-hour windows that reproduces the reported percentages. The dollar amounts are for the example.
| Metric | First window | Second window |
|---|---|---|
| Volume involving HYPE | $130,000 | $116,000 |
| Total swap volume on the service | $100,000,000 | $40,000,000 |
| HYPE's share | 0.13% | 0.29% |
The share rose by 0.16 percentage points while HYPE volume fell by $14,000. Total volume fell faster, which gave HYPE a bigger slice of a smaller total.
A card that shows only the percentage hides that second fact. I'd put the absolute change next to it. In this example, the card would read 0.29% of swap volume · HYPE volume down $14,000. That gives the reader both numbers before they have to open a tooltip.
The same ticker can appear in three feeds
A dashboard might have a service's swap data, Hyperliquid spot data and Hyperliquid perpetuals data. One row can count swaps involving HYPE across the service's supported routes. A spot row measures trades in a specific pair. A perpetuals row measures trading in a contract. Each data feed defines its own set of events.
Hyperliquid's API makes the distinction visible. The docs identify the HYPE spot market on mainnet as @107. HYPE's token index is 150, a separate ID. Both the spot and perpetuals asset-context responses expose a field named dayNtlVlm, but the requests are different. Spot uses spotMetaAndAssetCtxs. Perpetuals use metaAndAssetCtxs. If an ingestion job stores the data under HYPE:volume, a later import can put two kinds of activity in the same series. Hyperliquid asset IDs · Spot contexts · Perpetuals contexts
Direction matters within the swap feed, too. ChangeNOW's review breaks out routes into HYPE, routes out of HYPE, and HYPE-to-HYPE activity. A swap from SOL into HYPE and a swap from HYPE into SOL can both count toward "volume involving HYPE." Only the first belongs in a chart labeled "swaps into HYPE." I'd keep the input and output assets on the event and derive the two views from those fields. That also gives HYPE-to-HYPE swaps their own bucket if the question is how much activity moved into or out of the asset.
Check the window before drawing the badge
The ChangeNOW review covers data from June through September and flags September as incomplete at publication. That's easy to lose when an importer turns every monthly record into the same chart point. A point labeled "September to date" is useful on its own. A change badge against the whole of August needs two comparable periods. For a month-to-date comparison, I'd match the elapsed time in each month and show both cutoff dates.
In this example, the card compares complete windows of equal length. The series key identifies the source, which events count, the currency, and the calculation version. The query that selects the records also aligns the window boundaries. The function checks the two inputs before the card shows a change.
function compareVolumeShare(before, after) {
function valid(row) {
return Number.isFinite(row.assetVolume) &&
Number.isFinite(row.totalVolume) &&
row.totalVolume > 0 &&
row.assetVolume >= 0 &&
row.assetVolume <= row.totalVolume
}
if (
before.series !== after.series ||
before.windowMs !== after.windowMs ||
!before.complete ||
!after.complete ||
!valid(before) ||
!valid(after)
) {
return null
}
const previousShare = before.assetVolume / before.totalVolume
const currentShare = after.assetVolume / after.totalVolume
return {
shareDeltaPoints: (currentShare - previousShare) * 100,
assetVolumeDelta: after.assetVolume - before.assetVolume,
totalVolumeDelta: after.totalVolume - before.totalVolume,
}
}
The regression test uses the two rows from the table. It also checks what happens when the same second window is still in progress.
const assert = require("node:assert/strict")
const base = {
series: "example-swaps:HYPE:involving-asset:usd:v1",
windowMs: 86_400_000,
complete: true,
}
const before = {
...base, assetVolume: 130_000, totalVolume: 100_000_000,
}
const after = {
...base, assetVolume: 116_000, totalVolume: 40_000_000,
}
const change = compareVolumeShare(before, after)
assert.equal(change.shareDeltaPoints.toFixed(2), "0.16")
assert.equal(change.assetVolumeDelta, -14_000)
assert.equal(change.totalVolumeDelta, -60_000_000)
assert.equal(
compareVolumeShare(before, { ...after, complete: false }),
null,
)
For the complete window, the card can show share +0.16 pp · volume −$14k. For the partial window, I'd show the observed share with "through 14:00 UTC" and leave the change badge blank. That way the reader can still see what happened today without mistaking it for a full day's activity.
Top comments (0)