Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OrderState() question

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

    #16
    Thanks for clarification. Then Ray's statement applies.

    Comment


      #17
      what are the chances of getting this fixed in the next build, so that as soon as e-signal sends an order to NT, calling OrderStatus() straight after order sent would return a string that says "initialized", rather than just an "empty" string?

      Comment


        #18
        Unfortunately there is no ETA yet.

        Comment


          #19
          does this mean you will have a go at fixing this problem sometime in the future?

          Comment


            #20
            Unfortunately there is no schedule yet.

            Comment


              #21
              hello,

              in ninja help guide at the end, under appendixes, appendix A, it says that the orderstate called "pending submit" means "order is submitted to connectivity provider"

              my question is: after TradeStation EL code sends NT DLL an order, are there any circumstances when it may take longer than 2 seconds for the orderstatus() function to go from empty string or "initialized" to return a string named "pending submit"?

              Also, what does order submitted to connectivity provider mean? does thsi mean submitted to broker, or submitted to NT DLL, or something else?

              Could you please answer these 2 questions seperately. Thank you.

              Regards

              Rod

              Comment


                #22
                There is no guarantee as to when your OrderStatus() will go to PendingSubmit.

                Submitted to connectivity provider means NT has processed the order and sent it out already. This can mean it has been sent to your brokerage.
                Josh P.NinjaTrader Customer Service

                Comment


                  #23
                  Hi Josh,

                  Thanks for your reply.

                  You mention that OrderStatus() will change to "pending submit" when NT has processed the order and sent it out of my computer.

                  What are the factors that might slow down the time taken for OrderStatus() to change from empty string to "pending submit"? (straight after an order has been sent by TradeStation to NT).

                  are these factors all related to my local computer, like CPU speed, RAM, whether my computer is busy doing other calculations when the order is being processed by NT, etc. Is this correct? Can you think of any other factors that might effect the time taken for NT to process an order?

                  What happens if my computer is doing a intensive virus scan at the time an order is being sent? do you think this would slow down the time it takes for an order to be sent and then ultimately filled by broker?

                  thanks in advance.

                  Regards

                  Rod

                  Comment


                    #24
                    Your CPU load, other applications running, how many charts are open, how intense your indicator/strategy calculations, etc. all have an impact on the speed.

                    If your computer is doing an intensive virus scan for sure this can introduce lag in processing your orders. In general, getting a more powerful computer will help in all cases and may be advisable if you have an older machine.
                    Josh P.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by NullPointStrategies, Today, 05:17 AM
                    0 responses
                    38 views
                    0 likes
                    Last Post NullPointStrategies  
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    124 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    64 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    41 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    46 views
                    0 likes
                    Last Post TheRealMorford  
                    Working...
                    X