Gokubro

Basic Binance Premium Index

Gokubro Uppdaterad   
A premium index indicator for Binance futures.

The premium index is based on the difference in price between the perpetual swap contract last price and the price of a volume weighted spot index.

Simply put: it shows you for each coin whether the spot market is trading higher than the Binance perpetual or not.

If future price is higher than spot in a rally, the rally isn't backed by real buys (spot) but by dumb perpetual longs which can indicate bearish PA. If spot price is higher than futures in a rally, the upside is backed by real money (spot) which can indicate bullish PA.

To calculate the premium, I simply took (futures_price/vwap(spot_price)-1)*100

This version includes

•BTC
•ETH
•LTC
•ICP
•BNB
•ADA
•DOGE.

You can display data as a smoothed moving average for improved readability.

This code is open source so feel free to use it in your scripts.
Versionsinformation:
fixed typo on BNB, ADA, and Doge pairs so that the perp contracts were perp and not spot.
Versionsinformation:
changed BTC, ETH and LTC perpetual futures pairs to their respective USDT trading pairs instead of USD trading pairs
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

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.

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