Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi-Instrument Multi Strategy runtime

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

    Multi-Instrument Multi Strategy runtime

    Fort NT7

    When the system runs a multi-instrument / strategy simulation, do you calculate on a;

    A. Concurrent basis = each instrument runs on the time-series at the same time for position sizing / money management purposes
    B. Sequential basis = each instrument runs on a separate batch then you just aggregate the results?

    Which one is it?

    #2
    This reference sample offers a good example of the sequence of OnBarUpdate() calls.

    If you want to try on your own, use the following script:

    if (BarsInProgress == 0)
    Print (Time[0] + " First Series");

    if (BarsInProgress == 1)
    Print (Times[1][0] + " Second Series");

    That script will display the bars time stamp for the given series, depending on whether updates were called within context of primary series or secondary series.

    Let us know if this doesn't answer your question.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    24 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    30 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    18 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    27 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X