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 Barry Milan, Today, 10:35 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by WeyldFalcon, 12-10-2020, 06:48 PM
    14 responses
    1,428 views
    0 likes
    Last Post Handclap0241  
    Started by DJ888, Yesterday, 06:09 PM
    2 responses
    9 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    40 views
    0 likes
    Last Post jeronymite  
    Started by bill2023, Today, 08:51 AM
    2 responses
    16 views
    0 likes
    Last Post bill2023  
    Working...
    X