ByzantiumScripts

Bitcoin Perpetual Swaps Basis

ByzantiumScripts Uppdaterad   
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 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
Versionsinformation:
Updated weighting and components of the indices.

Removed the smoothing option because it's redundant, everything that makes the indi load faster is good.
Versionsinformation:
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.
Versionsinformation:
Corrected small mistake in code.
Versionsinformation:
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.
Versionsinformation:
Tradingview changed the tickers for perpetual swaps contracts so I updated it.

Send me a private message for access to my invite only indicators.
Endast inbjudanskript.

Tillgången till detta skript är begränsat till användare som har godkänts av författaren och kräver vanligtvis betalning. Du kan lägga till det till dina favoriter men du kan bara använda det efter att ha begärt och fått författarens tillstånd. Kontakta ByzantiumScripts för mer information eller följ författarens instruktioner här under.

TradingView rekommenderar inte att du betalar för ett skript och använder det om du inte litar till 100% på författaren och förstår hur skriptet fungerar. I många fall kan du hitta ett bra alternativ med öppen källkod gratis i våra Community skripts .

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Författarens instruktioner

Send me a private message if you want access.

Vill du använda det här skriptet i ett diagram?

Varning:Var god läs innan du begär åtkomst.