OPEN-SOURCE SCRIPT

BTC Multi Exchange Perpetual Premium

Aggiornato
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.
Note di rilascio
Fixed an error showing using spot instead of perpetual price.
Note di rilascio
Fixed a calculation error.
Note di rilascio
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.
Note di rilascio
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.
Note di rilascio
Updated Bitmex Indices
Note di rilascio
Fixed calculation error
Note di rilascio
Updated Bitmex indices. Also, added Coinbase BTCUSD as a choice for reference price.
Note di rilascio
Updated OKX ticker in script
Updated Bitmex indices
Note di rilascio
Updated BitMEX Indices
Note di rilascio
Updated Bitmex indices (incl removal of FTX from indices)
Note di rilascio
Removed FTX
Note di rilascio
- Fixed some bugs
- Updated Bitumen Indices
- Added Coinbase to plot
Note di rilascio
Updated Bitmex Indices.

Updated to Pine v6
Bitcoin (Cryptocurrency)bitcoinforecastbitcoinpriceBTCBTCUSDBTCUSDTOscillatorsperpetualperpetualswappremium

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità