ByzantiumScripts

Ethereum Perpetual Swaps Basis

This is a simplified version of my Aggregated Perpetual Swaps Basis script.
Click the image to see more details on that indicator.

This version works only for ethereum (the older script works for BTC and ETH) and a bunch of code has been trimmed down.
The purpose of this is to make the indicator a lot faster.

When I published the old one I noticed that it always took a long time to load which is incredibly frustrating to me.
I guess I propped too much stuff in one indicator.
So that's why I'm basically cutting it up into two, more code efficient pieces, but it does the same thing.
People who have access to the old indicator will also get access to this one.

Here's a list of contracts that I used to make the perps and spot indices.
These will be updated if needed (in case an exchange loses relevancy for example).

Perps:
  • Binance USDT margin
  • Binance coin margin
  • Bybit USDT margin
  • Bybit coin margin
  • FTX perp

Spot:
  • Coinbase USD
  • Bitfinex USD
  • FTX USD
  • Binance USDT
發布通知:
Updated weighting and components of the indices.

Removed the smoothing option because it's redundant, everything that makes the indi load faster is good.
發布通知:
FTX shut down so I replaced that data with Binance BUSD markets.

I also changed the weighting so that more actively traded markets have a bigger impact on the basis calculation.
發布通知:
Big update under the hood.
I adjusted all the indices and calculations so that it more accurately reflects the official index premiums that the exchanges use.
I also added an option to look at individual exchange premiums, but by default it'll show the global average premium.

I also inverted the colours because it made more sense that positive values are green I thought.

Send me a private message for access to my invite only indicators.
僅限邀請腳本

僅限作者授權的用戶訪問此腳本,並且通常需要付費。您可以將其增加到收藏腳本中,但是只有在向作者請求並獲得許可之後,才能使用它。 請與ByzantiumScripts聯繫以獲取更多資訊,或按照以下作者的說明進行操作。

在您100%信任腳本作者並了解腳本的工作原理之前,TradingView不建議您購買腳本並使用它。在很多情況下,您可以在我們的社群腳本庫中免費找到一個不錯的開源替代品。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

作者的說明

Send me a private message if you want access.

想在圖表上使用此腳本?

警告:請閱讀,然後再請求訪問權限。