Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Net Position
Collapse
X
-
Net Position
If I'm running two strategies on two separate charts in NinjaTrader on the same instrument on the same account on NinjaTrader Brokerage, will NT automatically create a net position? That is, if one strategy wants me long 3 contracts and the other wants me short one, will NT automatically adjust my position to be long 2? Or if one strategy wants me long 1 and the other short 1, will NT make my position flat? Or is this something that would have to be coded manually?Tags: None
-
Hello, thanks for writing in. The two strategies will be working on a single instrument on a single account, so the positions will exit each other. e.g. If one strategy goes long and the other goes short, the account position will be flat but the two strategies' positions will be long and short. This is generally not a recommended thing to do. We recommend running one strategy on a single instrument so the account position and strategy position does not go out of sync.
Kind regards,
-ChrisL
- Likes 1
-
Thanks. So if I read you correctly, you're saying that while the brokerage would just cancel out the positions, the two separate strategies might not handle that gracefully because NT does not have code to understand that two different strategies are both contributing to the current account positions. As a result, the two strategies can get out of sync. Therefore, if I have multiple strategies to run on the same instrument that could lead to opposite positions, then I should put their logic into a single strategy and add some of my own code to determine the net position. In this way, there won't be problems sync'ing the strategy with the brokerage account. Did I get that right?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
56 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
34 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
195 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
359 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
281 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment