Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Limit Orders on backtest

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

    Limit Orders on backtest

    Hi.

    I'm implementing a robot that is using limit orders.
    I noticed there is a checkbox called : "Fill limit orders on touch"

    what does it mean exactly ?
    what is the best- realistic way to test a limit-based robot ?

    thanks
    G

    #2
    Hello gsapir,

    Fill limit orders on touch is going to apply to historical orders. For example, if you turn your strategy on at 9am, but had it been running at 7am, the strategy would have submitted a limit order at 2320.50, which was the low of the day and 1 contract traded at that price, its unlikely your limit order would have been filled. Thus enabling this setting would assume your strategy position was long.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      "if you turn your strategy on at 9am, but had it been running at 7am" - what ?!?!

      if I turn my strategy on at 9am how it had been running at 7am ?

      I didn't understand your example, can you try again with a screenshot from a backtest or a chart ?

      Comment


        #4
        Hello gsapir,

        Please see Strategy Position vs. Account Position for a better explanation of a strategy position.



        Please let us know if you need further assistance.
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          I have another problem - I am running a strategy in Playback mode , tick order fill .
          Is working fine but often the strategy is stopped because I am not flat. I change the parameters to a slippage of 1000 ticks - still is doing the same. Sp what can I do to be sure that my limit order is filled?

          Comment


            #6
            Hello topo54,

            Just like when you are calling your broker and placing limit orders, there is no way to guarantee a fill of a limit order because you are not able to control the market. Limit orders fill at the specified price or better. If the price does not meet the order the order will not fill.

            Use a market order if you want a guaranteed fill.

            Use a limit order if you want to ensure that you get a specific price or better if the order does get filled.

            Slippage can only be applied up to the distance of the high or low of the bar.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by cre8able, Today, 01:01 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by manitshah915, Today, 12:59 PM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by ursavent, Today, 12:54 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by Mizzouman1, Today, 07:35 AM
            3 responses
            17 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by RubenCazorla, Today, 09:07 AM
            2 responses
            13 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X