Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
TD Ameritrade and strategy sync warning in help guide - what exactly does it mean?
Collapse
X
-
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.Tags: None
-
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
-
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.Kate W.NinjaTrader Customer Service
Comment
-
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.
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
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Brevo, Today, 01:45 AM
|
0 responses
6 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
3 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
384 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
||
Started by oviejo, Today, 12:28 AM
|
0 responses
6 views
0 likes
|
Last Post
by oviejo
Today, 12:28 AM
|
Comment