Search code examples
pine-script

Pinescript, getting number of shares outstanding


Hey I am testing out pinescript of tradingview.

How can I get the number of shares outstanding for the stock using pinescript?


Solution

  • A new function is now available to access financials from Pine:

    https://www.tradingview.com/blog/en/built-in-financial-functions-and-metrics-in-pine-17491/