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 MacDad, 02-25-2024, 11:48 PM
    7 responses
    158 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    7 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Working...
    X