OPEN-SOURCE SCRIPT
已更新 Binance Pseudo Funding Fee

The indicator calculates the Funding Fee for Binance based on the Premium Index provided by TradingView. The calculation formula can be found here: Binance Funding Rate Introduction. This is NOT the official rate visible on binance.com and used for settlements, but rather an estimated rate, which is inherently INACCURATE. The accuracy of the calculation heavily depends on the timeframe, with almost perfect results on minute-based timeframes.
For the most accurate calculations, you need to visit Binance Funding History and fill in the corresponding Interval, Interest Rate, and Funding Cap/Floor settings for the specific symbol in the indicator's settings. I understand this is not convenient, but for now, this is how it works.
The blue bars indicate the settlement time. Funding can be smoothed using moving averages. Both the funding rate and the moving averages are displayed using plot and are labeled, so you can set alerts on them.
For the most accurate calculations, you need to visit Binance Funding History and fill in the corresponding Interval, Interest Rate, and Funding Cap/Floor settings for the specific symbol in the indicator's settings. I understand this is not convenient, but for now, this is how it works.
The blue bars indicate the settlement time. Funding can be smoothed using moving averages. Both the funding rate and the moving averages are displayed using plot and are labeled, so you can set alerts on them.
發行說明
1. Hardcoded default settings for a number of tokens (not all).** For the hardcoded settings to be applied, leave the settings as **0**.2. Added a label displaying the applied settings and the current value of the calculated funding rate.**
發行說明
Added functionality to display the time remaining until the next closest funding settlement time.And, most importantly, a chart of the time multiplied (optionally) by the current funding value or its moving average has been implemented. This chart allows setting an alert on it. For example, you can set an alert 2 minutes before funding settlement if the funding value at that moment is between -1% and -2%.
The alert chart display is disabled by default but is still calculated, visible in the Data Window, and can be used for setting alerts.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。