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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      56 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      37 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      18 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      20 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      49 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X