Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Net Position

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

    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?
    Steve L
    NinjaTrader Ecosystem Vendor - Ninja Mastery

    #2
    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

    Comment


      #3
      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?
      Steve L
      NinjaTrader Ecosystem Vendor - Ninja Mastery

      Comment


        #4
        Hi Steve, you have it correct. The best way of doing this would be to run one strategy that manages the position.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        54 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        130 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        73 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        44 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X