fix(hub): align AI summary trades with records and restyle headings

- Query trade_records with trading-day window and reviewed fields instead of missing session_date column

- Style summary headings and account names as red text with white stroke

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-07 09:07:16 +08:00
parent 62e48dab92
commit f8220762c0
5 changed files with 289 additions and 50 deletions
+1
View File
@@ -446,6 +446,7 @@ def register_hub_routes(app):
conn,
trading_day,
row_to_dict_fn=c.get("row_to_dict"),
reset_hour=reset_hour,
)
finally:
conn.close()