• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Resetting OrderID/StrategyID Values

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

    Resetting OrderID/StrategyID Values

    I am submitting my own OrderID and StrategyID when I PLACE orders through the DLL ATI. If I am doing iterative testing whereby I am intentionally or unintentionally resubmitting the same OrderID or StrategyID across testing iterations, is there a way I can reset NinjaTrader so it won't give a a Filled, StrategyPosition, etc function result from an order that belongs to a prior test? Will "Reset DB" or restarting Ninja do the trick? Btw, I am aware that the ATI has a function to return unique OrderID and StrategyIDs to make this a moot point.

    Thanks,

    Whitmark
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    >> Will "Reset DB" or restarting Ninja do the trick?
    Resetting DB will do the trick.
    DierkNinjaTrader Customer Service

    Comment


      #3
      Thanks Dierk . . . will Restting the DB delete any simulation accounts I might have created for testing? Thanks.
      whitmark
      NinjaTrader Ecosystem Vendor - Whitmark Development

      Comment


        #4
        >> will Restting the DB delete any simulation accounts I might have created for testing?
        no
        DierkNinjaTrader Customer Service

        Comment


          #5
          Dierk, I tried Resetting the DB as you suggested and that cleared the historical orders, executions, and ATM strategy data on the control center, however, the MarketReplay ATI function is still returning previous position values. Is there a way to reset these too or must I reinstall Ninja?

          Thanks,

          Whitmark
          whitmark
          NinjaTrader Ecosystem Vendor - Whitmark Development

          Comment


            #6
            Try restarting NT
            DierkNinjaTrader Customer Service

            Comment


              #7
              Its pretty stubborn . . . tried restarting Ninja as well as deleting the accounts and restarting Ninja but the MarketPositions persist. Is there a way to purge the the relevant database and rebuild it? Thanks.

              Whitmark
              whitmark
              NinjaTrader Ecosystem Vendor - Whitmark Development

              Comment


                #8
                You need to restart the ATI using app as well.
                DierkNinjaTrader Customer Service

                Comment


                  #9
                  Okay, that must be it . . . I rebooted the machine too which restared the ATI app . . . thanks for the follow-up.

                  Regards,

                  Whitmark
                  whitmark
                  NinjaTrader Ecosystem Vendor - Whitmark Development

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Bouzayen, Yesterday, 08:31 PM
                  0 responses
                  14 views
                  0 likes
                  Last Post Bouzayen  
                  Started by IanC28, 03-27-2020, 10:20 AM
                  6 responses
                  30 views
                  0 likes
                  Last Post jim1234
                  by jim1234
                   
                  Started by aramtrader, 04-01-2020, 03:05 PM
                  7 responses
                  40 views
                  0 likes
                  Last Post woodie1
                  by woodie1
                   
                  Started by renehtx, Yesterday, 03:51 PM
                  2 responses
                  16 views
                  0 likes
                  Last Post renehtx
                  by renehtx
                   
                  Started by eidog2020, Yesterday, 03:31 PM
                  0 responses
                  8 views
                  0 likes
                  Last Post eidog2020  
                  Working...
                  X