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 i2w8am9ii2, Today, 04:36 PM
    2 responses
    13 views
    0 likes
    Last Post i2w8am9ii2  
    Started by WeyldFalcon, Today, 02:07 PM
    2 responses
    13 views
    0 likes
    Last Post WeyldFalcon  
    Started by hfwiley, Today, 03:02 PM
    2 responses
    18 views
    0 likes
    Last Post hfwiley
    by hfwiley
     
    Started by pdennis, Today, 02:34 PM
    3 responses
    21 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by tonynt, Today, 01:47 PM
    3 responses
    23 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X