Skip to content

A Python/Playwright utility that continuously monitors Bybit’s withdrawal status, plays an alert sound when it flips to “Normal,” and simultaneously executes an “Open Long” order on the specific futures pair at Ourbit

License

Notifications You must be signed in to change notification settings

n-urs/bybit-witdrawal-status-update-auto-trade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bybit Withdrawal Status Update & Auto-Trade

In this particular example, a Python/Playwright utility that continuously monitors Bybit’s BSC (BEP20) withdrawal status, plays an alert sound when it flips to “Normal”, and simultaneously executes an Open Long order on the ZKJ_USDT futures market at Ourbit. You can change the network, Trading pair, Exchange URL, and Trade Direction suitable to your own needs


🔎 Features

  • Real-time monitoring of Bybit’s deposit/withdrawal page
  • Automated refresh every 2 seconds
  • Targeted check for the BSC (BEP20) withdrawal status
  • Instant alert via sound.mp3 once status becomes “Normal”
  • Simultaneous trade: opens a new page on Ourbit and clicks Open Long

🚀 Getting Started

1. Prerequisites

  • Python 3.8+
  • Playwright
  • playsound for MP3 playback

2. Clone the repository

git clone https://github.com/<your-username>/bybit-withdrawal-status-update-auto-trade.git
cd bybit-withdrawal-status-update-auto-trade

3. Install dependencies

pip install -r requirements.txt
playwright install

4. Place your alert sound

Ensure an sound.mp3 file is in the project root (next to monitor_and_trade.py).


⚙️ Usage

python monitor_and_trade.py
  • A Chromium browser window will open two tabs side by side:

    1. Bybit: watching the BSC withdrawal status
    2. Ourbit: ready to place the Open Long order
  • Every 2 seconds the script refreshes Bybit’s status.

  • As soon as it reads “Normal”, it will:

    1. Play sound.mp3
    2. Click Open Long on the Ourbit tab
    3. Exit after a brief pause

🛠 Configuration

  • BYBIT_URL: Bybit monitor page
  • OURBIT_URL: Ourbit trading page
  • SOUND_FILE: MP3 filename for the alert
  • Adjust selectors in monitor_and_trade.py if Bybit or Ourbit update their DOM structure.

⚖️ License

This project is released under the MIT License. See LICENSE for details.

About

A Python/Playwright utility that continuously monitors Bybit’s withdrawal status, plays an alert sound when it flips to “Normal,” and simultaneously executes an “Open Long” order on the specific futures pair at Ourbit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages