• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 RedDuke, Today, 06:14 PM
    0 responses
    0 views
    0 likes
    Last Post RedDuke
    by RedDuke
     
    Started by DariusDeck, Today, 04:22 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by pstrusi, Today, 05:05 PM
    1 response
    2 views
    0 likes
    Last Post pstrusi
    by pstrusi
     
    Started by saeed, Today, 10:20 AM
    4 responses
    18 views
    0 likes
    Last Post saeed
    by saeed
     
    Started by priceisking, Yesterday, 07:44 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X