pAulseperformance

Bitcoin Price Based On Electricity

This script Calculates the price of Bitcoin solely on the hashrate and the cost of electricity.

The calculation is quite conservative considering its based on the average cost of electricity globally and we are assuming that everyone is running the latest mining hardware, which is the most efficient and cost effective.

Under both of these assumptions the calculation for bitcoins price is almost identical to the price we are seeing now.

If we change the reward rate to 3.125 (Aprils reward amount) then the price of one bitcoin per cost of work will be around 100k.

I am sure I am missing some important numbers in this calculation, fees, start up costs etc. However, it is very interesting to see that the price of Bitcoin can be calculated almost perfectly based on the hashrate and cost of electricity.

PROOF OF WORK
Release Notes:
Improved Calculation by factoring in
- Profits earned by miners in the form of fees, thus reducing the cost of mining one BTC.
- Overhead as a % (Labor, hardware costs, insurance, business expenses) - Increasing the Cost

Added a Moving average for smoothing out the cost of BTC, so it doesn't fluctuate wildly from the fees.

Added a dropdown of 3 common miners that will update the equation with Hashrates and Wattage per selection.
Also added a custom option, to input your own miner selections.

All in all, this is becoming a more accurate model for the Real price of one BTC.

Trade, Code, & Travel.

www.pinescriptstrategy.com
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?