OPEN-SOURCE SCRIPT

Bitcoin Funds Premium

تم تحديثه
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"
ملاحظات الأخبار
- 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

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الرمز في المنشور يخضع لقواعد‎‎قوانين الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟


يعمل أيضًا:

إخلاء المسؤولية