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!
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
NinjaTrader
position error
Collapse
X
-
-
Have you tried turning off 'Plot Executions'?
* Data Series > Plot Executions> Text and Marker
Have you tried resetting Sim101?
Why reset Sim101?
For NT8, I think Playback101 inherits from Sim101.
It doesn't look like you can reset Playback101 directly, so
you'll need to disconnect from Playback Connection in order
to see the Sim101 in the Accounts tab.
To reset Sim101,
* From the NinjaTrader Control Center window select the Accounts tab
* Right click on the desired simulation account and select 'Edit Account'
* A popup dialog appears, click 'reset' in lower right
* Make sure 'Clear History' is checked
* Click Yes button to confirm reset
[EDIT: Oh good, it looks like NT8 displays Sim101 in the Accounts tab
when all connections are disconnected. NT7 didn't do this, you'd have to
connect to something to make NT7 show you Sim101. Updated my
comments above to reflect this new realization.]
Good luck!
Last edited by bltdavid; 11-27-2021, 11:12 PM.
- Likes 1
Comment
-
You could try the Nuclear option.
Delete your database file NinjaTrader.sdf, located in the db folder.
The only thing of significance you'd lose is all Trade History from all accounts,
which is not a big deal unless you have important history from a live account
that you need to keep, say for performance reports. You might also lose any
custom settings for any instruments -- but these can be re-added.
Your choice.
But, you don't really need to delete the file, just rename the file, like this,
* Exit NinjaTrader
* Goto db folder
* Rename 'NinjaTrader.sdf' to something else, like 'KeepNinjaTrader.sdf'
+ Keep Windows Explorer open to watch db folder
* Start NinjaTrader
+ You'll see NT8 auto recreate an empty NinjaTrader.sdf
A brand new empty NinjaTrader.sdf file should solve your problem.
If not, reverse the rename and wait for the cavalry,
* Exit NinjaTrader
* Reverse the file name
* Start NinjaTrader
Comment
-
Originally posted by ezrollin View PostIt doesnt lock up when I uncheck clear history.
I think its time to uninstall delete and reinstall?
Clearing a lot of history can take quite some time.
Try giving it an enormous amount of time, like 15-30mins,
just to be sure.
- Likes 1
Comment
-
Hello ezrollin,
These could be historical executions from a strategy, or could orders submitted in real-time to the account.
Disconnecting and re-connecting the Playback connection would remove any orders submitted while the Playback was connected.
A strategy can be set to not place orders until real-time.
Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by TheTradingMantis, 10-31-2017, 03:18 PM
|
5 responses
1,251 views
0 likes
|
Last Post
by TheAngryCube
Today, 04:06 PM
|
||
Started by Padan, Today, 02:02 AM
|
9 responses
23 views
0 likes
|
Last Post Today, 03:27 PM | ||
Started by spottysallrite, Today, 11:31 AM
|
7 responses
22 views
0 likes
|
Last Post Today, 03:26 PM | ||
Started by nandhumca, Today, 03:15 PM
|
1 response
4 views
0 likes
|
Last Post Today, 03:23 PM | ||
Started by PopovDS, 03-11-2024, 12:49 PM
|
3 responses
17 views
0 likes
|
Last Post
by PopovDS
Today, 03:16 PM
|
Comment