cleanup
This commit is contained in:
@ -101,9 +101,20 @@ class COBIntegration:
|
||||
|
||||
# Initialize COB provider as fallback
|
||||
try:
|
||||
# Create default exchange configs
|
||||
exchange_configs = {
|
||||
'binance': {
|
||||
'name': 'binance',
|
||||
'enabled': True,
|
||||
'websocket_url': 'wss://stream.binance.com:9443/ws/',
|
||||
'rest_api_url': 'https://api.binance.com/api/v3/',
|
||||
'rate_limits': {'requests_per_minute': 1200}
|
||||
}
|
||||
}
|
||||
|
||||
self.cob_provider = MultiExchangeCOBProvider(
|
||||
symbols=self.symbols,
|
||||
bucket_size_bps=1.0 # 1 basis point granularity
|
||||
exchange_configs=exchange_configs
|
||||
)
|
||||
|
||||
# Register callbacks
|
||||
|
Reference in New Issue
Block a user