egils75

BTC Multi Exchange Perpetual Premium

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

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?