π Monitor Binance futures funding rates and alert Telegram hourly
β‘ 75 views Β· π Crypto Trading & Stock Market
Description
Quick Overview
This workflow runs hourly to scan Binance Futures USDT perpetual contracts, checks each symbolβs funding rate against warning and critical thresholds, and sends a formatted alert message to Telegram when any high funding rates are detected.
How it works
- Runs every hour on a schedule.
- Fetches all 24-hour ticker stats from the Binance Futures API.
- Filters for USDT perpetual pairs, excludes stablecoin and fiat-like symbols, sorts by 24h quote volume, and selects the top 20 tickers.
- For each selected symbol, calls Binanceβs premiumIndex endpoint to retrieve the current funding rate and next funding time.
- Classifies each funding rate as normal, warning, or critical based on the configured thresholds and accumulates the results for the run.
- Builds an HTML-formatted Telegram message summarizing warning/critical symbols and sends it to your Telegram chat only when alerts are present.
Setup
- Create a Telegram bot, add the Telegram credentials in n8n, and set your target chat ID in the Telegram node.
- Adjust the schedule interval in the schedule trigger if you donβt want hourly checks.
- (Optional) Change the top-N selection and the warning/critical funding rate thresholds in the code steps to match your monitoring preferences.
π Nodes Used
HTTP Request, Telegram, Schedule Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File