Skip to content

Smilelife1177/fund_rate_PY

Repository files navigation

FUNDING RATE

Alt text

Fund_rate_py

Python VersionLicense: GPL v3IssuesLast Commit

A Python-based tool to earn motions when updating the funding rate on different exchanges

Key features:

  • Real-time funding rate tracking for Bybit and Binance.
  • Support for both mainnet and testnet API keys.
  • Simple setup with a batch script for launching the application.
  • Calculation of setting a limit application

Installation

  1. Install Git If you don't have Git installed, download it from Gits official site.

  2. Install Python Ensure you have Python 3.7 or higher installed. Download it from Pythons official site.

  3. Clone the Repository Open a terminal or command prompt and run:

    cd Desktop
    git clone https://github.com/Smilelife1177/fund_rate_PY.git
    cd fund_rate_PY

Create virtual enviroment to install libraries

python3 -m venv venv
source venv/bin/activate

Install the required libraries by running

pip install -r requirements.txt

To start working with application type

bash .\scripts\env_api.sh

It create an .env fil with text, u need to put your apis keys to that file after "="

BYBIT_API_KEY =your api
BYBIT_API_SECRET =your api
BYBIT_API_KEY_TEST =your api
BYBIT_API_SECRET_TEST =your api
BINANCE_API_KEY =your api
BINANCE_API_SECRET =your api
BINANCE_API_KEY_TEST =your api
BINANCE_API_SECRET_TEST =your api

Run code by pressing "F5"

U will see that window:

image

Credits

Lead Developer - Oleg Shapran (@Smilelife1177) (shapran1177@gmail.com)

License

GPL-3.0 license

Copyright (c) 2025 Oleg Shapran

Packages

 
 
 

Contributors