OPEN-SOURCE SCRIPT
已更新 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.
版本注释
Fixed an error showing using spot instead of perpetual price.版本注释
Fixed a calculation error.版本注释
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.
版本注释
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.
版本注释
Updated Bitmex Indices版本注释
Fixed calculation error版本注释
Updated Bitmex indices. Also, added Coinbase BTCUSD as a choice for reference price.版本注释
Updated OKX ticker in scriptUpdated Bitmex indices
版本注释
Updated BitMEX Indices版本注释
Updated Bitmex indices (incl removal of FTX from indices)版本注释
Removed FTX版本注释
- Fixed some bugs- Updated Bitumen Indices
- Added Coinbase to plot
版本注释
Updated Bitmex Indices.Updated to Pine v6
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。