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.