OPEN-SOURCE SCRIPT

Bitcoin Funds Premium

Aggiornato
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"
Note di rilascio
- 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.
Bitcoin (Cryptocurrency)BTCBTCCADBTCEURBTCUSDMoving Averages

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?


Anche su:

Declinazione di responsabilità