Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization - speed up ?

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

    Optimization - speed up ?

    I am running rather large optimization tests on s&p stocks (500 stocks).

    My main time series is 5 minutes. My typical optimization run takes 5-10 minutes (for one month of data).

    Although I am working intraday, I need to check for daily 200MA. To do this I have to stretch the time span back by 200 days to get 200MA to work. I can do that, but then the optimization takes hours to run, even though the back data is really building data series for 200MA to work. I suspect the reason is 5 minute (or 1 minute) data is getting loaded, where it is not even needed.

    Is there a way to optimize this scenario?

    #2
    Hello stevenev,

    Thank you for your post.

    You are correct as to the cause of the longer optimization (the intra-day bar series needing to load far more data then the added Daily series). There would not be a means to work around this as the intra-day bar series would need to go back as far as the Daily series.

    If you have any drawing objects, logging, printing, or you are running the optimization while debugging in Visual Studio I would recommend commenting out or disabling these features to help improve the performance of the optimizations.

    Please let me know if you have any questions.

    Comment


      #3
      Thanks, Patrick.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      558 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      545 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X