Metadata / Reference
alerta.syminfo.shares_outstanding_total
TradingView-compatible spelling: syminfo.shares_outstanding_total, runs without warnings
Total shares outstanding of the company on a stock chart — the latest figure, not a history. na for anything that is not a stock, or when the company profile has none. Multiply by close for an approximate market capitalisation.
alerta.syminfo.shares_outstanding_total → floatReturns
floatExample
alerta.syminfo.shares_outstanding_total
indicator("Market cap", overlay=false)shares = syminfo.shares_outstanding_totalplot(na(shares) ? na : close * shares, "Market cap")Notes
- Requires outstanding-share metadata from a supported stock data source; otherwise returns na.
Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.