GitHub Funding Arbitrage Screener for Binance, OKX, ByBit, and MEXC

·

Crypto Funding Rate Arbitrage Screener

This project is a powerful tool designed to identify and analyze funding rate arbitrage opportunities across top cryptocurrency exchanges. It supports Binance, Bybit, OKX, and MEXC, helping traders capitalize on market inefficiencies with precision.


Key Features

Multi-Exchange Screening

Profit Calculation

Efficient Processing

Dual Output


Installation Guide

  1. Clone the Repository

    git clone https://github.com/kir1l/Funding-Arbitrage-Screemer.git
    cd Funding-Arbitrage-Screemer
  2. Install Dependencies

    pip install -r requirements.txt

How to Use

Run the main script to start scanning:

python main.py

The tool will:

  1. Fetch perpetual contracts from each exchange.
  2. Retrieve current funding rates.
  3. Calculate potential profits (after fees).
  4. Output the top 20 opportunities per exchange to results.txt.

Project Structure

| File/Directory | Description |
|-----------------------|----------------------------------------------|
| main.py | Manages and runs all screeners. |
| screeners/binance_screener.py | Binance arbitrage detection. |
| screeners/bybit_screener.py | Bybit arbitrage detection. |
| screeners/okx_screener.py | OKX arbitrage detection. |
| screeners/mexc_screener.py | MEXC arbitrage detection. |


How Funding Rate Arbitrage Works

  1. Identify Discrepancies: Look for differences in funding rates between exchanges.
  2. Long/Short Positions: Open offsetting positions (e.g., long on exchange A, short on exchange B).
  3. Profit from Rate Differences: Earn the funding rate differential while hedging price risk.

👉 Learn more about crypto arbitrage strategies


FAQ

Q: Is this tool free to use?
A: Yes! It’s open-source under the MIT License.

Q: Which exchanges are supported?
A: Binance, Bybit, OKX, and MEXC.

Q: Does it account for trading fees?
A: Absolutely—it calculates net profit after fees.

Q: Can I contribute to the project?
A: PRs are welcome! Improve screeners or add new exchanges.


Disclaimer

This tool is for educational purposes only. Cryptocurrency trading involves substantial risk—always conduct independent research before investing.

👉 Explore advanced trading tools