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 benmarkal, Yesterday, 12:52 PM
      3 responses
      23 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by helpwanted, Today, 03:06 AM
      1 response
      19 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      11 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      244 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      388 views
      1 like
      Last Post Gavini
      by Gavini
       
      Working...
      X