Evaluation of lag expression halts because a quote for a given date is not being found.
The data for the quote exists, but even if a quote for a given offset does not exist, the evaluation is supposed to find the next nearest quote value.
For ANZ.AX, lag(close, -N) = 'No Quotes available for date: $date' error
The evaluation should only abort if there's no more historical data remaining.
Log in to post a comment.