Sidechair

syminfo.target_price_date

Browse the reference

The time of the latest analyst price-target update, as a UNIX timestamp in milliseconds.

Try it in the editor

syminfo.target_price_date is a series int in UNIX time, milliseconds. It marks when the target-price figures were last refreshed.

Subtract it from time or timenow to judge how stale the targets are.

Type

series int

Remarks

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

Example

Pine ScriptTarget ageOpen in editor
//@version=6
indicator("Target age in days")
plot((time - syminfo.target_price_date) / 86400000, "Days old", color.orange)

See also

Not on Sidechair yet