Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Too many orders - i got 1 extra order

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

    Too many orders - i got 1 extra order

    It looks like im having the same problem as some other people below. Today i was running a strategy and the code submitted 1 extra order beyond what i had listed.

    enterShort1a = EnterShort(NShares, "enterShort1a");
    enterShort2a = EnterShort(NShares, "enterShort2a");


    Above i have listed 2 orders, but the strategy actually submitted 2 of order #1 and 1 of order #2 for a total of 3 contracts. I am using trading technologies and amp futures brokerage. Instrument is ES.

    How do I fix this?

    #2
    Elitetradernyc,

    Thank you for posting.

    Is the order enterShort1a actually submitting an order quantity of 2 or is there another order being generated here for reversing a position?

    If you are using the same NShares between the two then You will see the same order quantity being submitted
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Nshares is equal to 1, but i got a short position of 3 contracts when its only supposed to be 2

      Comment


        #4
        Elitetradernyc,

        Is this live trade or backtest?

        I would need to see your Trace and Log for the live trade.

        If its a backtest please provide screenshots of the orders and the where you see the descrepancy
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          It was live should i mail you the log and trace files?

          Comment


            #6
            Elitetradernyc,

            Please send me the trace and log by going to Help -> Mail to Platform support
            Put ATTN Cal in the subject and reference this thread

            Additionally, please put what time and date these orders occurred to better look at the issue.
            Cal H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            85 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            47 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            67 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X