Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Rows in Output is not in the correct sequence

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

    Rows in Output is not in the correct sequence

    When I backtest my strategy against the DOW 30 folder, I print each bar that I receive. I expected the data to be printed in the output in the same sequence as the sequence of the instruments; however this is what I get:
    2009-09-04T16:00:00 Instrument=AA BarsInProgress=1 Close[0]=12.18
    2009-09-04T16:00:00 Instrument=BAC BarsInProgress=1 Close[0]=17.09
    2009-09-08T16:00:00 Instrument=AA BarsInProgress=0 Close[0]=12.6
    2009-09-08T16:00:00 Instrument=BAC BarsInProgress=0 Close[0]=17.02
    2009-09-09T16:00:00 Instrument=BAC BarsInProgress=0 Close[0]=17.04
    2009-09-09T16:00:00 Instrument=AA BarsInProgress=0 Close[0]=12.81

    Shouldn't all "AA" be printed before all "BAC"?

    Attached is the strategy.
    Attached Files

    #2
    No, since backtesting of a basket of instrument is multi-threaded with NT7. Multiple instruments are backtested at a time.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    28 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    17 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    26 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    139 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X