Skip to content

[codex] Implement Bybit spot WebSocket subscriptions#20

Merged
createMonster merged 1 commit into
masterfrom
codex-bybit-spot-ws
Jun 15, 2026
Merged

[codex] Implement Bybit spot WebSocket subscriptions#20
createMonster merged 1 commit into
masterfrom
codex-bybit-spot-ws

Conversation

@createMonster

Copy link
Copy Markdown
Owner

Summary

  • implement Bybit spot subscribe_market_data using the shared Tungstenite/Reconnect WebSocket path
  • generate valid Bybit V5 spot stream topics for ticker, trades, order book, and klines
  • decode real Bybit spot WebSocket payloads into connector events and forward them as unified market data

Root Cause

Bybit spot exposed WebSocket URLs and codec scaffolding, but subscribe_market_data still returned a placeholder "not implemented" error. The existing stream helper also emitted the wrong order book topic shape.

Validation

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --all-features
  • cargo audit
  • cargo doc --no-deps --document-private-items --all-features
  • cargo run

Closes #18

@createMonster createMonster merged commit 520a55a into master Jun 15, 2026
1 check passed
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.

bybit spot ws not implemented

1 participant