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

TopStep 'cannot change order' error

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

    TopStep 'cannot change order' error

    Hi,
    a customer of mine is trading with TopStep and NT7, and upon a fill of a short entry and then the placement of stoploss and target orders, an error message comes back about being unable to change the order, and the strategy shuts down.
    These are new orders being placed, not being changed. TraceOrders is set true.

    See Output Window monitoring text:


    3/22/2018 9:51:08 AM Entered internal SubmitOrder() method at 3/22/2018 9:51:08 AM: Action=SellShort OrderType=Stop Quantity=1 LimitPrice=1327.9 StopPrice=1327.9 OcoId='' Name='SE'
    3/22/2018 9:51:09 AM Short entry fill; setting stoploss at 1328.9 and entry at 1325.9
    3/22/2018 9:51:09 AM Entered internal SubmitOrder() method at 3/22/2018 9:51:09 AM: Action=BuyToCover OrderType=Stop Quantity=1 LimitPrice=1328.9 StopPrice=1328.9 OcoId='b91d7fb533e34b728afd426ea3655ed3' Name='SS'
    3/22/2018 9:51:09 AM Entered internal SubmitOrder() method at 3/22/2018 9:51:09 AM: Action=BuyToCover OrderType=Limit Quantity=1 LimitPrice=1325.9 StopPrice=1325.9 OcoId='b91d7fb533e34b728afd426ea3655ed3' Name='ST'
    **NT** Strategy 'brPriceDiffBreakouts/375cb2e9c87d477a87bb4d469d055fce' submitted an order that generated the following error 'UnableToChangeOrder'. Strategy has sent cancel requests, attempted to close the position and terminated itself.

    This strategy works fine in testing. It is live with TopStep that the issue occurs.

    Thanks,
    saltminer

    #2
    Hello saltminer,

    Thanks for opening the thread.

    It may be worthwhile to view the client's log and trace files for more information on what exactly the strategy did at that time to see receive an "UnableToChangeOrder" error. We could see if the strategy attempted to change an order to a certain level that would be invalid, if the ChangeOrder was submitted and rejected before the previous order was accepted/working, or if there was an in flight execution or partial fill that had made the subsequent ChangeOrder invalid.

    If you would like to write in to platformsupport [at] ninjatrader [dot] com with the forum URL and the text "Attention Jim" along with the log and trace files for the occurrence, I will be happy to give you further input on the error received and what can be done to address it.

    I look forward to assisting you further.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by maybeimnotrader, Yesterday, 05:46 PM
    2 responses
    22 views
    0 likes
    Last Post maybeimnotrader  
    Started by adeelshahzad, Today, 03:54 AM
    5 responses
    32 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by stafe, 04-15-2024, 08:34 PM
    7 responses
    32 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by merzo, 06-25-2023, 02:19 AM
    10 responses
    823 views
    1 like
    Last Post NinjaTrader_ChristopherJ  
    Started by frankthearm, Today, 09:08 AM
    5 responses
    22 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Working...
    X