community增加事件详情

This commit is contained in:
2026-01-08 18:34:10 +08:00
parent d088bcbd12
commit 86158d1dd5
3 changed files with 25 additions and 25 deletions

4
app.py
View File

@@ -11123,7 +11123,7 @@ def get_events_effectiveness_stats():
return jsonify({
'success': True,
'data': {
'currentDate': end_date.strftime('%Y-%m-%d'),
'currentDate': current_trading_day.strftime('%Y-%m-%d') if hasattr(current_trading_day, 'strftime') else str(current_trading_day),
'summary': {
'totalEvents': 0,
'avgChg': 0,
@@ -11222,7 +11222,7 @@ def get_events_effectiveness_stats():
return jsonify({
'success': True,
'data': {
'currentDate': end_date.strftime('%Y-%m-%d'),
'currentDate': current_trading_day.strftime('%Y-%m-%d') if hasattr(current_trading_day, 'strftime') else str(current_trading_day),
'summary': summary,
'dailyStats': daily_stats,
'topPerformers': top_performers_list