Skip to content

How pricing works

Every figure in dalubank — your NAV, each balance, each position — is a US dollar value built from two things: how much of a token you hold, and what that token is worth. This page explains where those prices come from, why some holdings show as unpriced, and why the dollar base never changes even when you view your portfolio in another currency.

Provenance: every value can be explained

dalubank never stores a bare number. Each valued row records which price source it used, which rate, and when — so any stored NAV can be re-explained from its own recorded data, without re-fetching anything. This is why a figure from last week still means exactly what it meant then: the inputs behind it are kept, not just the result.

Where prices come from

dalubank prices most tokens from two independent sources and cross-checks them, so no single feed is a single point of failure:

Source Role Covers
DefiLlama Primary Aggregated market prices for standard tokens across supported chains.
Chainlink Cross-check On-chain price feeds, used to confirm and back up the primary source.
Exchange ticker CEX assets For centralized-exchange holdings, the venue's own price feed (normalized to USD).

When more than one source has a price, dalubank picks the best available by confidence — a fresh, high-confidence market price is preferred, with the on-chain feed as backup. Prices flagged stale or low-confidence rank below fresh ones.

Not every token is priced the same way

Some tokens aren't priced by a direct lookup, because their value is derived from something else:

  • Plain tokens (USDC, ETH, and standard ERC-20s) get a direct USD price from the feeds above.
  • Receipt / vault tokens — a share in a yield vault (ERC-4626, Fluid fTokens) — are worth more than the token count suggests, because the vault keeps earning. dalubank reads the vault's on-chain exchange rate and values the token as rate × underlying price, so accrued yield is captured automatically.
  • Reward tokens you've accrued but not yet claimed are priced like plain tokens.

You don't need to think about these categories day to day — they just explain why a vault share can be worth more than one dollar even when the underlying is a dollar stablecoin.

When a holding is unpriced

Occasionally no reliable price exists for a token at a given moment — some Pendle principal tokens, for example, are legitimately unpriceable at times. When that happens dalubank marks the holding unpriced and excludes it from totals rather than guessing a number that would quietly distort your NAV.

This is the honest choice, and it's usually brief and self-correcting. Its main visible effects:

  • A holding may show as unpriced for an interval, then reappear once a price is available.
  • The holding keeps its place; what suffers is its return for that stretch. A small gap is marked estimated; if an unpriced token is a material part of a position, the return for that period is withheld — reported as unavailable, with the reason, rather than as a garbage number or a misleading 0%. See When a number cannot be stated.

Why your NAV might not match a wallet to the cent

The usual reasons are all pricing-related: something is unpriced and left out of the total, a receipt/LP token is counted as its position rather than separately (so it isn't double-counted), or the latest hourly snapshot hasn't run yet. The FAQ covers this in more detail.

Advanced: choosing among sources

When several sources price the same token, dalubank picks the best by confidence by default — and that's right for almost everything. For the occasional token the default handles poorly (thinly traded, noisy, or better trusted from one source), an operator can set a price policy — average the sources, use a time-weighted average, or restrict to a single feed. See Price policies.

USD is the base — currency is a display choice

dalubank values and stores everything in US dollars. When you view a portfolio in EUR or GBP, nothing in the underlying record changes — dalubank converts the dollar values to your chosen currency at read time, using the exchange rate that applied at each point in time.

That's a deliberate design: keeping one honest dollar base is what lets every figure stay re-explainable and history stay stable. Switching your display currency never rewrites the past; it re-expresses it. See Display currency for how to change it and what to expect.