egils75

Bitmex BTC Perpetual Premium

egils75 تم تحديثه   
This script tracks the premium of the Bitcoin Perpetual futures at Bimex exchange relative to 3 different reference prices.

The difference between this script and already published scripts is that it tracks the premium relative to 3 different reference prices. This tends to produce slightly different results.

This script is also open source, so you can verify the calculations, or use it as a basis for your own script.

The 3 plots uses the following reference prices:

Blue Area:
Bitmex Index price, ticker: BITMEX:XBT

Red line:
Bitmex Perpetual Premium, ticker XBTUSDPI
(This one is not used as reference, but simply plots the ticker*100)

Orange line:
The reference here is a price calculated by the tickers in trading view based on the Bitmex indices with weighing as follows:

Bitstamp:28,81%
Bittrex:5,5%
Coinbase: 38,07%
Gemini: 7,34%
Kraken: 20,28

Please note that Bitmex changes the bases of its indices regularly. Bitmex might also "rule out" on of these exchanges if there is a short term problem.
ملاحظات الأخبار:
Fixed a calculation error. The different plots are now on the same scale.
ملاحظات الأخبار:
2 Changes:

Added Tradingview Bitcoin Index as reference price (Default to yellow line)

Bitmex indices updated as of 26.Mars 2021 (Affects the default orange line including its history)
ملاحظات الأخبار:
Corrected small error in indices.
ملاحظات الأخبار:
Updated with BitMEX Indices as per 25.06.2021:
Binance US: 3,31%
Bitstamp: 12,31%
Coinbase: 47,83%
FTX: 17,51%
Gemini: 5,14%
Kraken: 13,9%
ملاحظات الأخبار:
Updated Bitmex indices (Bitmex Price Index)
ملاحظات الأخبار:
Updated Bitmex Indices.
ملاحظات الأخبار:
Updated BitMEX Indices
ملاحظات الأخبار:
Updated bitmex indices (FTX removed from indices)
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟