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 rufat, Yesterday, 09:24 PM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by TRADEONECLIC, Yesterday, 10:05 PM
    0 responses
    25 views
    0 likes
    Last Post TRADEONECLIC  
    Started by BrennanSalibrici, 12-17-2020, 11:55 PM
    3 responses
    46 views
    0 likes
    Last Post StealthM93  
    Started by coopgrafik, Yesterday, 07:56 PM
    0 responses
    10 views
    0 likes
    Last Post coopgrafik  
    Started by MisterGee, Yesterday, 07:55 PM
    0 responses
    11 views
    0 likes
    Last Post MisterGee  
    Working...
    X