Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Cannot change order because your current order values already match

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

    Cannot change order because your current order values already match

    Hi,

    I am having this alert a lot when running my strategy.

    Cannot change order because your current order values already match

    How can it be disabled? Like a hundred alerts have appeared in just a few minutes.

    I started running my strategy live today.

    It is worth mentioning that I tested my strategy on SIM for many months and this never happened in SIM, just LIVE today.

    Please share the solution.

    Best regards.




    #2
    Hello jc.am,

    Thanks for writing in.

    CRITICAL — If your inquiry involves live orders, please always reach out to your broker's Orders Desk immediately to confirm and manage your live orders and positions.

    If your trades are with NinjaTrader Brokerage, you can contact NinjaTrader Brokerage Order Desk here:
    • Email: orders(at)ninjatrader(dot)com
    This error means that a change was submitted to an order, but that no changes was actually applied because the order was already at that price. This is likely something that will need to be changed in the way that the strategy is programmed.

    Please send me your log and trace files so that I may look further into what occurred.

    You can do this by going to the Control Center-> Help-> Email Support

    Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default.

    Please reference the following ticket number in the body of the email: 3431343 ATTN Zachary

    In the body of this email, please also include the answer to the following question:

    Is this a strategy that you created yourself or was this strategy provided by or created by a third party?

    I look forward to assisting you further.
    Zachary S.NinjaTrader Customer Service

    Comment


      #3
      Hi Zachary,

      I sent you the logs.

      I programmed the strategy and will review the code.

      But is there a way to disable the alerts anyway?

      Comment


        #4
        Hi jc.am, thanks for posting.

        The error can be handled in-code by either setting RealtimeErrorHandling = RealtimeErrorHandling.IgnoreAllErrors and the error will be ignored or by checking the price and not attempting to submit or change the order to the same price.

        Kind regards,
        -ChrisL
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          OK Chris,

          I will try modifying the code, because I already had this setting RealtimeErrorHandling = RealtimeErrorHandling.IgnoreAllErrors and it didn't work.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by fx.practic, 10-15-2013, 12:53 AM
          5 responses
          5,403 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by Shai Samuel, 07-02-2022, 02:46 PM
          4 responses
          94 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by DJ888, Yesterday, 10:57 PM
          0 responses
          6 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by MacDad, 02-25-2024, 11:48 PM
          7 responses
          158 views
          0 likes
          Last Post loganjarosz123  
          Started by Belfortbucks, Yesterday, 09:29 PM
          0 responses
          8 views
          0 likes
          Last Post Belfortbucks  
          Working...
          X