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

Unable to cancel out live orders

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

    Unable to cancel out live orders

    I can't start strategy. There is popup see attachment.
    What is reason for this message and how to fix this ?

    #2
    Hello Klaus,

    Thanks for the post.

    If you are trying to start up this strategy on the Sim101 account, it is possible that there is a stuck order in the account. In that case, please follow the steps below to reset your Sim101 account:

    Resetting a simulation account will clear all historical trade data from this account.
    • From the NinjaTrader Control Center window select the Accounts tab
    • Right click on your simulation account and select 'Edit Account'
    • Press the "Reset" button
    If this is coming from your live account (or if the above does not fix the issue with the Sim101 account), it is possible that there is an order stuck in the local NinjaTrader database (Please also call your broker to see if there are active orders on your account.)
    If this is the case, please follow the below steps to reset your NinjaTrader database:
    • Shutdown NinjaTrader and Go to the Start Menu
    • Navigate to Documents--> NinjaTrader 8.
    • Rename the folder named 'db' to 'dbOLD'.
    • Then start up NinjaTrader and a fresh database folder will generate.
    Please let me know if this does not resolve your inquiry.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hello,I have the same issue so I do as you say and it worked fine,but it bugs again so my question is : I go again in ninjatrader 8 and try to write again dbOLD but i have a now already a db OLD,so should I delete the dbOLD to rename again the actual db?thanks

      I got it,I just rename the dbOLD to dbOLD2
      Last edited by janio973; 05-22-2023, 06:32 PM.

      Comment


        #4
        For those encountering this error, researching solutions, and this comes up as a match, I found a better solution.

        What the recommended NT solution doesn't specify is, if you delete your database, that will remove all strategies. In my workspace, I have hundreds of strategies configured. If I removed the database, then I have to reconfigure all of those strategies.

        Instead, I disabled and removed the errant strategy. Then, I added again, new, into a new chart. This resolved the error.

        With this, your trade may still be live. I also went into my Rithmic Trader, found the live order, and cancelled it there.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        1 view
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        238 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        383 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        1 view
        0 likes
        Last Post oviejo
        by oviejo
         
        Started by pechtri, 06-22-2023, 02:31 AM
        10 responses
        125 views
        0 likes
        Last Post Leeroy_Jenkins  
        Working...
        X