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 cocoescala, 10-12-2018, 11:02 PM
    7 responses
    939 views
    0 likes
    Last Post Jquiroz1975  
    Started by oviejo, Today, 12:28 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by geddyisodin, Yesterday, 05:20 AM
    7 responses
    46 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by gbourque, Today, 06:39 AM
    2 responses
    5 views
    0 likes
    Last Post gbourque  
    Started by cre8able, Yesterday, 07:24 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X