Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how to count open orders (executed)

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

    how to count open orders (executed)

    Hi, is there a way to count executed orders? I mean, when I start the strategy after a crach on PC (for example), but there are already open orders (opened during last session), I need to count how many orders there are and the type (for example the name) for initialize my strategy and avoid that it open new orders: how can I do this?
    Thanks

    Bolla

    #2
    Hi Bolla,

    When you restart your strategy there are no "open" orders. All those old orders will be simulated orders and may not even be shown in the same places as you had them in real-time. Please see the discrepancies between real-time and backtesting. When you rerun on historical data you are essentially going through it from a backtesting standpoint. http://www.ninjatrader-support.com/H...sBacktest.html

    The only possible "open" order to the strategy would be the last order and even that would be a virtual, strategy position. Please see this article about the differences between a strategy position and an account position. It is critical you understand the implications of this. http://www.ninjatrader-support2.com/...ead.php?t=4033
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      So, there is no way to sync Strategy Position with real Accont Position using strategy but only with manual management: is it true?
      In NT7 is there this possibility or not?
      Thanks

      Bolla

      Comment


        #4
        Your understanding is correct. There will be improvements in NT7. Announcements will be made when available.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Thanks, but if I want to count how many orders I have on my execution tab (no matter if real or simulated trades), can I do this?

          Bolla

          Comment


            #6
            Nope. If your NinjaTrader has froze it has no way of linking the two together.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              About accounts, isn't it impossible to create Sim102 account for example and trade only Long positions on Sim101 account and only short positions on Sim102 account from the same strategy and same instrument? (to simulate 2 separate MBTrading account that not permit hedge)
              Thanks

              Bolla

              Comment


                #8
                You cannot run one instance of a strategy on two accounts. You can however run two instances on separate accounts.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  what's means?
                  Please explain me.
                  Thx

                  Bolla

                  Comment


                    #10
                    When you run a strategy you can only run it on one account. You can run the same strategy multiple times on as many accounts as you want.
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      How can I do that? Different Chart?

                      Bolla

                      Comment


                        #12
                        You can run them on the strategies tab from the control center. Or from separate charts. You can also do it from one chart. When you add multiple strategies you have the option to choose which Account it runs on. Just select which one you want.
                        Josh P.NinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        648 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        369 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        108 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        572 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        573 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X