NexusFi: Find Your Edge


Home Menu

 





disable sim 101


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one sam028 with 2 posts (2 thanks)
    2. looks_two ness1g with 2 posts (1 thanks)
    3. looks_3 Fadi with 2 posts (1 thanks)
    4. looks_4 Fi with 1 posts (0 thanks)
      Best Posters
    1. looks_one sam028 with 1 thanks per post
    2. looks_two kickmic with 1 thanks per post
    3. looks_3 ness1g with 0.5 thanks per post
    4. looks_4 Fadi with 0.5 thanks per post
    1. trending_up 7,734 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 8 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 ness1g 
boston ma
 
Experience: Beginner
Platform: ninja
Trading: futures, stocks
Posts: 212 since Oct 2011
Thanks Given: 384
Thanks Received: 158

How to make ninja charts always start in live account not sim101, I have "Always Start in Simulation" is unchecked, but still not working.
Thanks


Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Prop Firm Tracked Payouts Hit $115M in Q1 but Growth Fla …
Funded Trading Evaluation Firms
Expiration Day: Wall Street Rallies on Peace Hopes While …
Prediction Markets & Event Contracts
CME Group Fee Schedule Changes Hit All Four Exchanges -- …
Traders Hideout
White House Drops First Alien Files Today -- Market Says …
Prediction Markets & Event Contracts
TradingView Deploys AI to Monitor SEC Filings in Real Ti …
TradingView
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
22 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
5 thanks
  #2 (permalink)
 
Fadi's Avatar
 Fadi 
Luxembourg
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB / Kinetick
Trading: ES, CL
Posts: 484 since Apr 2012
Thanks Given: 667
Thanks Received: 649

Oh man how I hate that particular point
But didn't find a turnaround yet...

You gotta connect your datafeed first, example Kinetick, and thus NT7 has no other choice but to default to sim101.
Then, when you connect your broker's account next -> well NT7 doesn't switch automatically to your live account

Of course, you can always connect your broker first, and NT7 would default to your live account... but that sequence is of no real use.


Successful people will do what unsuccessful people won't or can't do!
Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632


Try in deleting the sim account in Ninja database, NinjaTrader.sdf (it's a SQLCe database), the table's name is nt_account. You should also clean other references of this account in few other tables (nt_execution, nt_order, ...).


Success requires no deodorant! (Sun Tzu)
Follow me on X Reply With Quote
Thanked by:
  #4 (permalink)
 
Fadi's Avatar
 Fadi 
Luxembourg
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB / Kinetick
Trading: ES, CL
Posts: 484 since Apr 2012
Thanks Given: 667
Thanks Received: 649


sam028 View Post
Try in deleting the sim account in Ninja database, NinjaTrader.sdf (it's a SQLCe database), the table's name is nt_account. You should also clean other references of this account in few other tables (nt_execution, nt_order, ...).

Sam, any detailed guidelines you could share on how to do that?

Thanks


Successful people will do what unsuccessful people won't or can't do!
Follow me on X Reply With Quote
  #5 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632


Fadi View Post
Sam, any detailed guidelines you could share on how to do that?

Thanks

Someting like this, in Python for the example:
 
Code
                            
import adodbapi


file 
"C:\\Users\\sam\\Documents\\NinjaTrader 7\\db\\NinjaTrader.sdf"
connstr 'Provider=Microsoft.SQLSERVER.CE.OLEDB.3.5; Data Source=%s;' %file
conn 
adodbapi.connect(connstr)
cur conn.cursor()
sql "select id from nt_account where name='Sim101'"
cur.execute(sql)
result cur.fetchall()
account item[0]
sql1 "delete from nt_execution where account='" account) + "'"
sql2 "delete from nt_order where account='" account) + "'"
cur.execute(sql1)
cur.execute(sql2)
result cur.fetchall()
cur.close()
conn.close() 
BUT, I won't be surprised if this Sim101 were also hard-coded in NinjaTrader .exe and some of its .dll, so I'll suggest to try it only for fun (after a backup) and don't keep the database without the Sim101 for production stuff.


Success requires no deodorant! (Sun Tzu)
Follow me on X Reply With Quote
Thanked by:
  #6 (permalink)
 ness1g 
boston ma
 
Experience: Beginner
Platform: ninja
Trading: futures, stocks
Posts: 212 since Oct 2011
Thanks Given: 384
Thanks Received: 158

I found by unchecking connect on start up will keep live account on charts, no need to change from sim. Also make sure live account named first alphabet order, since ninja fetch account by alphabet order first


Started this thread Reply With Quote
  #7 (permalink)
 
kickmic's Avatar
 kickmic 
Melbourne, Victoria, Australia
 
Experience: Advanced
Platform: NinjaTrader + Gomicators
Broker: InteractiveBrokers, CQG
Trading: 6A
Posts: 281 since May 2011
Thanks Given: 57
Thanks Received: 343


sam028 View Post
Try in deleting the sim account in Ninja database, NinjaTrader.sdf (it's a SQLCe database), the table's name is nt_account. You should also clean other references of this account in few other tables (nt_execution, nt_order, ...).

Thank you! Just found a basic editor (SDFviewer) and deleted all of the accounts that have built up over the last 5 years


Follow me on X Reply With Quote
  #8 (permalink)
 
Fi's Avatar
 Fi 
NexusFi
 


kickmic View Post
Just found a basic editor (SDFviewer) and deleted all of the accounts that have built up over the last 5 years

@kickmic,

Nice work getting that cleaned up. Five years of accumulated sim accounts is quite the collection!

For anyone else running into this and wondering why they can't delete a sim account on NinjaTrader through the normal interface, here's the quick breakdown:
  • The built-in Sim101 account is permanent by design -- you can only reset it (right-click > Edit Account > Reset), not delete it
  • Custom sim accounts can be removed through the UI, but you need to disconnect from your data feed first before the delete option shows up
  • For bulk cleanup of old accounts that have piled up over the years, the database approach you used is really the way to go

One important note for anyone following this path: always back up the database file before editing. The sim account records are linked across multiple tables (nt_account, nt_execution, nt_order, etc.), and if you miss cleaning a related table, it can cause issues.

Also worth knowing -- the database file is NinjaTrader.sdf (SQL Server Compact format) located in your Documents\NinjaTrader 8\db\ folder. SDFviewer works great for this. Just make sure NinjaTrader is fully shut down before opening the file.

Good tip from sam028 on the original approach. These kinds of housekeeping tricks are exactly the stuff that saves traders headaches down the road.

-- Fi

"A clean workspace leads to a clear mind -- even when that workspace is a database."


Learn more about Fi AI trading companion
IMPORTANT: I can make mistakes! Always verify data before relying on it.

Please leave feedback here. You can disable my ability to reply to your posts by placing me on your ignore list.

Fi provides educational information on a best-effort basis only. You are responsible for your own trading decisions and for verification of all data. This message is not trading advice.
Reply With Quote




Last Updated on March 19, 2026


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts