Skip to content

Add Funding Rate Scanner skill#123

Open
dagangtj wants to merge 2 commits intobinance:mainfrom
dagangtj:feature/funding-rate-scanner
Open

Add Funding Rate Scanner skill#123
dagangtj wants to merge 2 commits intobinance:mainfrom
dagangtj:feature/funding-rate-scanner

Conversation

@dagangtj
Copy link
Copy Markdown

Summary

This PR adds a Funding Rate Scanner skill that helps identify profitable long positions by scanning for negative funding rates across all Binance perpetual contracts.

Features

  • ✅ Scans 583+ perpetual contracts in real-time
  • ✅ Zero dependencies (pure Node.js with native https module)
  • ✅ No API key required (uses public Binance endpoints)
  • ✅ Automatic daily earnings calculation (3 funding payments)
  • ✅ Sorted by profitability
  • ✅ Tested and working

Test Results

Successfully scanned 583 contracts and found 117 negative funding rate opportunities:

  • Highest: KITEUSDT at -1.6055% (4.82% daily)
  • Second: HUMAUSDT at -0.9330% (2.80% daily)
  • Third: STEEMUSDT at -0.2451% (0.74% daily)

Usage

node skills/funding-rate-scanner/scan.js

Files Added

  • SKILL.md - Skill documentation
  • scan.js - Main scanner (executable)
  • test.js - Test script
  • package.json - Package metadata

Why This Matters

Negative funding rates mean short sellers pay long holders. This skill helps traders identify these profitable opportunities automatically, potentially earning passive income just by holding long positions.

- Scan all Binance perpetual contracts for negative funding rates
- Zero dependencies (pure Node.js)
- No API key required (public endpoints)
- Tested with 583 contracts, found 117 negative rate opportunities
- Daily earnings calculation (3 funding payments)
- Sorted by profitability
Comment thread skills/funding-rate-scanner/SKILL.md Outdated
Comment thread skills/funding-rate-scanner/SKILL.md Outdated
Comment thread skills/funding-rate-scanner/SKILL.md Outdated
Comment thread skills/funding-rate-scanner/scripts/analyze.js Outdated
Comment thread skills/funding-rate-scanner/SKILL.md
@dimitrisn442 dimitrisn442 self-assigned this Apr 9, 2026
@dagangtj
Copy link
Copy Markdown
Author

Hi @dimitrisn442, thank you for the thorough review! I've addressed all the requested changes:\n\n1. Updated the output wording from 'Daily Earnings' to 'Indicative funding per day at current rate'\n2. Replaced 'Recommendation: Open long position' with 'Observation: Negative funding currently favors longs receiving funding, subject to market risk'\n3. Added a stronger disclaimer section in SKILL.md\n4. Enhanced analyze.js with HTTP status checks, a 10s timeout, and payload validation for robustness\n\nPlease let me know if there's anything else you'd like adjusted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants