This script shows actual and predicted funding levels for the BitMEX XBTUSD perpetual swap.
It gives exact results when using 1 minute candles, or after leaving any timescale chart open for several hours to collect the new data points. In all other situations it lacks fine precision.
Release Notes
Transparent improvement. Now the calculation will be accurate even if BitMEX changes their Interest Base or Quote values in the future.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.