Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Data constantly reloading in Strategy Optimizer

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

    Data constantly reloading in Strategy Optimizer

    I don't know if you consider this a 6.5 beta issue or a feature request.

    But I observed that the optimize function of Strategy Analyzer, it reloads the data for every single iteration of the testing.

    I'm using tick data for 2 weeks which I can see takes about 100 Meg due to the increase in the NinjaTrader process memory footprint when I first load the data.

    When optimize runs, the process cycles through increasing it's memory footprint by 100 Meg and then dropping by 100 Meg and growing by 100 Meg and dropping on and on.

    That makes back testing tick data ridiculously slow.

    Can you please simply take the data loading and unloading out of that loop?

    There's no need for it. The data never changes when testing, it's only the strategy parameters than need to iterated and re-run.

    Please fix this. I consider it to be a bug and hope you do also.

    Sincerely,
    Wayne

    #2
    NT tries to reload data from the connected provider as the backtested data set is not completely available in the DB. Pls disconnect to avoid this.

    Comment


      #3
      I am disconnected when this happens. But I have "store real time data" turned on. So it apparently reloads from the database for every iteration of the test.

      Even if it was connected, you should improve the smarts to only load from the data vendor on the first time. After that, just iterate using the same data.

      Sure you can see that it's silly and a waste of resources to attempt to load the data from vendor or DB on every iteration of an optimization, right?

      ESPECIALLY since the data vendor might, possibly, give different data each time it could skew or confuse the optimization results.

      Please improve this functionality in the next release.

      Still, I consider this a bug. Optimization should never reload data from anywhere--DB, Vendor or otherwise--for every iteration of the optimization.

      Sincerely,
      Wayne

      Comment


        #4
        >> So it apparently reloads from the database for every iteration of the test.
        a) How to you figure? What exactly do you see?
        b) whats is you exact scenario to reproduce?

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by techgetgame, Yesterday, 11:42 PM
        0 responses
        8 views
        0 likes
        Last Post techgetgame  
        Started by sephichapdson, Yesterday, 11:36 PM
        0 responses
        2 views
        0 likes
        Last Post sephichapdson  
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,613 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Yesterday, 05:56 PM
        0 responses
        10 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        20 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Working...
        X