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. اقرأ المزيد في شروط الاستخدام.

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