Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8-TDA orders submitted never get an updated status

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

    NT8-TDA orders submitted never get an updated status

    The orders are filled automatically if you checked their status using other sources. For NT, they have been submitted.
    Log and trace files submitted to customer support.
    If you have the same problem please make sure you add your comments.
    Thank you

    #2
    For reference, your ticket that you sent your files in is #2463725.

    In the files you sent, it appears as if you've restarted NinjaTrader approximately 50 times today. Can you elaborate as to what the purpose of the restarts was?

    If you disconnect and reconnect, what occurs to the status of these orders?

    Comment


      #3
      Yes Patrick, 50 times I had to restart NT today since the orders would not get an updated status, and you can see that on both the trace/log files.
      I appreciate your help.

      Comment


        #4
        Disconnect and connect would not fix the broker position, but I am not 100% sure, I seem to recall I did this and it was worse because my strategy is acting on a wrong broker position. Only cure is a restart, so both positions and orders can start fresh.

        Comment


          #5
          This sounds like a networking issue in which NinjaTrader is unable to maintain a consistent connection to TD Ameritrade. A new TD Ameritrade adapter is actually in development, however, I do not believe it would resolve a symptom where the root cause is simply intermittent network issues.

          There also may be an element of overwhelming the routing technology. I notice when you started the dozens of automated strategies you're running that 17 out of 26 orders are submitted almost instantly (within one second).

          In an attempt to mitigate this symptom, please try this network troubleshooting:
          • Restart NinjaTrader (you've already done this)
          • Restart your modem and (if applicable) router
          • Restart your PC
          • Clear your DNS
          • If you are not already and the option is available to you, connect to the internet using an ethernet cable. Wireless connections are significantly more unreliable.
          • Ensure exceptions have been added into any firewall/antivirus/backup programs for the Documents > "NinjaTrader 8" folder.
          • Ensure that your computer is not turning off your Network Adapter to conserve power:
            • Right-click on your Start button
            • Select 'Device Manager'
            • Expand 'Network Adapters'
            • Right-click on your Network Adapter and select Properties > Power Management
            • Uncheck 'Allow the computer to turn off this device to save power' option
            • Click 'OK' to save the changes
            • Do this for all Network Adapters
          • If the above steps do not help, contact your ISP and let them know you are experiencing a highly unstable connection. An issue of connectivity may exist on their end.

          Comment


            #6
            Sorry Patrick, I am not experiencing an unstable connection. Thinkorswim is rock solid and I have no other issues.
            I hope another user comes up and shows you the same issue.
            Thank you for your help.

            Comment


              #7
              To clarify, I am not saying that your connection in general is unstable. I am saying that the connection between NinjaTrader and TD Ameritrade through the API may be unstable.

              Comment


                #8
                Dear Patrick,
                I understood, no worries.
                Once again, I hope one of the many TDA users who wrote on the post about not being able to login to TDA the other.day, confirm or not, this issue.
                I confirm to you my connection is rock solid, TOS works flawlessly, and I have no other issues. My understanding is this issue is an API miscommunication between NT8-TDA.
                Thank you

                Comment


                  #9
                  Dear Patrick, this error/bug happens most of the time in the early hours until about this time 12:55hs Eastern time. For example, I just sent a few orders and they are getting updated correctly now. In the previous days, it also happened in the first hours of trading.
                  Thanks again

                  Comment


                    #10
                    I'll follow up when I have more information about the new TD Ameritrade API in development to see if there is relevant tweaks or improvements to address what you're experiencing.

                    Comment


                      #11
                      Dear Patrick,

                      Should I try contact TDA API (in writing only as they don't take calls) and see what they say, or shall I leave this with you and your team?

                      Thanks

                      Comment


                        #12
                        Those would be the same people that our Development Team speaks with. I imagine they would tell you to contact us since you're not directly developing an API. What would be useful is a bit of sample code that can reproduce the symptom 100% of the time. I am not necessarily asking you to produce this, but that would help us determine quite quickly whether or not the new API fixes what you're experiencing.

                        Comment


                          #13
                          Dear Patrick,
                          Any code will do the same.
                          The question for TDA is this, why this issue before 13hs eastern time, and now it is working with no problems. My suspicion is this might have something to do with their servers or something at their end. I honestly do not think there is a problem with NT itself.
                          Thank you

                          Comment


                            #14
                            Originally posted by bertochi View Post
                            Sorry Patrick, I am not experiencing an unstable connection. Thinkorswim is rock solid and I have no other issues.
                            I hope another user comes up and shows you the same issue.
                            Thank you for your help.
                            I have the same problem that bertochi reported. I also find myself having to close NT often (not all the time). I have very stable and fast Internet service (I pay extra for it). I run Ameritrade's ThinkorSwim simultaneously and this does not ever have a hiccup. Furthermore, this problem with NT never happened before until the version (and it got worse lately) that required to get Credentials Authorized by Ameritrade to connect NT. In my view, it has to do with the changes made to the Ameritrade API made at the time of that requirement. There likely is a stringent timeout embedded with the order and execution message passing between the API and NT. It appears to affect the feedback as the orders are apparently sent without a glitch to the API but the feedback often fails.

                            Comment


                              #15
                              You need no special code to reproduce this. It happens even when one sends orders with SuperDOM. I use three SuperDOM (one for each of three accounts I operate) almost simultaneously (just clicking on each of the three windows one after the other. The orders are sent and executed fairly fast or when conditions are met (if using LIMIT) but often the SuperDOM does not recognize the executions or recognize it partly (not the whole number of shares that were executed). Sometimes two of the three SuperDOMs are updated correctly and one of them (randomly) is not.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by ursavent, Today, 12:54 PM
                              0 responses
                              1 view
                              0 likes
                              Last Post ursavent  
                              Started by Mizzouman1, Today, 07:35 AM
                              3 responses
                              17 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Started by RubenCazorla, Today, 09:07 AM
                              2 responses
                              13 views
                              0 likes
                              Last Post NinjaTrader_ChelseaB  
                              Started by i019945nj, 12-14-2023, 06:41 AM
                              7 responses
                              82 views
                              0 likes
                              Last Post NinjaTrader_ChelseaB  
                              Started by timmbbo, 07-05-2023, 10:21 PM
                              4 responses
                              158 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Working...
                              X