Positions¶
A position is a holding inside a protocol rather than a token sitting loose in your wallet. dalubank recognizes and values these types:
- Lending — supplied and borrowed assets (e.g. Aave, Morpho, Fluid).
- Liquidity (LP) — funds in a liquidity pool.
- Staking / farming — staked or farmed assets earning rewards.
- Vaults — ERC-4626 and similar yield vaults.
- Vesting / locked — assets under a lock or vesting schedule.
- Exchange perps — margin/futures positions on a centralized exchange, valued by their unrealized PnL.
Which protocols are recognized¶
dalubank has a purpose-built adapter for each protocol it understands, so it can read positions accurately rather than guessing. At the time of writing these include:
| Family | Examples |
|---|---|
| Lending | Aave V3, Aave V4, Morpho Blue, Fluid |
| Yield & structured | Pendle, f(x) Protocol, ERC-4626 vaults |
| Rewards | Merkl |
| Solana | Kamino |
| Exchanges | Bybit, Bitvavo, Kraken, Kraken Futures, OKX, Coinbase Prime, Hyperliquid (spot balances; margin/futures as perps on Bybit, OKX, Hyperliquid and Kraken Futures) |
New protocols and venues are added over time. If a holding lives in a protocol dalubank doesn't yet recognize, its tokens still appear as wallet balances where possible — it just won't be grouped as a position.
Legs: what's inside a position¶
Every position is made of legs — the individual tokens that compose it, each with a role:
- Supply / collateral — what you've put in.
- Borrow / debt — what you owe (shown as a negative contribution).
- Reward — tokens you've accrued but not yet claimed.
The position's net value is the supply side minus the borrow side. For a simple supply-only lending position, net value is just what you supplied plus accrued interest. For a leveraged position (supply ETH, borrow USDC), it's your net equity — collateral minus debt.
The position detail view¶
Drill into a position from the Overview to see:
- its net value, and its change over the period, flows excluded: the same figure, under the same word, as the Overview's row for it,
- a walk from its value at the period's start to its value at the end: deposits and withdrawals, rewards claimed to your wallet, what it earned (accrual, each reward program, borrow cost, funding, fees) and what moved (prices, peg noise, what can't be attributed). It adds up to the cent (see Performance & returns),
- each earning on its own base (accrual on the collateral, borrow on the debt, funding on the notional), at the rate it earns now beside the rate it realized over the period, so a rate that has just changed is visible immediately,
- its time-weighted return over the period and since it opened,
- its legs, rewards, trades and history, one tab each,
- the same return read in the position's own asset rather than in dollars, where the position has a natural denominating asset. An ETH position can show what it earned in ETH, which a dollar figure hides in any month when ETH fell. See Reading a position in its own asset.
A very small position shows not meaningful instead of a percentage, because a rate computed over a few dollars of capital is noise. Its dollar figures are still shown.
Unpriced legs¶
Occasionally a leg can't be priced from market sources (some Pendle principal tokens, for example, are legitimately unpriced at times). The position keeps its value; what changes is how its return for that stretch is reported. If the gap is small, the period is marked estimated. If a material leg is unpriced, the return for that period is withheld — shown as unavailable, with the reason — rather than reported as a number nobody should rely on, or as a misleading 0%. It resumes cleanly once pricing is available again. See When a number cannot be stated.
What's out of scope
On-chain perpetuals, options, and NFTs are not tracked as positions. Centralized-exchange perps are tracked (as exchange positions valued by unrealized PnL).