Cookie

By using this site you consent to accept Mesmer Data LLC's analytics and functional cookies.
Read more by clicking 'Cookie Settings' here, or in the bottom menu.

BTC - Realized Profit & Loss Tx Max, Entity-Adjusted (USD)

Description

Bitcoin Realized Profit Transaction Maximums, Entity-Adjusted shows the single most profitable transaction's profit value, and the single most unprofitable transaction's loss value using both their last moving price (Unadjusted Profit & Loss ) and an entity-adjusted cost basis (Entity-Adjusted Profit & Loss ) in USD for each timeframe. Profits are shown as positive values, losses as negative.

Bitcoin's USD Market Price is included for reference.

Pseudocode

Bitcoin Realized P&L Tx Max, Entity-Adjusted & Unadjusted (USD):

for each block in blockchain:
  block.btc_price = get_btc_market_price(block.time)
  for each tx in block:
    tx.usd = tx.btc * block.btc_price
    pl_usd_eadj := tx.val_usd - tx.costbasis_usd_eadj
    pl_usd := tx.val_usd - tx.costbasis_usd
    if (pl_usd > block.maxprofit):
      block.maxprofit := tx.pl_usd
    if (pl_usd < block.maxloss):
      block.maxloss := tx.pl_usd
    if (pl_usd_eadj > block.maxprofit_eadj):
      block.maxprofit_eadj := tx.pl_usd_eadj
    if (pl_usd_eadj < block.maxloss_eadj):
      block.maxloss_eadj := tx.pl_usd_eadj
  (x,y1,y2) := (block.time, block.maxloss, block.maxprofit)
  (x,y3,y4) := (block.time, block.maxloss_eadj, block.maxprofit_eadj)

for each hour in blockchain:
  hr_p_usd := max(blockchain[hr_start:hr_end].maxprofit)
  hr_l_usd := min(blockchain[hr_start:hr_end].maxloss)
  (x,y1,y2) := (hour, hr_l_usd, hr_p_usd)

  hr_p_usd_eadj := max(blockchain[hr_start:hr_end].maxprofit_eadj)
  hr_l_usd_eadj := min(blockchain[hr_start:hr_end].maxloss_eadj)
  (x,y3,y4) := (hour, hr_l_usd_eadj, hr_p_usd_eadj)

for each day in blockchain:
  day_p_usd := max(blockchain[day_start:day_end].maxprofit)
  day_l_usd := min(blockchain[day_start:day_end].maxloss)
  (x,y1,y2) := (day, day_l_usd, day_p_usd)

  day_p_usd_eadj := max(blockchain[day_start:day_end].maxprofit_eadj)
  day_l_usd_eadj := min(blockchain[day_start:day_end].maxloss_eadj)
  (x,y3,y4) := (day, day_l_usd_eadj, day_p_usd_eadj)

Technical Info

Bitcoin UTXO realized profits and losses measure the profit that has been made from selling Bitcoin, simply calculated by taking the difference between the price that Bitcoin was bought at (cost basis) and the price that it was sold at. For unadjusted data, each time a coin moves, its cost basis (and thus profit) resets. For entity-adjusted data, only when a coin moves between entities does it reset its cost basis. Here we chart the USD value of the single most profitable transaction in green and the single highest loss transaction in red, for each candle period using both the unadjusted and adjusted formulas.

UTXO stands for unspent transaction output. An UTXO is a Bitcoin that has been received in a transaction but has not yet been spent. When you buy Bitcoin, you are essentially receiving a new UTXO. When you sell Bitcoin, you are essentially spending a UTXO.

Our entity tracking uses a proprietary algorithm, the foundation of which groups transaction input addresses. We currently track over 99 600 000 entities, spanning over 795 000 000 addresses. The largest entity has approximately 37 480 000 addresses, and the average has 7.98.

  • Hourly and daily data grouping is done using min for this metric's minimum series.
  • Hourly and daily data grouping is done using max for this metric's maximum series.
  • Hourly data contains occasional gaps; no blocks were generated during these times.
  • The availability of this data is unique to on-chain analytics.

Disclaimers

This site is currently in Beta, and there will likely be some bugs. If you find any, please check out the FAQ first, and then let us know! Thanks! Chart views are saved between visits, so if you have any display issues and want to reset your chart view, click here.

This site is for informational use only. Users are required to conduct their own analysis, draw their own conclusions, and make their own financial decisions. Consult with qualified professionals before making investments. This service is not intended as legal, financial or investment advice. For full details please visit our Disclaimers page.