You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add SubscriptionManagementSystem with dynamic subscribe/unsubscribe support across all exchanges
Introduce a new SubscriptionManagementSystem (SMS) to centralize subscription management with support for both subscribing and unsubscribing from market data streams. This enhancement enables dynamic strategy execution where data subscriptions can be added or removed at runtime.
Key changes:
- Add new SubscriptionManagementSystem class with queue-based subscription handling
- Implement unsubscribe methods for all data types (trade, bookl1, bookl2, kline, funding rate, index price, mark price)
- Add support for kline and volume kline aggregator unsubscription with proper cleanup
- Extend PublicConnector abstract base class with unsubscribe method signatures
- Update all exchange connectors (Binance, Bybit, OKX, Bitget, Hyperliquid) with unsubscribe implementations
- Integrate SMS into Engine for centralized subscription lifecycle management
- Add DataReady tracking for subscription readiness with timeout support
- Update version to 0.2.20
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments