community增加事件详情
This commit is contained in:
2
app.py
2
app.py
@@ -11115,7 +11115,6 @@ def get_events_effectiveness_stats():
|
|||||||
'maxChg': event.related_max_chg,
|
'maxChg': event.related_max_chg,
|
||||||
'investScore': event.invest_score,
|
'investScore': event.invest_score,
|
||||||
'surpriseScore': event.expectation_surprise_score,
|
'surpriseScore': event.expectation_surprise_score,
|
||||||
'indType': event.ind_type,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
if event.related_avg_chg is not None:
|
if event.related_avg_chg is not None:
|
||||||
@@ -11157,7 +11156,6 @@ def get_events_effectiveness_stats():
|
|||||||
'maxChg': e.related_max_chg,
|
'maxChg': e.related_max_chg,
|
||||||
'investScore': e.invest_score,
|
'investScore': e.invest_score,
|
||||||
'surpriseScore': e.expectation_surprise_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 '',
|
'createdAt': e.created_at.strftime('%Y-%m-%d %H:%M') if e.created_at else '',
|
||||||
} for e in top_performers]
|
} for e in top_performers]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user