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
- 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
- Python 3.8+
- Playwright
playsound
for MP3 playback
git clone https://github.com/<your-username>/bybit-withdrawal-status-update-auto-trade.git
cd bybit-withdrawal-status-update-auto-trade
pip install -r requirements.txt
playwright install
Ensure an sound.mp3
file is in the project root (next to monitor_and_trade.py
).
python monitor_and_trade.py
-
A Chromium browser window will open two tabs side by side:
- Bybit: watching the BSC withdrawal status
- 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:
- Play
sound.mp3
- Click Open Long on the Ourbit tab
- Exit after a brief pause
- Play
- 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.
This project is released under the MIT License. See LICENSE for details.