OPEN-SOURCE SCRIPT
Updated Bitcoin Production Cost

Bitcoin's Production Cost
Based on raw data from CBECI.
Follow me to read more about the calculation logic.
Based on raw data from CBECI.
Follow me to read more about the calculation logic.
Release Notes
Script commentary update.Release Notes
In-line with CoinShares December 2019 research report, added option to use a lower electricity cost/kWh from Mid-2019.Release Notes
Updated with January 2020 electricity data.Release Notes
Updated with May 2020 electricity data from CBECI.orgNow uses 2 week rolling data for finer granularity (while balancing TradingView load time).
Uses 4c/kWh (lower end of CBECI and Coinshares global average Mining electrical cost estimates).
Release Notes
Updated chart visualsRelease Notes
Updated with August 2020 electricity data from CBECI.orgRelease Notes
Updated inputsRelease Notes
Updated input dataRelease Notes
Updated energy dataRelease Notes
Updated energy dataRelease Notes
Added optional inflation factor, given the annualized rate of growth of M2 money supply increased from 5.8% annualized to 12.7% annualized after Corona (rough delta being 6.5%).Release Notes
updated inflation factorRelease Notes
Updated data inputs.Release Notes
SourcingRelease Notes
Sourcing updateRelease Notes
Updated dataRelease Notes
Update to v5 pinescript and update of CBECI raw data inputs.Release Notes
Updated data inputsRelease Notes
Updated data inputsOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.