Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

StrategyAnalyzer: Limit Orders filled very often at better price

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

    StrategyAnalyzer: Limit Orders filled very often at better price

    Hi there,

    Is it normal to have in backtest limit orders often filled at a better price (but always with 1 tick) even though I enabled "Fill limit orders on touch" and also enabled "Enforce immediate fills"?

    My trader colleage is very worried about this.

    Please see the following screenshot:
    Monosnap screenshot tool for Mac and PC with own cloud storage. Take screenshots, record videos and upload files directly to the cloud. Just in one click.


    Thanks a lot!

    #2
    Hello nicanor.babula,

    Thank you for your post.

    This would not be expected based on the settings in the screenshot. Can you test the attached strategy in the Strategy Analyzer and advise if the same behavior is seen on the Limit Orders that fill?

    I look forward to your response.
    Attached Files

    Comment


      #3
      Hello,

      Thanks for your answer.

      No, your strategy doesn't have that issue, but you're using the managed orders mode.

      I'm using unmanaged.

      Please advise.

      Thanks

      Comment


        #4
        Hello nicanor.babula,

        Thank you for the additional details.

        I will run some tests on my end and follow up with you here.

        Comment


          #5
          Hello nicanor.babula,

          Thank you for your patience.

          Are the orders filling at the same time as positions are open from other orders? This could explain the average price being the average of two filled orders.

          I tested my very basic strategy as Unmanaged and still did not see the item you saw. Attached is my Unmanaged version.

          Please let me know if you are able to confirm the average price is due to a position already existing.
          Attached Files

          Comment


            #6
            Hi Patrick,

            Thanks for your time.

            No, our strategy only opens a strategy at a time. It only opens positions when flat.

            I'm running it on CL.

            I'll test your strategy and come back with results.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by zstheorist, Today, 07:52 PM
            0 responses
            7 views
            0 likes
            Last Post zstheorist  
            Started by pmachiraju, 11-01-2023, 04:46 AM
            8 responses
            150 views
            0 likes
            Last Post rehmans
            by rehmans
             
            Started by mattbsea, Today, 05:44 PM
            0 responses
            6 views
            0 likes
            Last Post mattbsea  
            Started by RideMe, 04-07-2024, 04:54 PM
            6 responses
            33 views
            0 likes
            Last Post RideMe
            by RideMe
             
            Started by tkaboris, Today, 05:13 PM
            0 responses
            6 views
            0 likes
            Last Post tkaboris  
            Working...
            X