Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

what order named 'X ' means ?

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

    what order named 'X ' means ?

    Working with 10min delayed data feed, strategy coded in unmanaged approach :

    - in the NT8 log/trace there are orders named 'X ' that I​ did not create, like

    Code:
    orderId='fcb325c7a1f347bb92edcaf9e270edd1' account='Sim101' name='X  '
    I guess those were automatically generated by NT8.

    Any idea on why they are present? Thank you.
    Attached Files

    #2
    Hello utilizator,

    Thank you for your note.

    This would be the signal name supplied to the entry order method.

    What code is submitting this order?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea,
      the code places orders like this (names as we see in the screenshot)

      Code:
      SubmitOrderUnmanaged(..., OrderAction.Buy,...,"PFT Long Pos1", ...)
      SubmitOrderUnmanaged(..., OrderAction.Sell,...,"Immediate Exit from Long", ...)
      etc.

      There is no order named 'X ' generated by the code.

      Perhaps such 'X ' orders are generated automatically by NT8. Have you seen this before?

      Might the 'X ' orders appear because my live feed is 10min delayed? Thank you.

      Comment


        #4
        Hello utilizator,

        I see those signal names as well, but I expect there is other code sending an order with the signal name X.

        If you click the 'Find' icon (or press Ctrl + f) and search for X, is not appearing anywhere in the code?

        May review the script?

        To export a NinjaTrader 8 NinjaScript so this can be shared and imported by the recipient do the following:
        1. Click Tools -> Export -> NinjaScript Add-on...
        2. Click the 'add' link -> check the box(es) for the script(s) and reference(s) you want to include
        3. Click the 'Export' button
        4. Enter the script name in the value for 'File name:'
        5. Choose a save location -> click Save
        6. Click OK to clear the export location message
        By default your exported file will be in the following location:
        • (My) Documents/NinjaTrader 8/bin/Custom/ExportNinjaScript/<export_file_name.zip>
        Below is a link to the help guide on Exporting NinjaScripts.


        Once exported, please attach the file as an attachment to your reply.​


        No, I would not expect a delayed order to have the signal name changed.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thank you Chelsea.
          I am not allowed to share the strategy code though...
          For sure there is no "X" order present in strategy CS file, even syntactically speaking.

          " I would not expect a delayed order to have the signal name changed."
          Should I understand that is possible for one of my named orders to have its name changed by NT8, for some (trade execution compatibility) reason?

          Comment


            #6
            Hello utilizator,

            An order name would not be changed by NinjaTrader.

            If an order update comes from the brokerage that was not generated by NinjaTrader it will have the name External.

            Create a reduced test script that does not contain the logic from your script.

            Create a simple entry and exit order. Ensure the behavior can be reproduced, and provide the test script instead of your custom script.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Thank you, I will try that

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, Today, 05:17 AM
              0 responses
              41 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              124 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              64 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
              46 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X