OPEN-SOURCE SCRIPT
Funding Rate Aggregated (Lite)

Funding Rate Aggregated (Lite) provides traders with a consolidated view of perpetual futures funding rates across multiple major exchanges. Instead of monitoring each market individually, the script aggregates the available data into a single, average funding rate series—streamlining analysis and helping identify market-wide positioning imbalances.
The indicator supports Binance, Bybit, OKX, Bitget, and Coinbase, with user-controlled toggles to enable or disable specific venues. For exchanges offering multiple quote currencies (e.g., USDT, USD, or USDC pairs) inclusion is based on whether their trading activity (volume) is relevant (determined manually, not via code). Each available rate is checked and included in the calculation only if valid, ensuring the average reflects actual market conditions.
From a technical standpoint, the script:
Retrieves real-time funding rate data directly via request.security for the current symbol’s base currency.
Applies standard formatting similar to TradingView's official indicator.
Visualizes the average funding rate with color-coded plotting (green for positive, red for negative), alongside a neutral zero reference line.
Why it is useful:
Funding rates are a direct measure of long/short market bias in perpetual swaps. Persistently high positive rates often indicate overcrowded longs, while negative rates can reveal excessive shorting.
By combining multiple exchanges into one metric, traders gain a more robust signal, reducing noise from isolated exchange-specific anomalies.
This aggregated perspective can assist in timing contrarian trades, spotting funding-driven inefficiencies, and gauging overall market sentiment.
Applications in trading include:
Sentiment analysis: Assess whether perpetual futures traders are leaning heavily long or short.
Cross-exchange confirmation: Ensure that extreme funding isn’t confined to a single venue.
Risk management: Identify periods of elevated funding costs that may erode profitability in longer-term positions.
Strategy filters: Integrate the aggregated rate as a condition for entries/exits, or to adjust position sizing during extremes.
The Lite designation emphasizes simplicity and efficiency: the indicator avoids unnecessary visual and data-driven clutter and focuses on delivering one clear, aggregated signal that can be adapted to a wide range of trading styles.
The indicator supports Binance, Bybit, OKX, Bitget, and Coinbase, with user-controlled toggles to enable or disable specific venues. For exchanges offering multiple quote currencies (e.g., USDT, USD, or USDC pairs) inclusion is based on whether their trading activity (volume) is relevant (determined manually, not via code). Each available rate is checked and included in the calculation only if valid, ensuring the average reflects actual market conditions.
From a technical standpoint, the script:
Retrieves real-time funding rate data directly via request.security for the current symbol’s base currency.
Applies standard formatting similar to TradingView's official indicator.
Visualizes the average funding rate with color-coded plotting (green for positive, red for negative), alongside a neutral zero reference line.
Why it is useful:
Funding rates are a direct measure of long/short market bias in perpetual swaps. Persistently high positive rates often indicate overcrowded longs, while negative rates can reveal excessive shorting.
By combining multiple exchanges into one metric, traders gain a more robust signal, reducing noise from isolated exchange-specific anomalies.
This aggregated perspective can assist in timing contrarian trades, spotting funding-driven inefficiencies, and gauging overall market sentiment.
Applications in trading include:
Sentiment analysis: Assess whether perpetual futures traders are leaning heavily long or short.
Cross-exchange confirmation: Ensure that extreme funding isn’t confined to a single venue.
Risk management: Identify periods of elevated funding costs that may erode profitability in longer-term positions.
Strategy filters: Integrate the aggregated rate as a condition for entries/exits, or to adjust position sizing during extremes.
The Lite designation emphasizes simplicity and efficiency: the indicator avoids unnecessary visual and data-driven clutter and focuses on delivering one clear, aggregated signal that can be adapted to a wide range of trading styles.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.