Sidechair

syminfo.isin

Browse the reference

The ISIN of the instrument, the twelve-character international security identifier.

Try it in the editor

syminfo.isin is a simple string with the International Securities Identification Number, such as US0378331005 for Apple. The first two letters are the country code.

It identifies a security across exchanges, which a ticker cannot: the same company can have different tickers on different venues but one ISIN.

Type

simple string

Remarks

  • Only instruments that have an ISIN return one. Treat an empty string or na as no identifier.
  • On Sidechair: not supported yet; a script that reads syminfo.isin stops with the error "syminfo.isin" isn't supported yet.

Example

Pine ScriptShow the identifierOpen in editor
//@version=6
indicator("ISIN", overlay = true)
plot(close, "Close", color.gray)
if barstate.islast
    label.new(bar_index, high, syminfo.ticker + " " + syminfo.isin)

See also

Not on Sidechair yet