TradingView
a_trader_anon
Jan 24, 2023 4:37 AM

mex_funding 

APE / % IndexBitMEX

描述

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 bitmex.com/app/contract/XBTUSD the inputs are:

Chart ticker: XBTUSDPI8H

Input Settings
Interest Base: XBTBON8H
Interest Quote: USDBON8H

版本注释

bug fix: interest rate should be divided by 3

版本注释

color the candles red for down moves, green for up moves
评论
a_trader_anon
bug: interest rate should be divided by 3
更多