INVITE-ONLY SCRIPT

Bitcoin 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.
https://www.tradingview.com/script/OFebImhm-Aggregated-Perpetuals-Basis/

This version works only for bitcoin (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 removed that data and replaced it Binance BUSD markets.

I also made some changes to the index weighting so that more actively traded markets have a bigger impact on the basis calculation.
版本注释
Corrected small mistake in code.
版本注释
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.
版本注释
Tradingview changed the tickers for perpetual swaps contracts so I updated it.
Bitcoin (Cryptocurrency)sentiment

仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请联系ByzantiumScripts了解更多信息,或按照以下作者的说明操作。

TradingView不建议付费使用脚本,除非您100%信任作者并了解脚本的工作原理。在许多情况下,您可以在我们的社区脚本免费找到不错的开源替代方案。

作者的说明

Send me a private message if you want access.

想在图表上使用此脚本?

警告:请在申请访问权限之前阅读

Send me a private message for access to my invite only indicators.
更多:

免责声明