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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    176 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    331 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    254 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    356 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    184 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X