OPEN-SOURCE SCRIPT

GBTC Premium to Coinbase

Actualizado
The BTC ETF premium indicator for TradingView is a specialized tool designed to measure and visualize the premium or discount of the Grayscale Bitcoin Trust (GBTC), an investment vehicle that holds Bitcoin, relative to the actual price of Bitcoin on the Coinbase exchange. This indicator can be particularly insightful for traders interested in the BTC securities market and those analyzing the demand for Bitcoin as reflected by institutional investment products.

#### Description:
The BTC ETF premium indicator in TradingView leverages an advanced Pine Script algorithm to calculate the premium (or discount) percentage of GBTC compared to the spot price of Bitcoin (BTC/USD) on Coinbase. The premium is a critical insight that reflects market sentiment and potentially arbitrage opportunities between the trust's share price and the underlying cryptocurrency asset.

Here's how the indicator works:

1. **Calculation Methodology:**
- **Implied Bitcoin Price of GBTC:** We determine the implied price of Bitcoin within GBTC by dividing the GBTC closing price by the known ratio of Bitcoin per share.
- **GBTC Premium to Coinbase:** The percentage premium is then calculated as:

$$\text{GBTC Premium} = \frac{(\text{Implied Bitcoin Price of GBTC} - \text{Actual Bitcoin Price on Coinbase})}{\text{Actual Bitcoin Price on Coinbase}} \times 100$$

- This calculation is performed using the closing prices on a per-minute basis to ensure timely and accurate analysis.

2. **Visualization:** The indicator plots the premium as a step line chart, making it easy to visualize changes over time. A dynamic label accompanies the plot, displaying the implied Bitcoin price, the actual percentage premium or discount, and whether the premium is trending up or down compared to the previous day's value.

3. **Usage Scenario:** Traders can use this indicator to monitor the live premium 24/7 and analyze how it behaves during different market conditions, including when the equity market, where GBTC is traded, is closed.

#### Additional Features:
- **Color-Coding:** The premium is color-coded in green when positive (premium) and in red when negative (discount), aiding quick visual assessment.
- **Zero-Line Reference:** A horizontal line is drawn at zero to easily identify when GBTC is trading at par with the spot price of Bitcoin.
- **Real-Time Label Updates:** The label updates in real time with the latest premium/discount information and includes an arrow to signify the trend direction.

#### Access and Usage:
The indicator can be favorited or added to your TradingView charts. You are also welcome to use the source code as a foundation for further customization to suit your trading strategies.

#### Notes:
Please consider that the GBTC has specific trading hours, and the indicator can show live changes even when its market is closed, which might lead to discrepancies from official static data. For best performance, use this indicator alongside the GBTC candlestick chart on TradingView.
Notas de prensa
Key Fund Information updated, 01/16/2024
Notas de prensa
Key Fund Information updated, 01/17/2024
Notas de prensa
Key Fund Information updated, 01/18/2024
Notas de prensa
Key Fund Information updated, 01/19/2024
Notas de prensa
Key Fund Information updated, 01/22/2024
Notas de prensa
Key Fund Information updated, 01/23/2024
Notas de prensa
Key Fund Information updated, 01/24/2024
Notas de prensa
Key Fund Information updated, 01/24/2024
Add daily BTC holded in GBTC and daily BTC outflow in script.
Notas de prensa
Key Fund Information updated, 01/26/2024
Notas de prensa
Key Fund Information updated, 01/29/2024
Notas de prensa
Key Fund Information updated, 01/30/2024
Notas de prensa
Key Fund Information updated, 01/31/2024
Notas de prensa
Key Fund Information updated, 02/01/2024
GBTC now has a premium to Net Asset Value.
Notas de prensa
Key Fund Information updated, 02/02/2024
Notas de prensa
Key Fund Information updated, 02/05/2024
Notas de prensa
Key Fund Information updated, 02/06/2024
Notas de prensa
Key Fund Information updated, 02/07/2024
Notas de prensa
Key Fund Information updated, 02/08/2024
Notas de prensa
Key Fund Information updated, 02/14/2024
Notas de prensa
Key Fund Information updated, 02/16/2024
Notas de prensa
Key Fund Information updated, 02/20/2024
Notas de prensa
Key Fund Information updated, 02/21/2024
Notas de prensa
Key Fund Information updated, 02/24/2024
Notas de prensa
Key Fund Information updated, 02/27/2024
Notas de prensa
Key Fund Information updated, 02/28/2024
Notas de prensa
Key Fund Information updated, 02/29/2024
Notas de prensa
Key Fund Information updated, 03/01/2024
Notas de prensa
Key Fund Information updated, 03/02/2024
Notas de prensa
Key Fund Information updated, 03/05/2024
Notas de prensa
Key Fund Information updated, 03/06/2024
Notas de prensa
Key Fund Information updated, 03/07/2024
Notas de prensa
Key Fund Information updated, 03/08/2024
Notas de prensa
Key Fund Information updated, 03/09/2024
Notas de prensa
Key Fund Information updated, 03/12/2024
Notas de prensa
Key Fund Information updated, 03/13/2024
Notas de prensa
Key Fund Information updated, 03/14/2024
Notas de prensa
Key Fund Information updated, 03/16/2024
Notas de prensa
Key Fund Information updated, 03/19/2024
Notas de prensa
Key Fund Information updated, 03/20/2024
Notas de prensa
Key Fund Information updated, 03/22/2024
And update frequency change announcement.
Notas de prensa
Key Fund Information updated, 03/23/2024
And update frequency change announcement.
Bitcoin (Cryptocurrency)btcetfbtcspotetfGBTCgbtcpremiumsentimentstatistics

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?


También en:

Exención de responsabilidad