BTC - Realized Profit & Loss Split (USD)
Description
The Bitcoin Realized Profit & Loss shows the sum of profits (USD) from all profitable transactions, and sum of all losses (USD) for all unprofitable transactions, for each timeframe. Profits are shown as positive values, losses as negative.
Bitcoin's USD Market Price is included for reference.
Pseudocode
for each block in blockchain:
for each tx in block:
pl_usd := tx.val_usd - tx.costbasis_usd
if (pl_usd > 0):
block.profit += tx.pl_usd
else:
block.loss += tx.pl_usd
(x,y1,y2) := (block.time, block.loss, block.profit)
for each hour in blockchain:
hr_p_usd := sum(blockchain[hr_start:hr_end].profit)
hr_l_usd := sum(blockchain[hr_start:hr_end].loss)
(x,y1,y2) := (hour, hr_l_usd, hr_p_usd)
for each day in blockchain:
day_p_usd := sum(blockchain[day_start:day_end].profit)
day_l_usd := sum(blockchain[day_start:day_end].loss)
(x,y1,y2) := (day, day_l_usd, day_p_usd)
Technical Info
As coins move between TXOs, we track the difference between the values of acquisition and sale, and we do this for every transaction on the chain. Each time a coin moves, its cost basis and profit values reset. Here we chart the sum of all profitable transactions in green and all loss transactions in red.
- This metric is based on transactions (unadjusted).
- Hourly and daily aggregations are derived from block data using sum for this metric.
- Hourly data contains occasional gaps; no blocks were generated during these times.
- The availability of this data is unique to on-chain analytics.
Related Metrics
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.