bu5hm4nn

Bitcoin Funds Premium

bu5hm4nn Updated   
Display the % premium of 4 different Bitcoin Funds relative to the price of Bitcoin in your current chart.

BTCC ETF
QBTC Fund
GBTC Trust
VBTC ETN

This indicator uses the metrics from the fund management websites to calculate the "Net Asset Value per Unit (NAVPU)" to calculate the true underlying value of the fund.
The difference is then compared to the price of Bitcoin in the chart you have open.
Note that the metrics change and therefore the graph is not accurate for long past timeframes.
If TradingView would expand their script language in a way to ingest CSV data from the funds website then this could be improved.
You can update the metrics for each fund in the settings dialogue.

The script will autodetect the currency pairs of your current graph and only display compatible funds:

BTC / USD will show BTCC.U, QBTC.U and GBTC
BTC / CAD will show BTCC and QBTC
BTC / EUR will show VBTC

The script should not show in other currency pairs so it will not mess up other charts you might switch to.
If you find bugs with this logic, please comment below so I can fix them.

Due to TradingViews "no-links in description" policy, you need to google each funds website yourself to find the current metrics. These search terms should help:

BTCC search "Purpose Bitcoin ETF"
QBTC search "3iq The Bitcoin Fund (QBTC)"
GBTC search "Grayscale® Bitcoin Trust"
VBTC search "VanEck Vectors Bitcoin ETN"
Release Notes:
- Update Funds/ETF base information (Shares per BTC)

These parameters can also be set by the user in the settings dialogue. Please note that as we can't pull these metrics for each day, the plot will only be accurate for recent times.

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?