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 Mestor, 03-10-2023, 01:50 AM
      16 responses
      388 views
      0 likes
      Last Post z.franck  
      Started by rtwave, 04-12-2024, 09:30 AM
      4 responses
      31 views
      0 likes
      Last Post rtwave
      by rtwave
       
      Started by yertle, Yesterday, 08:38 AM
      7 responses
      29 views
      0 likes
      Last Post yertle
      by yertle
       
      Started by bmartz, 03-12-2024, 06:12 AM
      2 responses
      22 views
      0 likes
      Last Post bmartz
      by bmartz
       
      Started by funk10101, Today, 12:02 AM
      0 responses
      7 views
      0 likes
      Last Post funk10101  
      Working...
      X