more cobfixes

This commit is contained in:
Dobromir Popov
2025-08-08 19:15:16 +03:00
parent be1753c96a
commit 71ba37ccc2
4 changed files with 101 additions and 13 deletions

View File

@ -410,15 +410,18 @@ class DashboardLayoutManager:
], style={"width": "38%", "marginLeft": "2%"}),
], className="d-flex mb-3"),
# COB Heatmap (ETH)
# Mini COB Heatmaps (ETH and BTC)
html.Div([
html.Div([
html.H6([
html.I(className="fas fa-fire me-2"),
"ETH/USDT COB Heatmap (last 5m, ±10 buckets)"
], className="card-title mb-2"),
dcc.Graph(id='cob-heatmap-eth', config={'displayModeBar': False}, style={"height": "300px"})
], className="card-body p-2")
html.Div([
html.H6([html.I(className="fas fa-fire me-2"), "ETH Heatmap"], className="card-title mb-2"),
dcc.Graph(id='cob-heatmap-eth', config={'displayModeBar': False}, style={"height": "220px"})
], className="card-body p-2", style={"flex": "1"}),
html.Div([
html.H6([html.I(className="fas fa-fire me-2"), "BTC Heatmap"], className="card-title mb-2"),
dcc.Graph(id='cob-heatmap-btc', config={'displayModeBar': False}, style={"height": "220px"})
], className="card-body p-2", style={"flex": "1", "marginLeft": "1rem"})
], className="d-flex")
], className="card"),
# Second row: Pending Orders (left) and Closed Trades (right)