Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Account/Strategy sync with TD Ameritrade
Collapse
X
-
Account/Strategy sync with TD Ameritrade
I have written a strategy that places an order to buy shares of a stock 15 seconds before the end of the trading session based on certain criteria. This is in a TD Ameritrade account. The strategy is for a very long term investment account so it never sells any shares, only adds shares from time to time. I am not sure how to handle the account and strategy syncing. The account already has shares in it when the strategy is started. I DO NOT want to have these shares sold. From reading some posts on syncing on this forum, I believe if I enable strategy syncing then all my shares will be sold when the strategy starts, is this correct? How do I handle syncing so that my shares are never sold yet I can place orders to buy more shares using the strategy? Every time I start the strategy I get a message that it is not synced, can I just run the strategy without syncing and do no damage? This is all very convoluted in my mind, I just want to buy some shares at the end of day based on my strategy without having to deal with any syncing stuff. thanksTags: None
-
Originally posted by NinjaTrader_Bertrand View PostHi seahn, unfortunately you're understanding for the limitation on the TDA account is correct. So your script would just add to the long position, it would not manage any exits for it?
Comment
-
seahn, currently there's no concept to have the strategy adopt account position, but we're working on this item for our next major platform update.
If you don't chose to sync the script will not touch your account and execute per it's strategy logic.
The limitation is in place as a special order name tagging is needed for the TDA connection, i.e. if you're 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 here (not allowing to cross like that).
If you don't care about managing any prior strategy generated position, the WaitUntilFlat mode without sync would be good, the script would then trade the next live generated signal.BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by rocketman7, Today, 01:00 AM
|
0 responses
1 view
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
||
Started by wzgy0920, 04-23-2024, 09:53 PM
|
2 responses
74 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
193 views
0 likes
|
Last Post
by Hasadafa
Yesterday, 10:19 PM
|
Comment