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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?