egils75

BTC Multi Exchange Perpetual Premium

egils75 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
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?