Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Slippage in backtesting / optimization Strategy Analyzer

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

    #16
    That is obviously a perfectly valid assumption.

    I like to apply the spread cost (buying at the ask and selling at the bid) to my trades as well as slippage and commission. It's easiest to add the spread cost to the slippage property because it's in the same units.

    Obviously it didn't occur to me that NT only applies the slippage to order types which suffer from slippage.

    I guess I'll have to add it to the commission instead.

    Thanks for the info.

    Comment


      #17
      On a related note, can NT backtest against bid/ask tick data?

      Comment


        #18
        Yes, provided you have historical bid/ask data. In your backtest dialogue, change "Price based on" from "Last" to "Bid" or "Ask".
        Josh P.NinjaTrader Customer Service

        Comment


          #19
          Bid or Ask?

          Isn't it possible to buy at the ask and sell at the bid?

          What is the logic behind seperating them like this and allowing a strategy to trade only at the bid? You wouldn't often be able to buy at the bid with a market order in real life, would you? Unless you happen to be working at Goldman Sachs or Deutsche Bank.

          Comment


            #20
            If you are simply trying to fill orders at the bid/ask, just submit limit orders at the bid/ask prices. This still requires you to have historical bid/ask data which is typically not available from all data providers.

            Whether you can get filled in real life at the bid/ask is usually "harder" than a market order. Your experience may vary with different brokerages, your internet latency to the brokerage, etc.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

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