Reading the Crowd: How Cost Basis Distribution Reveals Market Tops and Bottoms

insights.glassnodeXuất bản vào 2025-08-21Cập nhật gần nhất vào 2025-09-08

Financial markets are shaped not only by fundamentals but also by the psychology of their participants. Across cycles, price swings are amplified by emotional extremes, with fear driving market sell-offs and greed fueling euphoric rallies.

On-chain data allows us to measure these emotions in economic terms, by observing when investors choose to realise their holdings at a profit or at a loss. Cost Basis Distribution (CBD) provides a breakdown of the supply of coins by their acquisition price and offers a unique lens into these decisions.

In previous research, we showed how spikes in loss-driven spending can identify local market bottoms. In this extended analysis, we reveal that the same methodology can be applied to profit-driven spending to identify local market tops. The result is a complete framework for detecting market extremes, from capitulation to euphoria.

Cost Basis Distribution - A Quick Recap

CBD reflects the total supply held by addresses with an average cost basis within specific price buckets. This, in effect, gives a clearer view of how investors’ cost bases shift over time due to buying or selling activity and allows mapping out the behaviour of market participants over time.

Tracking these upward and downward shifts helps us understand not only the sentiment behind buying and selling decisions, but also potential inflection points, where the market might pivot.

How to read CBD Heatmaps:

Color Intensity (Supply Distribution): A color scale, ranging from cooler shades (lower supply) to warmer shades (higher supply), shows where the token supply is concentrated. Example: A red band means a high supply at that particular price range. A green or blue band indicates a smaller supply.
Vertical Axis (Cost Basis): Each horizontal “slice” corresponds to a price range at which some portion of the token supply last moved.

The Psychology of Market Extremes: A Hypothesis

Market behavior is often shaped by the intense psychological pressure experienced by investors who are deeply underwater on their positions. Across various assets, we frequently observe that holders with significant unrealized losses tend to capitulate near local or global bottoms.This pattern suggests that forced selling, driven by emotional and financial distress, plays a key role in shaping market reversals.

Visualizing Capitulation in Action


Uniswap: Supply Redistribution at Local Bottoms
The Uniswap chart below illustrates a common CBD trend:

  • Supply originally accumulated near the $15 peak gradually shifts from warmer to cooler colors over time.
  • This color transition visually represents distressed investors selling their holdings at lower prices, a classic sign of capitulation.
  • As this supply changes hands at depressed levels, it often finds buyers willing to step in, potentially forming a local bottom.
Supply originally created at $15 gets gradually distributed as prices trend lower.

Maker: Repeating the Pattern
A similar pattern emerges with Maker (MKR):

  • Supply that was previously accumulated at a local top is eventually capitulated at lower price levels.
  • As market participants under extreme pressure liquidate their positions, we again see a turning point forming, suggesting that capitulation often aligns with the formation of local bottoms.
MKR supply accumulated during April 2024 local top is capitulated during Nov bottom

This pattern highlights the psychological cycles at play in the market, with confidence at the top, distress-driven selling at the bottom, and eventual opportunities for contrarian buyers.

From Bottoms to Tops: Observing the Other Extreme


After observing how CBD reveals patterns of capitulation at local bottoms, it is natural to ask whether the same perspective can be applied to the opposite end of the cycle, local tops.

If loss-heavy selling signals the exhaustion of sellers at market lows, then profit-heavy selling signals the exhaustion of buyers at market highs. Viewing the Cost Basis Distribution from a local top perspective allows us to spot moments when long-held profitable positions are being unwound into strength, a hallmark of market euphoria and distribution.

Bitcoin: Large-Scale Profit Realisation into Market Highs

In the months preceding the late 2024 surge, Bitcoin’s CBD heatmap shows a substantial band of supply forming in the $60k–$65k range. This reflects significant accumulation from buyers entering during a consolidation phase.

As the market broke out toward $90k and beyond, this concentrated supply began to unwind, with the warm accumulation colors fading as long-term holders sold into the rally, locking in substantial gains.

This pattern reflects classic distribution during euphoria:

  • Early entrants, sitting on sizable unrealised profits, start selling into strong demand.The wave of profit-taking coincides with peak momentum, often marking or preceding local market tops.
  • By identifying these large supply exits at elevated prices, CBD offers a clear on-chain view of when profitable cohorts are distributing into strength, a condition that can precede trend exhaustion.
Strong accumulation in the $60k–$65k range precedes a breakout, as supply in this band thins and holders sell into the rally.

XRP: Supply Redistribution at Local Tops


The XRP chart below illustrates a common CBD top formation pattern:

  • In the months leading up to the late 2024 rally, a large band of supply formed in the $0.60–$0.70 range (highlighted in red).
    This reflects a cohort of investors accumulating positions at relatively low prices.
  • As price surged above $2.50, supply in this band rapidly thinned, with warm colors fading as holders realized profits into the rally.
Heavy accumulation near the $0.70 range precedes a sharp breakout, as supply in this band declines while holders sell into rising prices.

This behaviour reflects mass profit-taking, often driven by a mix of greed and caution. Historically, such events have coincided with or slightly preceded market tops.

This pattern highlights the psychological cycles at play in the market, with confidence and profit-taking at the top, distress-driven selling at the bottom, and eventual opportunities these extremes create for contrarian investors.

From Observation to a Data-Driven Hypothesis


Market turning points, whether highs or lows, tend to occur when sell-side pressure reaches an extreme.

  • In downtrends, this is driven by fear and loss-realisation. At local bottoms, peak capitulation often marks the transition of supply from weak hands to stronger hands.
  • In uptrends, it’s driven by greed and profit-realisation. At local tops, peak profit-taking often signals a transfer from early, in-profit holders to late-cycle entrants.

Our hypothesis is that by measuring the magnitude and concentration of realised profits and losses, we can quantify these extremes and build symmetrical metrics for both tops and bottoms.

Constructing Market Excess Metrics

  1. Weighted Sell Volumes
    Not all profits or losses have the same psychological impact. A trader selling at a 50% loss experiences significantly more financial and emotional pressure than one selling at a 10% loss. To account for this, we apply a quadratic function to the difference between the average cost basis and the selling price. This weighting highlights extreme profit and loss events and minimizes the distraction of smaller, less impactful movements.
  2. Smoothing for Clarity
    Market data is noisy. To filter out one-off events and focus on sustained behaviour, we apply a 7-day exponential moving average (EMA) to the weighted sell volumes.
  3. Non-Linear Economic “Impact”
    Traditional realized PnL metrics treat each unit of profit or loss equally, but in reality the behavioral response is non-linear, with large outcomes having an outsized effect. Quadratic weighting ensures the metric captures the disproportionate impact of big wins and deep drawdowns.

Visualising Market Extremes: What the Data Reveals

  • Loss-weighted spikes aligns with major market bottoms.

Red line – Capitulation Metric: Measures loss-weighted selling pressure, with spikes indicating periods of intense distress and forced selling, often coinciding with local market bottoms.

  • Profit-weighted spikes aligns with major market tops.

Green line – Local Top Metric: Measures profit-weighted selling pressure, with spikes indicating periods of widespread profit-taking and market euphoria, often aligning with local market tops.


By quantifying both maximum pain and maximum greed, the Market Excess Metrics provide a symmetrical framework for spotting potential reversal zones.

  • Bottoms: Peak loss-realisation → sellers exhausted → potential rebound.
  • Tops: Peak profit-realisation → buyers exhausted → potential correction.

Conclusion

By refining how we measure extreme sell-side pressure, whether driven by distress or euphoria, the Market Excess Metrics transform on-chain data into a behavioral map of the market. While no single indicator can perfectly time reversals, combining these metrics with broader market context and technical analysis enhances the ability to navigate volatile conditions, whether aiming to buy the fear or sell the greed.

Do you want to get access to the source code?

Visit the Google Colab Notebook on how to extract CBD data from the API and create the capitulation and local top metrics. You just need to plug your API key and run the notebook.

Nội dung Liên quan

Loopring đóng cửa sàn DEX – Điều gì đã xảy ra với người tiên phong L2 của Ethereum?

Loopring, một giao thức lớp 2 của Ethereum, đã thông báo đóng cửa sàn giao dịch phi tập trung (DEX) của mình, đánh dấu sự kết thúc của một trong những nhà tiên phong lớp 2 sớm nhất. Nguyên nhân suy giảm chủ yếu là do sự sụt giảm kéo dài về lượng người dùng và hoạt động, cùng áp lực cạnh tranh từ các công nghệ zkEVM mới nổi. ZkEVM cho phép các ứng dụng Solidity hiện có triển khai dễ dàng mà không cần phát triển lại nhiều, thu hút hệ sinh thái và khiến giải pháp zkRollup chuyên biệt của Loopring trở nên kém hấp dẫn hơn. Điều này dẫn đến sự sụt giảm liên tục trong số địa chỉ hoạt động hàng ngày, khối lượng giao dịch, hoạt động DEX và phí giao thức trước khi đóng cửa vào ngày 28/6. Loopring chỉ ra các lý do khác bao gồm khả năng tổng hợp (composability) thấp, thực tiễn kinh doanh không tốt và việc hỗ trợ token LRC bị thu hồi trên một số sàn giao dịch. Tuy nhiên, công nghệ zkRollup cơ bản của Loopring vẫn được đánh giá cao về tính bảo mật và thông lượng cao. Tương lai của nó phụ thuộc vào việc liệu công nghệ này có thể được tích hợp và ứng dụng trong cơ sở hạ tầng Lớp-3 hoặc kiến trúc mô-đun hay không. Nếu thành công, di sản của Loopring có thể tiếp tục; nếu không, đây có thể là dấu chấm hết cho một trong những đổi mới lớp-2 đầu tiên của Ethereum.

ambcrypto1 giờ trước

Loopring đóng cửa sàn DEX – Điều gì đã xảy ra với người tiên phong L2 của Ethereum?

ambcrypto1 giờ trước

Nhịp Thị Trường BTC: Tuần 27

Thị trường Bitcoin tiếp tục xu hướng giảm trong tuần 27, phá vỡ ngưỡng 60.000 USD và tìm thấy hỗ trợ quanh 58.000 USD trước khi ổn định lại ở mức 60.000 USD vào cuối tuần. Mặc dù động lực giảm đã chậm lại so với đợt bán tháo mạnh trước đó, phe mua vẫn thiếu sự tự tin để thiết lập một đợt phục hồi bền vững, khiến giá bị giới hạn trong biên độ gần các mức đáy cục bộ. Cấu trúc thị trường đang trong giai đoạn điều chỉnh. Thị trường giao ngay tiếp tục chứng kiến dòng tiền ròng rời khỏi Bitcoin, cho thấy thanh khoản hiện tại chủ yếu được dùng để phân phối chứ không phải tích lũy. Trên thị trường phái sinh, đòn bẩy tiếp tục được giảm bớt, với các nhà giao dịch ưu tiên bảo vệ rủi ro giảm giá hơn là tìm kiếm lợi nhuận từ biến động giá. Tâm lý tổ chức cũng thận trọng hơn. Các quỹ ETF Spot tại Mỹ đã ghi nhận lỗ trên giấy tờ và dòng tiền ròng tiếp tục chảy ra, cho thấy các nhà đầu tư tổ chức không sẵn sàng gia tăng mức độ tiếp xúc với tài sản. Trên chuỗi, khối lượng chuyển khoản đã phục hồi nhưng hoạt động mạng lưới cơ bản vẫn trầm lắng. Đồng thời, sự gia tăng "vốn nóng" - lượng Bitcoin nắm giữ bởi các nhà đầu tư nhạy cảm với giá trong ngắn hạn - làm tăng khả năng thị trường biến động. Tóm lại, Bitcoin có vẻ đang ổn định quanh vùng 60.000 USD. Tuy nhiên, với dòng lệnh giao ngay, định vị phái sinh và nhu cầu tổ chức đều đang ở thế phòng thủ, một đợt phục hồi bền vững sẽ cần sự quay trở lại mạnh mẽ của niềm tin từ phe mua.

insights.glassnode6 giờ trước

Nhịp Thị Trường BTC: Tuần 27

insights.glassnode6 giờ trước

Giao dịch

Giao ngay
活动图片