Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtest apple

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

    backtest apple

    Hi there,
    I am new to NT and I am having trouble getting results backtesting. I am connected to IB and trying to Backtest AAPL with the samplemacdcrossover strategy. I set it to go back one month, but when its finished all the results are 0.00% like nothing happened. I have tried by default qty and by strategy.
    Which brings me to another question. Where do you change the default Qty?

    Thanks in advance for the help.

    #2
    Are you connected to a live IB trading account or just a sim one? The sim one does not provide historical data which is required to run a backtest.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      No, I am running sim.

      I have strategies running in sim though. One that I made through a tutorial (3 EMAs) and the samplemacross. Nothing seems to be happenning. shouldn't I be able to run a sample strategy and see sample results while connected to IB during trading hours?

      Sorry for such basic questions I am just trying to get the hang of NT

      Comment


        #4
        beezerlm,

        NinjaTrader will not have enough data to run any meaningful backtest. You will need to get a data provider that supplies historical data. If you just want to play around I suggest the Yahoo connection which will get you free historical daily data for equities.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Hi Josh,
          I think you misunderstood my last post. I am also trying to run a real time strategy in NT (sim) but nothing is happening ( no hypothetical trades taking place ).

          Comment


            #6
            For a strategy to begin running you need at least 20 bars. Please check your Control Center logs for any runtime errors.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Thanks Josh,
              Where do you define "defaultquantity" ?

              Comment


                #8
                Hi there, you can set DefaultQuantity in the backtest information box. I've attached a picture showing what I mean.
                Attached Files
                AustinNinjaTrader Customer Service

                Comment


                  #9
                  Thanks, don't know how I managed to miss it.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by AttiM, 02-14-2024, 05:20 PM
                  10 responses
                  179 views
                  0 likes
                  Last Post jeronymite  
                  Started by ghoul, Today, 06:02 PM
                  0 responses
                  9 views
                  0 likes
                  Last Post ghoul
                  by ghoul
                   
                  Started by Barry Milan, Yesterday, 10:35 PM
                  6 responses
                  19 views
                  0 likes
                  Last Post Barry Milan  
                  Started by DanielSanMartin, Yesterday, 02:37 PM
                  2 responses
                  13 views
                  0 likes
                  Last Post DanielSanMartin  
                  Started by DJ888, 04-16-2024, 06:09 PM
                  4 responses
                  13 views
                  0 likes
                  Last Post DJ888
                  by DJ888
                   
                  Working...
                  X