Convert Binance Bot to Bybit

Job ID: 40541707

Budget: $10 – $30 USD

I already have a Python trading bot that listens to Binance WebSocket streams, places market orders, and auto-converts between USDT and USDC. Unfortunately, order execution lags 8–20 seconds, making it unusable for my needs.

I want to keep the exact same functionality—market-order execution, WebSocket price feed, and automatic quantity calculation—but switch the exchange to Bybit and work exclusively in USDT. Your job is to:

• Replace the current Binance API calls with Bybit’s REST and WebSocket endpoints.
• Preserve all existing trading logic, position sizing, and risk controls.
• Eliminate or dramatically reduce execution latency so the close happens within milliseconds, not seconds.
• Deliver clean, well-commented Python code plus a short README explaining environment variables, API key handling, and startup steps.

Experience with Bybit’s latest API, high-performance WebSocket handling, and low-latency Python patterns (asyncio, uvloop, websockets, etc.) is essential. If you can demonstrate faster round-trip execution on a testnet account, that will be the key acceptance criterion.

I will supply the current source, sample config files, and testnet credentials once we agree to proceed.