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:	93
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 NullPointStrategies, Today, 05:17 AM
    0 responses
    49 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    67 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 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