This commit is contained in:
Dobromir Popov
2025-07-27 18:31:30 +03:00
parent a94b80c1f4
commit e2c495d83c
15 changed files with 3883 additions and 3335 deletions

View File

@ -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