egils75

BTC Multi Exchange Perpetual Premium

egils75 Actualizado   
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.
Notas de prensa:
Fixed an error showing using spot instead of perpetual price.
Notas de prensa:
Fixed a calculation error.
Notas de prensa:
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.
Notas de prensa:
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.
Notas de prensa:
Updated Bitmex Indices
Notas de prensa:
Fixed calculation error
Notas de prensa:
Updated Bitmex indices. Also, added Coinbase BTCUSD as a choice for reference price.
Notas de prensa:
Updated OKX ticker in script
Updated Bitmex indices
Notas de prensa:
Updated BitMEX Indices
Notas de prensa:
Updated Bitmex indices (incl removal of FTX from indices)
Notas de prensa:
Removed FTX
Notas de prensa:
- Fixed some bugs
- Updated Bitumen Indices
- Added Coinbase to plot
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?