""" Exchange registry for supported exchanges. This module contains the registry of supported exchanges and their capabilities, separated to avoid circular import issues. """ # Exchange registry for factory pattern EXCHANGE_REGISTRY = { 'okx': { 'collector': 'data.exchanges.okx.collector.OKXCollector', 'websocket': 'data.exchanges.okx.websocket.OKXWebSocketClient', 'name': 'OKX', 'supported_pairs': ['BTC-USDT', 'ETH-USDT', 'SOL-USDT', 'DOGE-USDT', 'TON-USDT'], 'supported_data_types': ['trade', 'orderbook', 'ticker', 'candles'] } } def get_supported_exchanges(): """Get list of supported exchange names.""" return list(EXCHANGE_REGISTRY.keys()) def get_exchange_info(exchange_name: str): """Get information about a specific exchange.""" return EXCHANGE_REGISTRY.get(exchange_name.lower())