Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

An Overfill was detected-Error

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

    An Overfill was detected-Error

    Ok. I am running Ninja trader version seven in simulation mode, however when i have my strategies running on Renko bars, about every day or every other day, one of them crashes with the error an overfill was detected. Why does this happen? I am using 2 Renko bars on the EMD and 6 Renko on the CL. These are the only ones I have seen it crash for so far. I have 1 other renko chart, and it workes fine for that contract.

    #2
    Hello richa61416,

    Overfills can occur during in flight executions. There is a pending cancel command issued but the order is filled before it can cancel.
    This is a risk of electronic trading > in flight executions


    If this is something you are running into frequently, you can code more control into your strategy. You can work off fill states of orders and only issue sensitive commands when you are sure certain orders were cancelled. This requires working with IOrder objects to expose order state.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    59 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X