Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy ID column

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

    Strategy ID column

    How do I get the Strategy ID column to fill on the Orders tab.. I run different strategies and would be nice to correlate which order is coming from which strategy!!
    Attached Files

    #2
    gg80108,

    If you were using an ATM strategy it will auto populate. If you are using a NinjaScript strategy it should take the name of your strategy. If you removed the strategy label then it would be blank. You will want to provide a label name for it.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      These are my Strategies.. Are u talking about it should get the name from the Strategy

      public class FluxAuto4_20 : Strategy
      public class CCIRange : Strategy

      If so it aint doing it!

      Don

      Comment


        #4
        GG80108,

        You need to be sure that the "Label" field is populated. This is available when you run the strategy.

        Please test with SampleMACrossover strategy and let us know if you continue to have issues.
        Attached Files
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Both my strategies have labels .. ur right the sample populates the field.. how do I make my stuff work? I looked at the sample code near the top but couldn't see any difference to mine.
          Attached Files

          Comment


            #6
            I'd like to test on my side to see if I'm getting the same results.
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              Here is what I noticed.. If the data source is disconnected All of the order information goes away... When the data source is connected again the orders all come back but the Strategy ID is blank... This is similar to another worthless behavior that the Real Time Strategy Performance goes away and ends up being polluted with the Historical, since the trades on the historical presented can be vastly different then what was in the Real-time stats..... Dont think anyone who has every tried to backtest can take NT seriously for backtesting.

              Comment


                #8
                Thanks for sharing your observations and suggestions, gg80108.

                Discrepencies Real Time Vs. Backtest.
                Ryan M.NinjaTrader Customer Service

                Comment


                  #9
                  Originally posted by NinjaTrader_RyanM View Post
                  I'd like to test on my side to see if I'm getting the same results.
                  I'm having the same issue, StrategyId is blank even though my strategies have labels.

                  I'm looking at my IB account performance when connected to IB...could that be the reason the StrategyID field is blank?

                  Thanks

                  Comment


                    #10
                    This should not make a difference, did you for perhaps close a strategy position by hand? Then this order / execution would have a blank strategy label for sure.

                    Comment


                      #11
                      Originally posted by NinjaTrader_Bertrand View Post
                      This should not make a difference, did you for perhaps close a strategy position by hand? Then this order / execution would have a blank strategy label for sure.
                      I've only just started live strategy trading but my last trade was completely handled via Ninjatrader and the ID was blank.

                      Comment


                        #12
                        jmtoll,

                        Could you try this on a sim account and let us know your results? If you can reproduce this, can you share the strategy and steps needed to see it. You can post here or send to [email protected]
                        Ryan M.NinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        597 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        343 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        103 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        556 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        555 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X