OPEN-SOURCE SCRIPT

BTC Multi Exchange Perpetual Premium

Diupdate
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.
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 Indices
Catatan Rilis
Fixed calculation error
Catatan Rilis
Updated Bitmex indices. Also, added Coinbase BTCUSD as a choice for reference price.
Catatan Rilis
Updated OKX ticker in script
Updated Bitmex indices
Catatan Rilis
Updated BitMEX Indices
Catatan Rilis
Updated Bitmex indices (incl removal of FTX from indices)
Catatan Rilis
Removed FTX
Catatan Rilis
- Fixed some bugs
- Updated Bitumen Indices
- Added Coinbase to plot
Catatan Rilis
Updated Bitmex Indices.

Updated to Pine v6
Bitcoin (Cryptocurrency)bitcoinforecastbitcoinpriceBTCBTCUSDBTCUSDTOscillatorsperpetualperpetualswappremium

Skrip open-source

Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Hormat untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Inggin menggunakan skrip ini pada chart?

Pernyataan Penyangkalan