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

Bug: Strategy Analyzer will only compute until end of "Start Date" year

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

    Bug: Strategy Analyzer will only compute until end of "Start Date" year

    Repro steps:
    1. Open Strategy Analyzer
    2. Select Simple MA Crossover
    3. Choose Start Date as 6/1/2022
    4. Choose End Date as 6/1/2023
    5. Choose a parameter to optimize

    Expected:
    Trades from 1/1/2023 through 6/1/2023 to be shown (computed)

    Actual:
    Only trades from 6/1/2022 through end of year 2022 shown (computed). Actually it only computes up to 12/14 or 12/15, the rest is chopped off.

    Not a big issue, just surprised, I just used 1/1/2022 through 12/31/2022 for a year's worth of optimization.
    Last edited by Skechers; 06-13-2023, 02:23 PM.

    #2
    Hello Skechers,

    Do you have data for this instrument for that full timeframe? One reason it would not compute for that period would be a lack of data. Please check the historical data manager and make sure a full span of data is seen, you can also use a chart and make sure the series you are requesting has bars for the full timespan.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hi,

      It appears I have the data in the timespan:

      Click image for larger version

Name:	historical_data.jpg
Views:	63
Size:	23.1 KB
ID:	1255951
      Attached Files

      Comment


        #4
        Hello Skechers,

        From the top view you wont be able to tell if there is data for that full timeframe, in the manager you need to expand each section and make sure each day is there. From a chart you need to check that all the bars for that period are present.

        All i can see from the image is that you have *some* data for the ES and MES instruments. That may or may not be a complete timeframe.
        JesseNinjaTrader Customer Service

        Comment


          #5
          Whoops, Sample MA Crossover works fine now. My strategy still isn't computing the 2023 dates. Puzzled.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by AaronKoRn, Today, 09:49 PM
          0 responses
          6 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Today, 08:42 PM
          0 responses
          9 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Today, 07:51 PM
          0 responses
          10 views
          0 likes
          Last Post strategist007  
          Started by StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,976 views
          3 likes
          Last Post jhudas88  
          Started by rbeckmann05, Today, 06:48 PM
          0 responses
          9 views
          0 likes
          Last Post rbeckmann05  
          Working...
          X