Basic Binance Premium Index

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


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.
版本注释: fixed typo on BNB, ADA, and Doge pairs so that the perp contracts were perp and not spot.
版本注释: changed BTC, ETH and LTC perpetual futures pairs to their respective USDT trading pairs instead of USD trading pairs


本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。