OPEN-SOURCE SCRIPT

Bitcoin Funds Premium

Telah dikemas kini
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"
Nota Keluaran
- 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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian