LR module possibly working

This commit is contained in:
Dobromir Popov
2025-05-28 23:42:06 +03:00
parent de01d3665c
commit 6b7d7aec81
16 changed files with 5118 additions and 580 deletions

View File

@ -60,6 +60,10 @@ except ImportError:
'models': {}
}
def get_models_by_type(self, model_type: str):
"""Get models by type - fallback implementation returns empty dict"""
return {}
def register_model(self, model, weight=1.0):
return True
@ -305,7 +309,8 @@ class TradingDashboard:
], className="row g-2 mb-3"),
# Bottom row - Session performance and system status
html.Div([
html.Div([
# Session performance - 1/3 width
html.Div([
html.Div([
@ -313,10 +318,16 @@ class TradingDashboard:
html.I(className="fas fa-chart-pie me-2"),
"Session Performance"
], className="card-title mb-2"),
html.Button(
"Clear Session",
id="clear-history-btn",
className="btn btn-sm btn-outline-danger mb-2",
n_clicks=0
),
html.Div(id="session-performance")
], className="card-body p-2")
], className="card", style={"width": "32%"}),
# Closed Trades History - 1/3 width
html.Div([
html.Div([
@ -325,12 +336,6 @@ class TradingDashboard:
"Closed Trades History"
], className="card-title mb-2"),
html.Div([
html.Button(
"Clear History",
id="clear-history-btn",
className="btn btn-sm btn-outline-danger mb-2",
n_clicks=0
),
html.Div(
id="closed-trades-table",
style={"height": "300px", "overflowY": "auto"}