community增加事件详情

This commit is contained in:
2026-01-08 18:17:56 +08:00
parent b889783f6d
commit cb4871416a

2
app.py
View File

@@ -11115,7 +11115,6 @@ def get_events_effectiveness_stats():
'maxChg': event.related_max_chg,
'investScore': event.invest_score,
'surpriseScore': event.expectation_surprise_score,
'indType': event.ind_type,
})
if event.related_avg_chg is not None:
@@ -11157,7 +11156,6 @@ def get_events_effectiveness_stats():
'maxChg': e.related_max_chg,
'investScore': e.invest_score,
'surpriseScore': e.expectation_surprise_score,
'indType': e.ind_type,
'createdAt': e.created_at.strftime('%Y-%m-%d %H:%M') if e.created_at else '',
} for e in top_performers]