egils75

BTC Multi Exchange Perpetual Premium

egils75 Обновлено   
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.
Информация о релизе:
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 script
Updated 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
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?