The last day of the fiscal period the next earnings report covers, as a UNIX timestamp in milliseconds.
earnings.future_period_end_time is a series int. A company reports weeks after the period it describes, so this is earlier than earnings.future_time.
The gap between the two tells you how long the company takes to report.
Type
series int
Remarks
- It is na when no report is scheduled. It describes the next report as known right now, so read it on the last bar.
- On Sidechair: not supported yet;
earnings.future_period_end_timereads as its own text, not a number, so arithmetic on it gives na and na() on it is false. A script that reads it still runs but has no real value to show.
Example
//@version=6
indicator("Reporting lag", overlay = true)
plot(close, "Close", color.gray)
if barstate.islast and earnings.future_time > timenow
label.new(bar_index, high, str.tostring(math.round((earnings.future_time - earnings.future_period_end_time) / 86400000)) + " days after period end")See also
Not on Sidechair yet