Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can't Delete an old position based on a nonexistent contract

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

    Can't Delete an old position based on a nonexistent contract

    I have an "Old Position" from an OLD Strategy Project that I can't delete.

    If I click on the position on the 'POSITIONS TAB" and then click CLOSE POSITION on the position, I get "There is no market data available to drive the simulation engine. affected Order. Sell 100 Market"

    How can I get rid of this phantom order that's hanging around?

    Thanks

    #2
    Hello DmKing,

    Thank you for your post.


    We advise that you reset the Simulation account to resolve this item.

    Resetting a simulation account will clear all historical trade data from this account. Please follow the instructions below to reset a simulation 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 a Live Order we advise that you rename your database to resolve this item using the following steps :
    • Shutdown NinjaTrader and Go to the Start Menu
    • Select My Documents--> NinjaTrader 8--> db--> "NinjaTrader.sdf" file (may only say 'NinjaTrader' depending on your Windows File Explorer settings)
    • Right click on NinjaTrader.sdf and select "Rename" *Name it "OLDNinjaTrader.sdf"
    • Then restart the software and NinjaTrader will create a fresh database file to use
    • Unfortunately the following items stored in the old database will be lost - Trading Hours templates, Instrument Lists / Custom Instruments, historical trade execution data, saved Strategy Analyzer backtest results

    To prevent running into situations where you can potentially lose important data, we advise running regular backups via our inbuilt backup feature in NinjaTrader - http://ninjatrader.com/support/helpG...up_archive.htm


    Please let us know if we may be of further assistance.
    Last edited by NinjaTrader_Heath; 04-01-2020, 02:57 PM. Reason: Including more information

    Comment


      #3
      Thanks Heath,

      That did the trick. You guys provide FAST & GREAT support. I appreciate all that you guys do. The best

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      52 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      130 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      70 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      43 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      48 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X