Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Two different strategies on same instrument that can have opposite positions

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

    Two different strategies on same instrument that can have opposite positions

    Hi,

    In the process of developing/testing some strategies, I had a situation where two different strategies with different time horizons on the same instrument are running at the same time but have opposite positions (one is short while the other is long). I was wondering how this would play out in live trading with a single account. Is it possible to be long and short in the same instrument in a live account? Or, will one strategy effect the position of another strategy? For example, strategy A is currently long and strategy B goes short with the net effect being flat in the account instead of being long in strategy A and short in strategy B.

    Thanks,
    gbrad

    #2
    Hello gbrad,

    Thanks for opening the thread.

    NinjaScript strategies use a virtualized position that is separate from the actual account position. This allows you to run separate strategies independently on the same instrument.

    Here is a link to our documentation on the Strategy Positions vs. Account Positions: https://ninjatrader.com/support/help..._account_p.htm

    Please bare in mind that while running unique strategies on the same account is possible, running multiple instances of the same strategy on the same account can cause issues when using a start behavior that matches historical orders with realtime. For example, Immediately Submit will match the strategy's historical orders to see if there are orders that belong to the strategy. If there are multiple instances of the strategy, there may be risk for mismatching. Please see the Syncing Account Position documentation for more details on start behaviors:



    If you have any additional questions, please don't hesitate to ask.

    Comment


      #3
      Thanks Jim. This was very helpful.

      gbrad

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      566 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      329 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      547 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      548 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X