Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting problems

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

    Backtesting problems

    Hello, guys!

    I have bug, when I run or backtest my strategy. It depends on a contract, on crude oil It usually happens at the beginning of the month (from 1 to 4 of december for instance)., mini Nasdaq at the middle of the month, It shows extreme loss or extreme profit. And it harms my trading.. Could this happen because of expiration of contract or continuation backtesting or something like this?

    Regards.
    Last edited by U0000999; 02-04-2020, 12:10 AM.

    #2
    Hi U0000999, thanks for your post.

    This depends on the Merge Policy you have set in NinjaTrader. If the Merge Policy is set to one of the others,MergeNonBackAdjusted or DoNotMerge you can get gaps or very large bars between contracts.

    If it is the default "MergeNonBackAdjusted", try clearing your cache data and request new historical data from your data provider:

    To delete the cache, follow the steps below.
    • Shut down NinjaTrader.
    • Open the Documents > NinjaTrader 8 > db folder.
    • Delete the sub-folder named 'cache'.
    • Restart NinjaTrader and test.
    Please let me know if this does not resolve your inquiry.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thanks, It helped.

      Always say: great and quick support!!!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by set2win, 08-04-2021, 09:23 AM
      39 responses
      1,000 views
      0 likes
      Last Post WaleeTheRobot  
      Started by md4866, Today, 08:15 PM
      0 responses
      7 views
      0 likes
      Last Post md4866
      by md4866
       
      Started by mjbatts91, Yesterday, 04:48 PM
      2 responses
      23 views
      0 likes
      Last Post mjbatts91  
      Started by pibrew, Today, 06:10 PM
      1 response
      20 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by actualfacts.2021, 07-25-2021, 03:11 PM
      8 responses
      1,188 views
      0 likes
      Last Post linkcou
      by linkcou
       
      Working...
      X