Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer - Errors after re-compile

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

    Strategy Analyzer - Errors after re-compile

    Ran into a bug in re: Optimization / Backtest preset default templates:

    Once a preset is saved, it appears to store data which can change after edits & recompiles & crash the backtest & generated ambiguous errors shown in output window.

    I deleted references to an indicator (VolMA) no longer in use along with the input exposed for optimization (VolMATime).

    While attempting to run a backtest it generated errors "VolMATime" could not be found.

    Went back through code & found no references to either so on a hunch I deleted the backtest presets (template > reset) and the strat worked.

    Add this to the list of bugs to review & maybe resolve with: Ignore unknown saved parameters ?

    Either that or a more descriptive error message / suggestion?

    Without my hunch less adept coders will probably submit support requests, causing exhaustive workload on your team needlessly reviewing code.

    Love the platform, Thanks!

    #2
    Using presets to test a program saves data that may become incorrect after you change the program or crash the test. If you have deleted references to certain items in the presets, you may get an error related to the missing items when running the test. You removed the test settings and the program worked, but to prevent such errors from occurring, it would be useful to add a feature that would ignore unknown saved settings. This would avoid unnecessary calls to support and reduce the number of code checks.

    Comment


      #3
      Hello hodgini1966,

      Thanks for your post.

      If you save a backtest template and then modify the code of the script by removing one of the user-defined inputs and compiling, you would need to change the strategy drop-down menu to a different strategy, change the strategy drop-down menu back to your strategy to ensure the changes take effect, and save a new backtest template for the modified script so that the template no longer has the removed input saved.

      I have submitted a feature request to the Development team to ignore unknown saved template settings in the Strategy Analyzer and add your vote as well as FlorenceSims vote. This request is being tracked under the number SFT-5831.

      As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

      Release Notes — https://ninjatrader.com/support/help...ease_notes.htm

      Please let us know if we may be of further assistance to you.​

      <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by LanceFulk, 12-06-2024, 06:28 PM
      2 responses
      30 views
      0 likes
      Last Post LanceFulk  
      Started by BarzTrading, Today, 04:35 PM
      1 response
      8 views
      0 likes
      Last Post BarzTrading  
      Started by devatechnologies, Today, 04:06 PM
      2 responses
      8 views
      0 likes
      Last Post devatechnologies  
      Started by Haiasi, 12-07-2024, 09:58 PM
      2 responses
      23 views
      0 likes
      Last Post Haiasi
      by Haiasi
       
      Started by FBraun, Today, 01:34 PM
      2 responses
      15 views
      0 likes
      Last Post FBraun
      by FBraun
       
      Working...
      X