Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtest Realtime Volume

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

    Backtest Realtime Volume

    Hello Support,

    I am thinking of adding realtime bid ask volume indicator into my strategy. As I understand back testing only use historical tick data, there is no market data, such as bid ask volume. So how can its performance be backtested ?
    Market replay does use saved market data but it is too slow.

    Thanks.

    EdwardK.

    #2
    Edward, at this point in time, it is only possible to backtest with bid/ask data through the Market Replay connection.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Hello Austin,

      Ok, understood.

      I have related questions. Can a strategy, with setting CalculateOnBarClose == True, use Indicator that is configured with CalculateOnBarClose == False and works properly? Or do I have to add a secondary bar series with tick period of 1 ? Any other way of doing it simpler?

      Thanks.

      Regards.
      EdwardK.

      Comment


        #4
        Edward, when the strategy is set to CalculateOnBarClose = true, any indicators added to that strategy would inherit that setting.

        To test this, I created a simple indicator that printed the bar time along with the system time and set COBC = false in the Initialize() section of the indicator and then created a strategy that does the same thing with COBC = true, and it only printed output once per minute because it was on a minute chart.

        Your suggestion of adding a 1 tick secondary series would work.
        AustinNinjaTrader Customer Service

        Comment


          #5
          Thanks Austin.

          Regards,
          EdwardK

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          649 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          370 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          109 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          574 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          576 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X