perfect sticks again - lost historical timeframes

This commit is contained in:
Dobromir Popov 2025-04-01 15:11:08 +03:00
parent b9d2a36e50
commit c96e2223ee

View File

@ -1860,7 +1860,8 @@ class RealTimeChart:
tick_count += 1
# Also update the old candlestick data for backward compatibility
self.candlestick_data.update_from_trade(trade_data)
if hasattr(self, 'candlestick_data'):
self.candlestick_data.update_from_trade(trade_data)
# Log tick counts periodically
current_time = time.time()