Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting with tick data history

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

    Backtesting with tick data history

    Ninjatrader document says tick level back testing is not supported. I'm wondering if this is because the data vendor doesn't provide historical tick data, or Ninjiatrader itself doesn't support it?

    Assume there's a program archives tick data, is there a way so that I can load the archived data into Market Replay, and use it to do back testing?

    Is it true that backtesting will always download historical data from vendor, and no way to provide it locally?

    Thanks.

    #2
    If you are not connected to the data provider it just uses whatever is stored in your local database.

    Backtesting does not integrate tick data into your bars. You have snapshot OHLC data on the bar time frame you choose. If you chose 1 tick as your time frame to use then it will use that.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I see. Thanks.

      I saw there's a OnMarketData() event. Is it a better place for strategy that triggers on tick data? Is this event also fire in back testing?

      Comment


        #4
        Please work in the OnBarUpdate(), OnMarketData() would only be called in realtime and offers accessing the level 1 data stream - http://www.ninjatrader-support.com/H...arketData.html

        For intrabar backtesting of fills, please check into this -

        You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        63 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        35 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        54 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        61 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        48 views
        0 likes
        Last Post CarlTrading  
        Working...
        X