Skip to content

Bybit spot#45

Open
donewiththedollar wants to merge 3 commits intoHawkeyeBot:masterfrom
donewiththedollar:bybit-spot
Open

Bybit spot#45
donewiththedollar wants to merge 3 commits intoHawkeyeBot:masterfrom
donewiththedollar:bybit-spot

Conversation

@donewiththedollar
Copy link
Contributor

@donewiththedollar donewiththedollar commented Nov 27, 2025

  • Bybit spot integration
  • Symbols take a bit to scan, could be improved
  • Confirmed working, rotates through symbols in scanner properly for spot

- Add bybitspot.py scraper using pybit unified trading API
- Sync balance, positions, trades, orders for spot trading
- Calculate realized P&L from spot trades
- Add bybit_spot exchange type to scraper.py
- Update config.example.json with Bybit Spot example

Tested with live API credentials
- Add find_new_traded_symbols() thread to scan all spot symbols
- Automatically detects symbols with trade history
- Matches Binance Spot behavior for auto-discovery
- Fetches 652 spot symbols and checks for trades
- Add update_trades_last_downloaded() call after fetching symbol
- Fixes bug where only first symbol was synced repeatedly
- Now properly rotates through all traded symbols
- Enables P&L calculation for all trading pairs
@donewiththedollar donewiththedollar marked this pull request as draft November 29, 2025 01:01
@donewiththedollar donewiththedollar marked this pull request as ready for review November 29, 2025 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant