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 benmarkal, Yesterday, 12:52 PM
    3 responses
    22 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by helpwanted, Today, 03:06 AM
    1 response
    16 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    11 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    6 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    244 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Working...
    X