Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting Range Bars

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

    Backtesting Range Bars

    I am finding that if I backtest using Range bars, NT will grow to over 1GB memory and die.

    Something I am doing?

    I've tried with as little as 2 weeks of data.

    #2
    This can be as expected. Tick data is used to create range bars. Due to the recent volatility of the markets, NinjaTrader will need to process much more ticks than usual.

    I tested it on my end and it used the same amount of RAM, but it just finished before it reached 1 GB RAM. I suggest to try a week instead of two weeks and check if your backtest will finish.
    JasonNinjaTrader Customer Service

    Comment


      #3
      I've tried using just one week back in June and January of this year. I have also confirmed this behavior running the backtest using the SampleMACrossover.

      Comment


        #4
        Does the error occur if you would use 3 days of historical data or upon using a different interval type?

        How much RAM do you have available?

        If the error recurred, the request was still using too much RAM.
        JasonNinjaTrader Customer Service

        Comment


          #5
          The computer has 8GB of RAM and is a Quad Core 2.4ghz.

          I can backtest over 2 years of data if I choose Minute intervals. I'll have to get back to you on testing a shorter timeframe of Range bars. I would consider not being able to backtest a year of Range bars to be a bug.

          Originally posted by NinjaTrader_Jason View Post
          Does the error occur if you would use 3 days of historical data or upon using a different interval type?

          How much RAM do you have available?

          If the error recurred, the request was still using too much RAM.

          Comment


            #6
            Let me know if the behavior persists on using a shorter timeframe. If so, please send me your log and trace files for the day you ran the backtest.

            If possible please provide me the times for the different backtests you performed. You can find the log and trace files at the following locations:

            Start Menu--> My Documents--> NinjaTrader 6.5--> Log--> log.20081024 for today. (log.yyyymmdd for any other date)

            Start Menu--> My Documents--> NinjaTrader 6.5--> Trace--> trace.20081024 for today. (trace.yyyymmdd for any other date)
            JasonNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Haiasi, 04-25-2024, 06:53 PM
            2 responses
            17 views
            0 likes
            Last Post Massinisa  
            Started by Creamers, Today, 05:32 AM
            0 responses
            5 views
            0 likes
            Last Post Creamers  
            Started by Segwin, 05-07-2018, 02:15 PM
            12 responses
            1,786 views
            0 likes
            Last Post Leafcutter  
            Started by poplagelu, Today, 05:00 AM
            0 responses
            3 views
            0 likes
            Last Post poplagelu  
            Started by fx.practic, 10-15-2013, 12:53 AM
            5 responses
            5,408 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Working...
            X