Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

history data and recorded data clarification

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

    history data and recorded data clarification

    Hi,

    after reading some posts i'm a little confused as to how NT performs its backtests and replays.

    Lets say I subscribe to barchart.com for historical and realtime data.

    I've got a couple things i'd like to try out.

    First, if i write my own custom strategy, and want to test it over say 2 years of data, will this info be downloaded and stored locally? will the strategy be tested against tick data?

    Second, I want to perform a replay of old data to manually test out a strategy. Will my subscription to barchart.com enable me to playback a time from last year? Or will i have to "record" tick data?


    cheers,

    shaun

    #2
    Hello,

    Thank you for your post.

    Q1.) First, if i write my own custom strategy, and want to test it over say 2 years of data, will this info be downloaded and stored locally?
    A1.) Yes, NinjaTrader will store the historical data gathered by BarChart on your PC.

    Q2.) will the strategy be tested against tick data?
    A2.)No, backtesting is only computed on end of bar data.
    See Backtesting section of the help guide: http://www.ninjatrader-support.com/H...verview37.html

    Q3.) Will my subscription to barchart.com enable me to playback a time from last year? Or will i have to "record" tick data?
    A3.) No, you will have to recored tick data. See Market replay section of the help guide: http://www.ninjatrader-support.com/H...verview14.html
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      are there plans to implement tick by tick back testing and playback using plain historical tick by tick data?

      Comment


        #4
        i just stumbled onto this thread.



        so i'm guessing you can set up 1 tick bars to backtest against.

        are these real ticks or made up ones based on potential values that can exist inside a bar?

        Comment


          #5
          What that thread is referring to is backtesting on a 1-tick chart, which would test on the close of the bar, which is one tick.

          You can do this, but your chart will have to be a 1 tick chart. The suggestion Josh recommends requires advanced programming.

          This is real tick data from your data provider which you can use if they support tick data: http://www.ninjatrader-support.com/H...ricalData.html
          Ray S.NinjaTrader Customer Service

          Comment


            #6
            lucky i'm a programmer then

            so this would in effect be like performing a tick by tick backtest.

            would you need to write the strategy to use
            CalculateOnBarClose = true;
            when performing backtesting and then setting it to false when running in a forward test?

            Comment


              #7
              You leave CalculateOnBarClose to false because it has no bearing on the strategy and is always set to true in backtesting.
              Ray S.NinjaTrader Customer Service

              Comment


                #8
                cheers for that.

                am i able to use historical data from tickdata.com in NT?

                Comment


                  #9
                  Unfortunately they are not one of our supported data feed providers.

                  You must convert this data into a supported format to import.

                  Please see this link for more information: http://www.ninjatrader-support.com/H...V6/Import.html
                  Ray S.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by tonynt, 05-21-2019, 06:27 AM
                  10 responses
                  530 views
                  1 like
                  Last Post fiendtrades  
                  Started by awwenzovs, Today, 08:03 AM
                  2 responses
                  14 views
                  0 likes
                  Last Post NinjaTrader_Eduardo  
                  Started by Ashkam, 04-29-2024, 09:28 AM
                  4 responses
                  44 views
                  0 likes
                  Last Post Ashkam
                  by Ashkam
                   
                  Started by nightstalker, Yesterday, 02:05 PM
                  1 response
                  30 views
                  0 likes
                  Last Post NinjaTrader_Eduardo  
                  Started by dcriador, Today, 02:09 PM
                  0 responses
                  8 views
                  0 likes
                  Last Post dcriador  
                  Working...
                  X