Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unexpected Issue with NinjaTrader Strategy Execution - Urgent Assistance Requested

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

    Unexpected Issue with NinjaTrader Strategy Execution - Urgent Assistance Requested

    Dear NinjaTrader Support Team,

    I hope this message finds you well. I'm writing to seek your assistance with an unexpected issue I've been experiencing in my NinjaTrader strategy.

    For quite some time, my strategy has been operating smoothly, but I recently encountered an anomaly where the strategy executed two contracts instead of the usual single contract. This was unexpected and despite my best efforts, I've been unable to determine the root cause.

    I've meticulously reviewed my code to ensure there are no hidden triggers that could cause this, but everything appears to be in order. In the interest of precaution, I've even gone ahead to remove certain segments of code that might have influenced the contract number. However, these codes should not have such an impact as within the 'OnBarUpdate' method, there's a check for a Boolean value which is defaulted to false, and subsequently exported to the UI for controlling larger contract volume. The strategy also checks for specific hours to initiate larger contracts.

    Interestingly, the timing for entering on a larger volume is consistent with the chart pattern, which leads me to worry that this anomaly might be somehow tied to my code. However, it's worth noting that my partner and I run the code separately on two different PCs, and yet, both of us experienced the same issue - our systems entered two contracts instead of one.

    Adding to the puzzle, I've run a market playback immediately after this incident and the system entered just one contract on the same trade without any issue. This adds to my confusion about what could be causing this anomaly.

    To provide a more comprehensive perspective, I would like to share my log files with you. Could you please provide an email address where I can send these files? Your prompt attention and guidance would be greatly appreciated as I rely heavily on this strategy for my trading activities.

    Looking forward to your response.

    Best regards,


    Aviram Y.
    Aviram Y
    NinjaTrader Ecosystem Vendor - Aviram Y

    #2
    Hello Aviram,

    Thanks for your post.

    Please send us your log and trace files to support[at]ninjatrader[dot]com so we may investigate this further. In the subject of the email include "ATTN: BrandonH" and in the body of the email include a link to this forum thread.

    Also, include the Order ID of the order in question and the date/time the unexpected order took place in your email.

    Follow the steps below to manually attach your log and trace files to your email.
    • Open your NinjaTrader folder under, "Documents" (sometimes called, "My Documents")
    • 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
    20 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    119 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 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
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X