Sidechair

syminfo.recommendations_date

Browse the reference

The time of the latest analyst recommendation update, as a UNIX timestamp in milliseconds.

Try it in the editor

syminfo.recommendations_date is a series int in UNIX time, milliseconds. It marks when the analyst rating counts were last refreshed.

Use it to judge how stale the counts are: subtract it from time or timenow and divide by 86400000 for days.

Type

series int

Remarks

  • It is na when the symbol has no analyst coverage.
  • On Sidechair: not supported yet; a script that reads syminfo.recommendations_date stops with the error "syminfo.recommendations_date" isn't supported yet.

Example

Pine ScriptAge of the ratingsOpen in editor
//@version=6
indicator("Rating age in days")
plot((time - syminfo.recommendations_date) / 86400000, "Days old", color.orange)

See also

Not on Sidechair yet