Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtesting a strategy does nothing

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

    backtesting a strategy does nothing

    Hello,

    I am new to NinjaTrader. I connected to Kinetic (I also tried simulated data feed). I created a basic strategy following instruction in Youtube. The strategy code is attached. When I try to backtest it, the backtesting finishes immediately and returns a summary with zeros everywhere. No error message is issued. The NinjaTrader log is also attached.
    What can be the reason for this? Please help.

    Thanks,
    Shaul
    Attached Files
    Last edited by shaulgr; 11-24-2012, 11:46 AM. Reason: add NinjaTrader log screenshot

    #2
    Welcome to our forums, have replied this morning to your support inquiry as well.

    Which chart and instrument are you testing on here please?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      From your question I understand my problem. The Type parameter of the backtest pane has a default of Minute, and I must use Day because of Kinetic.
      So I used the sample MA crossover with a Type of Day, and it worked. Thanks!

      One other question: the summary gave a gross profit of $20000 for only 5 trades during the year. Does this make sense ?
      Last edited by shaulgr; 11-26-2012, 01:39 PM. Reason: complete change of reply

      Comment


        #4
        If you're using the free Kinetick End of Day connection, you will need to run the test on a Daily interval.

        If you cannot get any results with your strategy using AAPL on a Daily interval, can you please run a test on the SampleMACrossOver strategy using a Daily interval while connected to Kinetick.
        MatthewNinjaTrader Product Management

        Comment


          #5
          I edited my previous reply (to which you replied with incredible speed!). Can you please look at the edited reply?

          Comment


            #6
            Glad to hear you were able to get it to work.

            Yes, it would be possible to get a PnL of that size depending on how many points were obtained in the position.
            MatthewNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by zstheorist, Today, 07:52 PM
            0 responses
            6 views
            0 likes
            Last Post zstheorist  
            Started by pmachiraju, 11-01-2023, 04:46 AM
            8 responses
            150 views
            0 likes
            Last Post rehmans
            by rehmans
             
            Started by mattbsea, Today, 05:44 PM
            0 responses
            6 views
            0 likes
            Last Post mattbsea  
            Started by RideMe, 04-07-2024, 04:54 PM
            6 responses
            33 views
            0 likes
            Last Post RideMe
            by RideMe
             
            Started by tkaboris, Today, 05:13 PM
            0 responses
            6 views
            0 likes
            Last Post tkaboris  
            Working...
            X