Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OVERFILL error

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

    OVERFILL error

    Hi,
    I got the enclosed error running a small strategy program.

    Can you please let me know what it is about and how to prevent it?

    Thanks!
    Dave
    Attached Files

    #2
    dhd,

    An overfill is categorized as when an order returns a "Filled" or "PartFilled" state after the order was already marked for cancellation. The cancel request could have been induced by an explicit CancelOrder() call, from more implicit cancellations like those that occur when another order sharing the same OCO ID is filled, or from things like order expirations.

    It is best to learn about the managed approach and how to use it to avoid overfills.



    Here is a relevant post : http://www.ninjatrader.com/support/f...64&postcount=2

    You can disable this error message, but its not advised.

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Does your strategy run on a fast Renko chart and uses ExitLong and EnterShort ? Then maybe you could also take a look at the following thread, with a possible solution in post #12

      Support for the development of custom automated trading strategies using NinjaScript.


      Marco

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      102 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X