Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

fast markets - overfill

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

    fast markets - overfill

    Hello,

    today occured several overfills. I assume there is no possibility to avoid this. Correct?

    But what can be done that in case of overfill this is closed immediately and automatically?

    Thank you
    Tony

    #2
    Hello tonynt,

    Overfills are caused by an attempted cancellation on an order that has already filled.

    This can be caused by calling CancelOrder, but can also be caused buy situations with OCO orders that have multiple exits.

    It is possible to avoid this by not using multiple exits for a trade (or ensuring that one of the orders is cancelled before the other is submitted), and by ensuring that CancelOrder is not used on an order that has filled.


    To prevent the strategy from becoming disabled use the RealTimeErrorHandling to prevent the script from becoming disabled.
    http://www.ninjatrader.com/support/h...orhandling.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by junkone, Today, 11:37 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by frankthearm, Yesterday, 09:08 AM
    11 responses
    43 views
    0 likes
    Last Post frankthearm  
    Started by quantismo, 04-17-2024, 05:13 PM
    5 responses
    35 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by proptrade13, Today, 11:06 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    35 views
    0 likes
    Last Post love2code2trade  
    Working...
    X