NexusFi: Find Your Edge


Home Menu

 





disable sim 101


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fadi with 2 posts (1 thanks)
    2. looks_two sam028 with 2 posts (2 thanks)
    3. looks_3 ness1g with 2 posts (1 thanks)
    4. looks_4 kickmic with 1 posts (0 thanks)
    1. trending_up 6,274 views
    2. thumb_up 4 thanks given
    3. group 2 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

disable sim 101

  #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?
Exit Strategy
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
43 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #2 (permalink)
 
Fadi's Avatar
 Fadi 
Luxembourg
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB / Kinetick
Trading: ES, CL
Posts: 485 since Apr 2012
Thanks Given: 667
Thanks Received: 648

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 Twitter Reply With Quote
Thanked by:
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


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 Twitter Reply With Quote
Thanked by:
  #4 (permalink)
 
Fadi's Avatar
 Fadi 
Luxembourg
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB / Kinetick
Trading: ES, CL
Posts: 485 since Apr 2012
Thanks Given: 667
Thanks Received: 648


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 Twitter Reply With Quote
  #5 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


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 Twitter 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 Twitter Reply With Quote




Last Updated on August 9, 2016


© 2024 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 - Privacy Policy - Downloads - Top
no new posts