Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TD Ameritrade and strategy sync warning in help guide - what exactly does it mean?

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

    TD Ameritrade and strategy sync warning in help guide - what exactly does it mean?

    Hi - regarding TD Ameritrade and Ninjatrader peculiarities there is the following warning in the help guide:

    Critical: * TD AMERITRADE Users * When starting a NinjaScript strategy, please be absolutely sure your strategy position is in sync with your account position. It is imperative that they are in sync for your NinjaScript strategy to run properly.
    I've googled and searched the forums, but have not been able to find any additional explanation of what this warning actually means (e.g., in the context of consequences, ramifications to managing, things to do/avoid). Any help shedding some light here would be very welcome, thanks!

    #2
    In addition to general guidance, here is a very specific question - what are the implications for the various "Start behavior" parameters. Which of these is an absolute no-no with TDAmeritrade, and/or recommended:
    Wait until flat
    Wait until flat, synchronize account,
    Immediately submit
    Immediately submit, synchronize account
    Adopt account position

    Comment


      #3
      Hello Calebg,

      Thank you for your post.

      I'd generally advise using Wait until Flat, Synchronize Account. You could also use immediately submit, synchronize account. Either way, you're going to want to make certain the account syncs.

      When you add a strategy to a chart it will always have a strategy calculated position. When you use WaitUntilFlat what that means is that any strategy action that may come afterwards to handle that strategy position will be a virtual trade and not be submitted to your live account. Once the strategy position crosses a flat state it will then submit the next order action live to your account. The sync occurs at that point in time (provided you had your account position at flat the whole time).

      Here's a link to our help guide that goes into depth about what each of the start behavior options mean:


      The limitation is in place as a special order name tagging is needed for the TDA connection, i.e. if your account is long and you wanted to sell (exit) that position you would need to send the signal with a sell signal name, a sell short would not be accepted.

      Please let us know if we may be of further assistance to you.

      Comment


        #4
        Hi Kate, and thanks. Regarding this part of your response:

        The limitation is in place as a special order name tagging is needed for the TDA connection, i.e. if your account is long and you wanted to sell (exit) that position you would need to send the signal with a sell signal name, a sell short would not be accepted.
        ...just want to be 100% clear that my understanding is correct here:

        Are you saying that any order submitted to a TDA account *has* to have a signalName parameter (i.e., signalName is *not* an optional parameter for a TDA connection) and that any order which does not included a signalName will not execute for a TDA account/connection?

        Comment


          #5
          Hello Calebg,

          Thank you for your reply.

          No, this just refers to how the TD Ameritrade connection matches your entries and exits. You should be able to execute an order without a signal name set.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Yesterday, 05:17 AM
          0 responses
          67 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          143 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          76 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          47 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          51 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X