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 NullPointStrategies, Today, 05:17 AM
    0 responses
    41 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    64 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X