OPEN-SOURCE SCRIPT
Aggiornato 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.
Note di rilascio
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.**
Note di rilascio
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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.