Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accounting for bid/ask spreads

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

    Accounting for bid/ask spreads

    Say a stock typically has at least a 10 cent difference between the bid and the ask. What is the best way of taking this into account when back testing market orders? I`m adding it as a commission at the moment.

    #2
    Instead of commission, maybe you can try using the Slippage options?
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I thought ticks were a measure of time, can you give me an example of how to use these options? Entering .1, 10, 100,1000 etc for the slippage value doesn't seem to have the level of affect I would expect compared to entering a per share commission of .05. There also seems to be a limit to the value you can enter, capped at 20.

      Comment


        #4
        Slippage is measured can only take on integer values and is representative as to the number of ticks you want the slippage to be.

        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Could you define what a tick is in this context please so we are on the same page?

          I ran some tests to try and figure it out myself by running a back test and adjusting the slippage value.

          54 trades, 100 shares per trade

          Code:
          Slippage   Loss         Loss from Slippage
          0             813          0
          10            895         82
          20            927         114
          30            927         114
          40            927         114
          50            927         114
          If I did 54 trades with a slippage of 10 cents, I would expect the loss from slippage to be around 54/2*100*.1=$270?
          Last edited by Idruna; 10-07-2008, 12:14 PM.

          Comment


            #6
            Hi Idruna,

            A tick varies from instrument to instrument. You can see what it is defined as for your particular instrument by bringing up the Instrument Manager. Stocks generally have a tick size of 0.01.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Aha, thank you for clarifying that. Do those numbers look right to you? The amount of loss from slippage for a value of 10 seems too low, and if the amount of slippage doubles, wouldn't the loss from slippage double too?

              Comment


                #8
                It is hard to say. You will need to use TraceOrders = true and compare actual fill prices versus the prices you submitted at.
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Haiasi, 04-25-2024, 06:53 PM
                2 responses
                16 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,407 views
                0 likes
                Last Post Bidder
                by Bidder
                 
                Working...
                X