The practical approach is to use on-chain inflow and outflow data from services that support fiat off-ramping, then compare the dollar value of withdrawals with deposits for the same assets. That gives a macro-level estimate of realized gains or losses, not a perfect accounting result. The method is strongest for widely traded assets and should be presented as directional, not exact.
Why the estimate should be directional, not exact
The core challenge is that exchange activity shows movement of assets, not a complete tax ledger or a full profit-and-loss statement. Deposits, withdrawals, and off-ramp flows can reveal realized behavior at scale, but they do not reliably capture lot selection, internal transfers, fees, derivatives, or custody changes. The right framing is a macro estimate that is useful for trend analysis, not a claim of accounting precision.
Analysts should also be careful not to over-interpret a single venue or a single asset pair. Crypto users may spread activity across exchanges, bridges, wallets, and self-custody, so the observed exchange flow is only a slice of the economic picture. The method is strongest when the asset is liquid, heavily traded, and repeatedly moves through venues that support fiat conversion.
When the goal is to estimate realized gains, the best analytic unit is the aggregate flow pattern over a period, not a transaction-by-transaction reconstruction. That is why the conclusion should be expressed as “estimated realized gains or losses based on exchange-linked inflows and outflows” rather than as a precise realized-profit figure.
How to build a defensible macro estimate
Start with inflows and outflows for exchanges or services that plausibly support fiat off-ramping, then compare the dollar value of withdrawals against deposits for the same assets over the same period. The estimate is more credible when you normalize to the asset at the time of movement and focus on repeated patterns rather than isolated spikes. This helps separate market direction from simple wallet reshuffling.
For the most practical version of the method, analysts should define the scope up front: which exchanges, which assets, and which time window are in view. They should also distinguish realized flows from inventory movement, because assets may enter an exchange without being sold, or leave an exchange after a non-taxable transfer. The estimate improves when paired with liquidity and venue context, not treated as a standalone truth source.
Source quality matters. Data that includes known exchange clusters, fiat ramps, and high-confidence labeling is far more useful than broad blockchain movement alone. For analysts who need a technical baseline on API and exchange-control surfaces, OWASP API Security Top 10 is a useful reminder that data exposure and authorization weaknesses can distort what is observable in downstream analytics.
Where this method breaks down
The biggest error is treating all exchange flow as taxable realization. A large deposit can be a transfer from another wallet, a collateral move, or an operational reshuffle. Likewise, a withdrawal does not prove profit-taking. Without venue context, analysts can overstate precision by assuming every exchange interaction maps cleanly to a gain or loss event.
The second limitation is asset coverage. Widely traded coins tend to produce more reliable directional estimates because their exchange activity is easier to normalize and benchmark. Smaller or less liquid assets are harder to interpret, especially when price slippage, thin order books, and fragmented venue data create noisy signals. The estimate should become more conservative as market structure becomes less transparent.
For a broader controls lens, NIST Cybersecurity Framework 2.0 is relevant at the governance level because the same discipline that governs data quality, scope, and assumptions should govern this kind of financial analytics. If the input data is incomplete or ambiguous, the output must be labeled as an estimate, not a definitive accounting result.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 addresses the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP API Security Top 10 | API9 — Improper Inventory Management | Exchange-flow estimates depend on complete venue and asset inventory coverage. |
| Recommendation — Inventory all exchange and off-ramp data sources before estimating gains. | ||
| NIST CSF 2.0 | ID.AM-01 — Physical devices and systems are inventoried | A defensible estimate starts with knowing which venues and data sources are in scope. |
| GV.OV-01 — Results of monitoring and measurement are evaluated | The method requires evaluating whether the observed flows support the claimed level of precision. | |
| Recommendation — Define the asset and data inventory before drawing financial conclusions from flow data. Label the output as directional when monitoring data cannot support exactness. | ||
Practitioner Guidance
What to verify: Verify whether the exchange data actually reflects sell-side activity or only movement into and out of custodial venues. If you cannot tie flows to fiat off-ramping or other realizable behavior, reduce the confidence level of the estimate.
Common mistake: Do not present the result as a precise realized-gains calculation unless you have cost basis, lot-level attribution, and complete venue coverage. Exchange flow analysis is best used to estimate direction, magnitude, and timing of realized behavior.
Practitioner takeaway: The safest framing is “directional realized-gains estimate from exchange-linked flows,” because that preserves analytical value without implying accounting-grade precision that the underlying data cannot support.
Related resources from NHI Mgmt Group
- How should security teams use cloud threat detection queries to hunt for known attacker activity without overwhelming analysts with noise?
- What are the signs that a cryptocurrency exchange’s AML monitoring is missing suspicious activity?
- How should compliance teams monitor cryptocurrency activity for possible sanctions evasion without overreading normal market behaviour?
- How should cryptocurrency compliance teams monitor Lightning Network activity without losing visibility into risk?