Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi-strategies relations

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

    Multi-strategies relations

    I use an example to explain my questions.
    I have strategy1 against stock1 and strategy2 against stock2. They are running at the same time.

    So when there is an execution (such as order filled) from strategy1. How strategy2 knows its status? Will onExecution() in strategy2 be called?

    #2
    Hello Appleseed,

    Thank you for your post.

    Each strategy will run its own OnExecution tracking. Meaning taht when Strategy1 enters a position or has an execution, Strategy2 will not know this.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      If one Strategy is running against 2 stocks at the same time. When stack1 is filled, I need to cancel stock2 order. How do I realize this?

      Comment


        #4
        You won't be able to have two separate strategies check each others fills, however, you can add the instrument into one of the strategies so that you have one running strategy checking and trading between two different stocks.

        http://www.ninjatrader.com/support/h...nstruments.htm
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        47 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        15 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        21 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X