a_trader_anon

mex_funding

Script for calculating Bitmex funding based on the Premium tickers Bitmex submits to Tradingview

Make sure you add the correct Bitmex Interest Base and Quote Symbols in the input settings

For example for www.bitmex.com/app/contract/XBTUSD the inputs are:

Chart ticker: XBTUSDPI8H

Input Settings
Interest Base: XBTBON8H
Interest Quote: USDBON8H
Release Notes:
bug fix: interest rate should be divided by 3
Release Notes:
color the candles red for down moves, green for up moves
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

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.

Want to use this script on a chart?