COB info restored, better COB heatmap, restore kill processes
This commit is contained in:
@ -430,17 +430,9 @@ class EnhancedCOBWebSocket:
|
||||
# 3. ticker - 24hr ticker statistics (includes volume)
|
||||
# 4. aggTrade - Aggregated trade data for volume analysis
|
||||
|
||||
# Configure kline stream with timezone offset if specified
|
||||
if self.timezone_offset:
|
||||
kline_stream = f"{ws_symbol}@kline_1s@{self.timezone_offset}"
|
||||
logger.info(f"Using timezone offset {self.timezone_offset} for kline stream")
|
||||
else:
|
||||
kline_stream = f"{ws_symbol}@kline_1s"
|
||||
logger.info("Using UTC timezone for kline stream")
|
||||
|
||||
# Build only supported, critical streams for stability (exclude kline_1s which may be unsupported)
|
||||
streams = [
|
||||
f"{ws_symbol}@depth@{self.update_speed}", # Order book diff depth
|
||||
kline_stream, # 1-second candlesticks (with timezone)
|
||||
f"{ws_symbol}@ticker", # 24hr ticker with volume
|
||||
f"{ws_symbol}@aggTrade" # Aggregated trades
|
||||
]
|
||||
|
Reference in New Issue
Block a user