Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

error 'Unable to submit order'

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

    error 'Unable to submit order'

    Hello,

    Full error:
    Code:
    Strategy 'cmsEMACrossOver/275504536' submitted an order that generated the following error 'Unable to submit order'. Strategy has sent cancel requests, attempted to close the position and terminated itself.

    The code is:

    Code:
    if (Position.MarketPosition == MarketPosition.Flat)
    
    if (ClearToSubmit)
    {
        if (LogLevel >=1) PrintLog("Strategy: Enter Long");
        EnterLongLimit(ContractQuantity, Close[0], "EnterLong");
        ClearToSubmit = false;
    }
    Seems pretty straight forward to me. What went wrong?

    Many Thanks, Caesar.

    #2
    Hello Skechers,

    Thanks for your note.

    It would be hard to determine what exactly happened based on the error message and code you shared.

    So I may look into this further, please send me your Log and Trace files by sending an email to Support[AT]ninjatrader.com. In the Subject field of the email, include 'Attn: BrandonH 03357478'. 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 email 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 further assisting.
    <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


      #3
      Hello,

      I've emailed the log and trace zip file.

      Many THanks, Caesar.

      Comment


        #4
        This was the error message.

        Click image for larger version

Name:	Screenshot 2022-10-06 161934.png
Views:	102
Size:	8.9 KB
ID:	1218424

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        58 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        133 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        73 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X