Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is Add() method creat a new thread for each data series?

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

    Is Add() method creat a new thread for each data series?

    I want to use Add() method to add around 500 stocks 1-min data to the same strategy. If the Add() does not create a new thread for each data series, can it sustain when the OnBarUpdate event happens?

    So my questions are:
    1. Is Add() implemented in a multiple-thread way?
    2. How is the limitation of data series I can add using Add() without dragging the performance on a 3GHZ core2 quad cpu? Did anybody try this?

    thanks.

    #2
    belllab, adding 500 instruments to a single strategy is starting to push the limit. We don't have solid figures for an upper limit because people's hardware and software varies by an incredible amount. I would recommend starting with around 100 or so and slowly add on until you find the limit of your computer.

    There was a similar question a few months back where someone was trying to monitor 500 instruments at once. I ran his script on my computer with all 500 instruments and it performed correctly. The original poster's computer couldn't quite handle it.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    69 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    42 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    24 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    27 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    54 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X