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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      31 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, Yesterday, 02:41 AM
      0 responses
      14 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      22 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      34 views
      0 likes
      Last Post CarlTrading  
      Working...
      X