diff --git a/services/aggregation/worker.py b/services/aggregation/worker.py index 7ef1388..7f9aaa9 100644 --- a/services/aggregation/worker.py +++ b/services/aggregation/worker.py @@ -244,6 +244,7 @@ WHERE target_ticker = $1 AND computed_at >= $2 AND computed_at <= $3 ORDER BY computed_at DESC +LIMIT 500 """