Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strange overfill

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

    Strange overfill

    Hello,

    I'm running a strategy using managed orders, and recently encountered an overfill situation, and i'm not sure what the reason for that.
    1. The strategy opens 1 contract (short) and than enters a limit order to close it upon reaching a target price
    2. Limit order is executed
    3. Overfill event is triggered

    I have trade tracing turned on, and it looks like this:
    25-Sep-12 09:17:02 Entered internal PlaceOrder() method at 25-Sep-12 09:17:02: BarsInProgress=0 Action=BuyToCover OrderType=Limit Quantity=1 LimitPrice=92.73 StopPrice=0 SignalName='TargetPrice6345_1' FromEntrySignal='PredEntry6329'
    25-Sep-12 09:35:46 Cancelled pending exit order, since associated position is closed: Order='38863512/M1198!Dorman!Mirus' Name='TargetPrice6345_1' State=Working Instrument='CL 11-12' Action=BuyToCover Limit price=92.73 Stop price=0 Quantity=1 Strategy='Zodiac1m' Type=Limit Tif=Gtd Oco='' Filled=0 Fill price=0 Token='dd7de6063e724abe9971762cd7552bc7' Gtd='01-Dec-99 00:00:00'
    **NT** An over fill was detected on order 'Order='38863512/M1198!Dorman!Mirus' Name='TargetPrice6345_1' State=Filled Instrument='CL 11-12' Action=BuyToCover Limit price=92.73 Stop price=0 Quantity=1 Strategy='Zodiac1m' Type=Limit Tif=Gtd Oco='' Filled=1 Fill price=92.73 Token='dd7de6063e724abe9971762cd7552bc7' Gtd='01-Dec-99 00:00:00'' generated by strategy 'Zodiac1m/5f17236b74d04a3b8b7ed8aa80235fed' : This strategy will be disabled and NinjaTrader will attempt to cancel/close any strategy generated orders and positions. Please check your account orders and positions and take any appropriate action.
    25-Sep-12 09:35:00 92.78 6363: 09:35 exec [email protected] TargetPrice6345_1 from PredEntry6329 (this is my debug message in OnExecution())

    The only cancellation I see here is the one triggered by NT itself when existing position is closed by the same order which is "overfilled". Does not make any sense.

    Please help.

    #2
    Hello gena72,
    Can you please send the log and trace files to support[AT]ninjatrader[DOT]com
    • You will find the log file in the Documents > NinjaTrader 7 > Log folder.
    • The log file will be named "log.YYYYMMDD.txt"

    • You will find the trace file in the Documents > NinjaTrader 7 > Trace folder.
    • The trace file will be named "trace.YYYYMMDD.txt"


    Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

    I look forward to assisting you further.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    668 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    377 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    110 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    580 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X