diff --git a/web/component_manager.py b/web/component_manager.py index 7b468b6..c7b062b 100644 --- a/web/component_manager.py +++ b/web/component_manager.py @@ -349,7 +349,8 @@ class DashboardComponentManager: def _create_cob_ladder_panel(self, bids, asks, mid_price, symbol=""): """Creates the right panel with the compact COB ladder.""" - bucket_size = 10 + # Use symbol-specific bucket sizes: ETH = $1, BTC = $10 + bucket_size = 1.0 if "ETH" in symbol else 10.0 num_levels = 5 def aggregate_buckets(orders):