Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

multiple instrument strategy

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

    multiple instrument strategy

    i'm planning to run a strategy on multiple instruments and was wondering what appends to the "Performance.Alltrade" command in that situation.

    1, if i run the strategy ABC on 5 different instruments, does the ".Count" or ".Quantity" parameter takes the whole account or only the trade generated by that strategy on that instrument?

    2, should i rename my strategy for each instance running in parallel?

    3, if i make some modification to a strategy that is running live, like removing unused code to clean up, do i need to reinstal it on the chart or is it updated automatically after a compile?

    thanks

    #2
    Hello Tubular2000,

    Thank you for your note.

    The Performance will be per strategy instance regardless of how many instruments it is trading.

    Say you had 3 strategy instances running that each trade 5 instruments for a total of 15 instruments.
    Using Performance will only return 3 trading performances.

    You do not need to rename the strategy for each running instance.

    If you do make changes to the script you will need to reload those changes on the script to have the change take affect
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      thanks for your fast reply!

      when you say that i have to "reload" the script. do you mean right clicking on the chart and do "Reload NinjaScript" action?

      if so, how does it affect the open positions? and what about a strategy that is only on the control center but not on a chart?

      Comment


        #4
        Hello Tubular,

        Yes, you would need to right click on the chart and select Reload NinjaScript

        Additionally, for the Strategies Tab you would need to disable the strategy and re-enable it.

        Lastly, any open positions on your live account will remain open when the strategy is reloaded. When the strategy reloads it will have a new running instance.
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        599 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        344 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        558 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        557 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X