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 Zinger357, Today, 08:56 PM
      0 responses
      5 views
      0 likes
      Last Post Zinger357  
      Started by giogio1, Today, 08:35 PM
      0 responses
      3 views
      0 likes
      Last Post giogio1
      by giogio1
       
      Started by giogio1, 10-30-2024, 02:27 AM
      4 responses
      35 views
      0 likes
      Last Post giogio1
      by giogio1
       
      Started by FayeChambers, Today, 06:46 PM
      0 responses
      5 views
      0 likes
      Last Post FayeChambers  
      Started by FayeChambers, Today, 06:43 PM
      0 responses
      6 views
      0 likes
      Last Post FayeChambers  
      Working...
      X