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

Slow Strategy Analyzer

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

    Slow Strategy Analyzer

    The Strategy Analyzer is very slow even with my high-end PC.
    My CPU, SSD and network have almost no workload so I'm really wondering what's taking so long?
    If something had a heavy workload, I wouldn't question the long processing time.
    But it's really weird when something takes so long for seemingly no reason.
    I am using a very simple test Strategy which does almost nothing.

    So what is taking so long? What is the bottleneck?

    #2
    Hello Bobin,

    Thank you for your post.

    First, are you backtesting while connected to a live data connection and not the Playback connection or Simulated Data Feed?

    What type of test are you running in the Analyzer? Over what dates on what instrument? What bar type and interval?

    Do you see the same running the Sample MA Crossover that is built into NinjaTrader over the same time period?

    Thanks in advance; I look forward to assisting you further.

    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Hello Kate,
      I am backtesting with a Continuum connection.
      Instruments are some futures : gold, silver, crude oil, wheat and some other common commodities.
      Bar type is 1440 minutes and interval the last 10 years.

      I tested the Sample MA Crossover strategy and indeed I can get some workload.
      However the CPU goes only to about 15%.
      I guess the strategy analyzer uses only a single thread?

      Edit: Another question: is it possible to run multiple strategy analyzers at the same time?
      Last edited by Bobin; 07-28-2022, 05:01 AM.

      Comment


        #4
        Hello Bobin,

        Thank you for your reply.

        A backtest would be on a single thread, Optimizations would use multiple threads, one per optimization run.

        It is possible to run multiple Strategy Analyzers simultaneously, yes. This would not be recommended if you're running an optimization though.

        Please let us know if we may be of further assistance to you.
        Kate W.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Option Whisperer, Today, 09:55 AM
        0 responses
        5 views
        0 likes
        Last Post Option Whisperer  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        8 responses
        58 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by halgo_boulder, 04-20-2024, 08:44 AM
        2 responses
        22 views
        0 likes
        Last Post halgo_boulder  
        Started by mishhh, 05-25-2010, 08:54 AM
        19 responses
        6,189 views
        0 likes
        Last Post rene69851  
        Started by gwenael, Today, 09:29 AM
        0 responses
        6 views
        0 likes
        Last Post gwenael
        by gwenael
         
        Working...
        X