NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 02-06-2012, 02:37 PM   #1
ldvinvestments
Junior Member
 
Join Date: Jan 2012
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default Database appears to be corrupt

When I run Account Performance for January it shows a different number for profit that what I know I really made via my brokerage reports. I believe my database is corrupt. How do I go about fixing this?

Thanks,
John
ldvinvestments is offline  
Reply With Quote
Old 02-06-2012, 02:57 PM   #2
NinjaTrader_ChristopherJ
NinjaTrader Customer Service
 
NinjaTrader_ChristopherJ's Avatar
 
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,839
Thanks: 33
Thanked 138 times in 138 posts
Default

Hello,

Thank you for your post.

Within the Account Performance window please left mouse click on Advanced-->Select your Live account only-->confirm "Group trades by ATM strategy" is unchecked and Generate a new report.

Please let me know if the issue persists after this procedure.
NinjaTrader_ChristopherJ is offline  
Reply With Quote
Old 02-06-2012, 10:15 PM   #3
ldvinvestments
Junior Member
 
Join Date: Jan 2012
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default Tried that, didn't work

Thanks but using only my live account and unchecking "group by ATM strategy" was how I was doing it.

What's the next step?
ldvinvestments is offline  
Reply With Quote
Old 02-07-2012, 06:10 AM   #4
NinjaTrader_ChristopherJ
NinjaTrader Customer Service
 
NinjaTrader_ChristopherJ's Avatar
 
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,839
Thanks: 33
Thanked 138 times in 138 posts
Default

Do you have NinjaTrader configured to apply commissions to your PnL?

Also when comparing trades to what you see within your account statement do all trades match or are there missing executions?
NinjaTrader_ChristopherJ is offline  
Reply With Quote
Old 02-07-2012, 10:38 AM   #5
ldvinvestments
Junior Member
 
Join Date: Jan 2012
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default

I do not have NT configured to apply commissions and am comparing only on a gross basis. I have not compared trade by trade but can do that before the end of today.
ldvinvestments is offline  
Reply With Quote
Old 05-01-2012, 09:16 AM   #6
ldvinvestments
Junior Member
 
Join Date: Jan 2012
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default

I'm having this problem again. When I generate my Account Performance for the month of April there are trades that I did not do. I need the Trades report to complete an analysis. Why is Ninja doing this and how can I repair it?
ldvinvestments is offline  
Reply With Quote
Old 05-01-2012, 09:19 AM   #7
NinjaTrader_ChristopherJ
NinjaTrader Customer Service
 
NinjaTrader_ChristopherJ's Avatar
 
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,839
Thanks: 33
Thanked 138 times in 138 posts
Default

The orders that are appearing are they showing within your Live account or the Sim101 account? Also in the Account Performance tab do you have "Group trades by ATM strategy" enabled?
NinjaTrader_ChristopherJ is offline  
Reply With Quote
Old 05-01-2012, 12:32 PM   #8
ldvinvestments
Junior Member
 
Join Date: Jan 2012
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default

The orders are appearing in my live account and I do not have 'group trades by atm strategy' checked
ldvinvestments is offline  
Reply With Quote
Old 05-01-2012, 02:34 PM   #9
NinjaTrader_ChristopherJ
NinjaTrader Customer Service
 
NinjaTrader_ChristopherJ's Avatar
 
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,839
Thanks: 33
Thanked 138 times in 138 posts
Default

It is possible to have trades before the From date being listed in your report. NinjaTrader generates reports from the last time you were flat. If a particular instrument was already in the middle of a position at the beginning of the From date, NinjaTrader will report all trades prior to this date up to the point where the position was flat. This will ensure you have a complete picture in terms of your performance on any specific date instead of "jumping" into the middle of a position which may cause inaccurate overall performance.
If you go thru your records can you match up which executions don't match?
NinjaTrader_ChristopherJ is offline  
Reply With Quote
Old 05-01-2012, 07:02 PM   #10
ldvinvestments
Junior Member
 
Join Date: Jan 2012
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default

I can do that but it won't fix it. Is there anything I can do to fix it (e.g. DB repair)?
ldvinvestments is offline  
Reply With Quote
Old 05-02-2012, 06:06 AM   #11
NinjaTrader_ChristopherJ
NinjaTrader Customer Service
 
NinjaTrader_ChristopherJ's Avatar
 
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,839
Thanks: 33
Thanked 138 times in 138 posts
Default

Yes please repair your database with the steps I have provided below:
  • Disconnect
  • Tools-->Options-->Data tab
  • Repair DB
  • Restart NinjaTrader
  • Generate a new report
NinjaTrader_ChristopherJ is offline  
Reply With Quote
Old 05-02-2012, 09:09 AM   #12
ldvinvestments
Junior Member
 
Join Date: Jan 2012
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default

Didn't fix it. When I run a trade report I see a trade that has the wrong exit price on April 23 and then there is a series of incorrect trades.
ldvinvestments is offline  
Reply With Quote
Old 05-02-2012, 09:18 AM   #13
NinjaTrader_ChristopherJ
NinjaTrader Customer Service
 
NinjaTrader_ChristopherJ's Avatar
 
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,839
Thanks: 33
Thanked 138 times in 138 posts
Default

Is this an Exit that should not exist which is throwing everything off? If so to resolve the issue you are experiencing please add an execution to the database to cancel out the Exit on that day. To add an execution please go to the Executions tab-->Right mouse click-->Add.

After you have added the execution please repair the database again-->Restart NinjaTrader and generate a new report.
NinjaTrader_ChristopherJ is offline  
Reply With Quote
Old 05-02-2012, 01:08 PM   #14
ldvinvestments
Junior Member
 
Join Date: Jan 2012
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default

It's an exit at the wrong price. How do I fix that?
ldvinvestments is offline  
Reply With Quote
Old 05-02-2012, 01:19 PM   #15
NinjaTrader_ChristopherJ
NinjaTrader Customer Service
 
NinjaTrader_ChristopherJ's Avatar
 
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,839
Thanks: 33
Thanked 138 times in 138 posts
Default

There is not an option to change the price of the execution that is recorded. The only option is manually enter another entry and exit to pick up where the error occurred.
NinjaTrader_ChristopherJ is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Schema for Database...creating a private database for historical/analytical reporting Turtle Trader General Programming 0 09-20-2011 05:26 PM
How do I draw a line that appears in all timeframes DancesWithBears Indicator Development 3 12-20-2010 08:53 AM
Day Data Appears Mislabled Sader Version 7 Beta General Questions & Bug Reports 8 07-20-2010 10:50 AM
BarsAgo appears to be lagging Turtle Trader General Programming 4 05-21-2010 11:08 AM
I found a bug that appears every so often... VagyokC4 Strategy Development 8 09-28-2007 08:22 AM


All times are GMT -6. The time now is 11:14 PM.