Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtester doesnt work

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

    backtester doesnt work

    Hi,
    I just started using NT and I am trying to backtest a simple strategy.

    My problem is that no order is ever executed (even if I try to buy on any bar):

    protected override void OnBarUpdate()
    {
    EnterLong(DefaultQuantity, "");
    }

    The #trades is always 0.

    I think that NT is not downloading any data on which to run the backtest.

    Is there a special action to do before running a backtest (like connecting to Market Replay or Kinetic)?

    Thanks a lot

    #2
    Hello siger,
    Welcome to the forum and I am happy to assist you.

    Most likely you do not have any data. Are you connected to any supported connectivity provider/broker?

    If you connect to the Kinetick End of day connection and test the strategy on a daily bar then are you able to make it work.

    Please refer here to this YouTube video which further demonstrates how to connect to the Kinetick End of day connection.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Thank you very much!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      76 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      26 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      62 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X