Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnOrderUpdate State = Filled event fired twice for same order?

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

    OnOrderUpdate State = Filled event fired twice for same order?

    This morning I encountered something I've never seen before. The 'Filled' event fired twice for the same entry order, which of course then caused my strategy to create TWO stop orders and TWO exit (profit) orders. I should mention this is an unmanaged order strategy. I'm not handling this specific scenario in my code (duplicate fill events). Do I need to? If this is possible/expected, do you have any sample code to alleviate this issue? Not sure how to proceed. Please advise and thank you in advance for your help!

    Click image for larger version

Name:	image.png
Views:	102
Size:	24.5 KB
ID:	1217598

    #2
    Hello shortrader,

    Thanks for your post.

    Please write in to support[AT]ninjatrader.com with your Log and Trace files attached to your email so that I may investigate this matter further.

    In the Subject field of your email, include ATTN: BrandonH 03332083. In the body of the email, please include a link to this forum thread.

    Please follow the steps below to manually attach your log and trace files to your response so I may investigate this matter further.
    • Open the Windows File Explorer (hotkey = Windows key + E) Then navigate to "Documents" > Open the "NinjaTrader 7/8" folder
    • Right-click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
    • Send the 2 compressed folders as attachments to this email.
    • Once complete, you can delete these compressed folders.

    I look forward to assisting further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    167 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    88 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    128 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    208 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    185 views
    0 likes
    Last Post CarlTrading  
    Working...
    X