Gokubro

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

•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.
版本注释: 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精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其他类型的意见或建议。请在使用条款阅读更多信息。

想在图表上使用此脚本?