- Introduced the `OKXCollector` and `OKXWebSocketClient` classes for real-time market data collection from the OKX exchange. - Implemented a factory pattern for creating exchange-specific collectors, enhancing modularity and scalability. - Added configuration support for the OKX collector in `config/okx_config.json`. - Updated documentation to reflect the new modular architecture and provide guidance on using the OKX collector. - Created unit tests for the OKX collector and exchange factory to ensure functionality and reliability. - Enhanced logging and error handling throughout the new implementation for improved monitoring and debugging.
14 lines
301 B
Python
14 lines
301 B
Python
"""
|
|
OKX Exchange integration.
|
|
|
|
This module provides OKX-specific implementations for data collection,
|
|
including WebSocket client and data collector classes.
|
|
"""
|
|
|
|
from .collector import OKXCollector
|
|
from .websocket import OKXWebSocketClient
|
|
|
|
__all__ = [
|
|
'OKXCollector',
|
|
'OKXWebSocketClient',
|
|
] |