OPEN-SOURCE SCRIPT

GBTC Premium to Coinbase

업데이트됨
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.
릴리즈 노트
Key Fund Information updated, 01/16/2024
릴리즈 노트
Key Fund Information updated, 01/17/2024
릴리즈 노트
Key Fund Information updated, 01/18/2024
릴리즈 노트
Key Fund Information updated, 01/19/2024
릴리즈 노트
Key Fund Information updated, 01/22/2024
릴리즈 노트
Key Fund Information updated, 01/23/2024
릴리즈 노트
Key Fund Information updated, 01/24/2024
릴리즈 노트
Key Fund Information updated, 01/24/2024
Add daily BTC holded in GBTC and daily BTC outflow in script.
릴리즈 노트
Key Fund Information updated, 01/26/2024
릴리즈 노트
Key Fund Information updated, 01/29/2024
릴리즈 노트
Key Fund Information updated, 01/30/2024
릴리즈 노트
Key Fund Information updated, 01/31/2024
릴리즈 노트
Key Fund Information updated, 02/01/2024
GBTC now has a premium to Net Asset Value.
릴리즈 노트
Key Fund Information updated, 02/02/2024
릴리즈 노트
Key Fund Information updated, 02/05/2024
릴리즈 노트
Key Fund Information updated, 02/06/2024
릴리즈 노트
Key Fund Information updated, 02/07/2024
릴리즈 노트
Key Fund Information updated, 02/08/2024
릴리즈 노트
Key Fund Information updated, 02/14/2024
릴리즈 노트
Key Fund Information updated, 02/16/2024
릴리즈 노트
Key Fund Information updated, 02/20/2024
릴리즈 노트
Key Fund Information updated, 02/21/2024
릴리즈 노트
Key Fund Information updated, 02/24/2024
릴리즈 노트
Key Fund Information updated, 02/27/2024
릴리즈 노트
Key Fund Information updated, 02/28/2024
릴리즈 노트
Key Fund Information updated, 02/29/2024
릴리즈 노트
Key Fund Information updated, 03/01/2024
릴리즈 노트
Key Fund Information updated, 03/02/2024
릴리즈 노트
Key Fund Information updated, 03/05/2024
릴리즈 노트
Key Fund Information updated, 03/06/2024
릴리즈 노트
Key Fund Information updated, 03/07/2024
릴리즈 노트
Key Fund Information updated, 03/08/2024
릴리즈 노트
Key Fund Information updated, 03/09/2024
릴리즈 노트
Key Fund Information updated, 03/12/2024
릴리즈 노트
Key Fund Information updated, 03/13/2024
릴리즈 노트
Key Fund Information updated, 03/14/2024
릴리즈 노트
Key Fund Information updated, 03/16/2024
릴리즈 노트
Key Fund Information updated, 03/19/2024
릴리즈 노트
Key Fund Information updated, 03/20/2024
릴리즈 노트
Key Fund Information updated, 03/22/2024
And update frequency change announcement.
릴리즈 노트
Key Fund Information updated, 03/23/2024
And update frequency change announcement.
Bitcoin (Cryptocurrency)btcetfbtcspotetfGBTCgbtcpremiumsentimentstatistics

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항