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 chbruno, 04-24-2024, 04:10 PM
            4 responses
            50 views
            0 likes
            Last Post chbruno
            by chbruno
             
            Started by TraderG23, 12-08-2023, 07:56 AM
            10 responses
            398 views
            1 like
            Last Post beobast
            by beobast
             
            Started by lorem, Yesterday, 09:18 AM
            5 responses
            20 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by WHICKED, Today, 12:56 PM
            2 responses
            15 views
            0 likes
            Last Post WHICKED
            by WHICKED
             
            Started by Felix Reichert, Today, 02:12 PM
            0 responses
            4 views
            0 likes
            Last Post Felix Reichert  
            Working...
            X