Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"shares_outstanding"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    "shares_outstanding"

    Is there the equivalent to (TecStock.com code)

    market_cap := (finance("shares_outstanding")*close / 1e6));

    Seems TecStock has this in a relatively easy to get form. I'd like to use this info in my NinjaTrader indicator, working with Kinetick EOD ticker information.

    I've read where shares outstanding is available, but with the caveat that the method is for advanced programmers only and only for "real time" data. I believe Kinetick has the info available, according to an excel document I downloaded via another post. The data wouldnt seem to be beyond the scope of EOD; how many shares outstanding, er, left?

    The given example (below) just blows me out of the water; I've never got it to print anything for me in my indicator. Hard to understand the context with which it operates also; if it's AverageDailyVolume or PriceEarningsRatio? Where is either asked for in the first place? What if I want it to be just SharesOutstanding?

    code ---

    protected override void OnFundamentalData(FundamentalDataEventArgs e)
    {
    // Print some data to the Output window
    if (e.FundamentalDataType == FundamentalDataType.AverageDailyVolume)
    Print("Average Daily Volume = " + e.LongValue);
    else if (e.FundamentalDataType == FundamentalDataType.PriceEarningsRatio)
    Print("P/E Ratio = " + e.DoubleValue);


    Thanks and best regards,

    Joe

    #2
    Hello Joe,

    Thank you for your post.

    What instruments are you trying to use with the Kinetick EOD?

    Additionally, this would only be available for live data only.

    Kinetick EOD does not provide intraday data, only daily data.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    549 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X