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.
    Download NinjaTrader FREE at http://ninjatrader.comLearn more about Kinetick http:///www.kinetick.comThis video demonstrates how to use the Kinetick - End Of...
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Thank you very much!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by trilliantrader, 04-18-2024, 08:16 AM
      5 responses
      22 views
      0 likes
      Last Post trilliantrader  
      Started by Davidtowleii, Today, 12:15 AM
      0 responses
      3 views
      0 likes
      Last Post Davidtowleii  
      Started by guillembm, Yesterday, 11:25 AM
      2 responses
      9 views
      0 likes
      Last Post guillembm  
      Started by junkone, 04-21-2024, 07:17 AM
      9 responses
      68 views
      0 likes
      Last Post jeronymite  
      Started by mgco4you, Yesterday, 09:46 PM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Working...
      X