OPEN-SOURCE SCRIPT
Diupdate BTC Multi Exchange Perpetual Premium

This script tracks the premium/discount of Bitcoin perpetual contracts at various exchanges.
The premium/discount is calculated against an index price. The index price is calculated from spot exchange prices and are weighted as follows:
Bitstamp:28,81%
Bittrex:5,5%
Coinbase: 38,07%
Gemini: 7,34%
Kraken: 20,28
The difference between this script and other available scripts, is that exciting script seems to only focus on one exchange. This script is also open source.
The premium/discount is calculated against an index price. The index price is calculated from spot exchange prices and are weighted as follows:
Bitstamp:28,81%
Bittrex:5,5%
Coinbase: 38,07%
Gemini: 7,34%
Kraken: 20,28
The difference between this script and other available scripts, is that exciting script seems to only focus on one exchange. This script is also open source.
Catatan Rilis
Fixed an error showing using spot instead of perpetual price.Catatan Rilis
Fixed a calculation error.Catatan Rilis
Added a few more exchanges.Added the possibility to select the reference price. Choises are Bitmex Indices (as used in previous script) and Tradingviews index. Default is the TradingView index.
Catatan Rilis
Added choice to include OKEX and Houbi exhcanges. These exchanges are on different timezones and produces irratic results on higher timeframes (12 hr and up?). These exchanges are left out by default, but can be included on lower timeframes.Also Bitmex indices are updated (still default to Tradingviews index as reference.
Catatan Rilis
Updated Bitmex IndicesCatatan Rilis
Fixed calculation errorCatatan Rilis
Updated Bitmex indices. Also, added Coinbase BTCUSD as a choice for reference price.Catatan Rilis
Updated OKX ticker in scriptUpdated Bitmex indices
Catatan Rilis
Updated BitMEX IndicesCatatan Rilis
Updated Bitmex indices (incl removal of FTX from indices)Catatan Rilis
Removed FTXCatatan Rilis
- Fixed some bugs- Updated Bitumen Indices
- Added Coinbase to plot
Catatan Rilis
Updated Bitmex Indices.Updated to Pine v6
Catatan Rilis
Updated Bitmex IndicesCatatan Rilis
Updated Bitmex indicesSkrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.