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
Synch All Strategies
Collapse
X
-
Hello hdge4u,
Thank you for your post.
The position for the account and the position for the strategy are separate. It is quite possible for the position of a strategy to be out of sync with the position of an account.
Here's a pair of links to our help guide that go further into the difference between strategy and account position, as well as syncing positions:
https://ninjatrader.com/support/help..._account_p.htm
https://ninjatrader.com/support/help..._positions.htm
Using two NinjaScript Strategies that are placing orders in opposite directions would also be affected by the fact that the Strategy Position is separate from the Account Position. This means that if one strategy has taken a long position and is showing long 1, and the other has taken a short position on the same instrument and account combination and is showing short 1, the account position would be flat and neither strategy would be in sync with the account.
The most likely outcome in my testing would be that if you try to sync all strategies and have one that has calculated it would be in a long position and one that has calculated it would either be in a different long position or in a short position or flat, that the sync will fail and nothing will occur
Also, it should be noted that NinjaTrader does not support hedging.
I would recommend this post that goes further in depth on this:
Generally speaking we would not recommend running more than one strategy per instrument/account combination at a time, nor would we recommend manually trading on the same instrument and account combination you're also running a strategy on for the above reasons.
Please let us know if we may be of further assistance to you.
Kate W.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
148 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
5 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
5 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,283 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
Comment