NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 05-14-2009, 04:32 PM   #1
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default Profit Totals Mismatch

Attached are my sim trading for today.

I have removed all slippage and commissions alterations to profit totals prior to todays trades.

Total for all three strategies - $ 1,950.00

Total on account summary tab - $ 1,862.00

I have seen this happen every day for the past week.

Some days the difference is over $ 200.00

It seems to happen when all strategies are auto flattened at the end of day.

Can you confirm and fix this?

Thanks,

RJay
Attached Images
File Type: jpg Mismatch.JPG (68.9 KB, 8 views)
RJay is offline  
Reply With Quote
Old 05-15-2009, 07:16 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

Thanks for your post rt6176, can you please rerun the account performance only for one day, in your screenshot it includes 13th and 14th of May.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 05-15-2009, 07:25 AM   #3
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default

Quote:
Originally Posted by NinjaTrader_Bertrand View Post
Thanks for your post rt6176, can you please rerun the account performance only for one day, in your screenshot it includes 13th and 14th of May.
My trading day is from 06:00 PM to 04:00 PM. The strategies had been active for that amount of time.

I can give you what you want if it will make a difference. I don't see how.

RJay
RJay is offline  
Reply With Quote
Old 05-15-2009, 07:41 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Your performance results may be including results from your prior session then. You say session is 6PM to 4PM. It starts again at 6PM and is inside your same date.

Please check the trades tab and ensure you are looking at the same total trades and that there are no "extra" trades from prior sessions rolled into it since 5/13-5/14 doesn't care about your 6PM-4PM session breaks. It will just show everything from 12AM-12AM on those dates.
NinjaTrader_Josh is offline  
Reply With Quote
Old 05-15-2009, 07:53 AM   #5
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default

Quote:
Originally Posted by NinjaTrader_Josh View Post
Your performance results may be including results from your prior session then. You say session is 6PM to 4PM. It starts again at 6PM and is inside your same date.

Please check the trades tab and ensure you are looking at the same total trades and that there are no "extra" trades from prior sessions rolled into it since 5/13-5/14 doesn't care about your 6PM-4PM session breaks. It will just show everything from 12AM-12AM on those dates.

I reset the simulator and recalculate Account performance to "0" after each trading day. (After 04:00 PM but before 06:00 PM)

Each trading day starts clean. I manually startup the strategies at the beginning of each trading day. 06:00 PM

Posted results were collected aroung 04:15 PM.

Strategy specific 'Exit on Close" set to false. This allows trading thru the 12:00 AM without being forced out.
Last edited by RJay; 05-15-2009 at 07:56 AM.
RJay is offline  
Reply With Quote
Old 05-15-2009, 07:57 AM   #6
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

rt6176,

Please still check the executions/trades tabs and correlate them with the ones from your strategies.
NinjaTrader_Josh is offline  
Reply With Quote
Old 05-15-2009, 08:01 AM   #7
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default

Quote:
Originally Posted by NinjaTrader_Josh View Post
rt6176,

Please still check the executions/trades tabs and correlate them with the ones from your strategies.
Executions/trades tabs match summary Tab info.

None of them match the sum of the strategies on Strategies Tab.
RJay is offline  
Reply With Quote
Old 05-15-2009, 08:22 AM   #8
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

rt6176,

You need to compare the trades/executions from the Performance report to the trades/executions of your actual individual strategies in the Control Center. There is no need to compare trades/executions from Performance report to Summary tab in Performance report.
NinjaTrader_Josh is offline  
Reply With Quote
Old 05-15-2009, 08:44 AM   #9
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default

Quote:
Originally Posted by NinjaTrader_Josh View Post
rt6176,

You need to compare the trades/executions from the Performance report to the trades/executions of your actual individual strategies in the Control Center. There is no need to compare trades/executions from Performance report to Summary tab in Performance report.
Your software compiles all trades of all strategies together. There is no way for me to seperate them.

See Examples.

Scratch that. Your file size limit is so small I can't post the pictures.
RJay is offline  
Reply With Quote
Old 05-15-2009, 08:55 AM   #10
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

rt6176, you can send me the pictures with YouSendIt to support at ninjatrader dot com Attn Bertrand and I will take a look.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 05-15-2009, 09:04 AM   #11
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default

I'm not the only one.

http://www.ninjatrader-support2.com/...ad.php?t=14351
RJay is offline  
Reply With Quote
Old 05-15-2009, 09:22 AM   #12
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

rt6176, every is case is different - please send us your files for review as instructed in my prior post - thanks!
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 05-18-2009, 02:05 PM   #13
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default

NT,

Trading in sim...

My suspicions were correct. When strategies are flattened at end of day, open trades are closed and these trades are not added to the totals in the account performance tabs.

Totals are correct on the strategies tab.

RJay
RJay is offline  
Reply With Quote
Old 05-18-2009, 02:11 PM   #14
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

rt6176,

Please provide reproducible steps. Strategy settings, etc. Does this happen for you on SampleMACrossOver? Thank you.
NinjaTrader_Josh 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
Market replay data mismatch luigi Miscellaneous Support 4 04-27-2009 04:00 PM
Pnl Mismatch hemlock SuperDOM and other Order Entry Windows 1 04-07-2009 08:16 AM
'FXP' compressed data length mismatch heech Strategy Analyzer 1 11-18-2008 04:44 AM
What's the easiest way to get the current Net Profit/Gross Profit? tradefaz General Programming 2 08-25-2008 10:31 PM
price calculation mismatch funk101 Historical NinjaTrader 6.5 Beta Threads 1 12-05-2007 12:52 PM


All times are GMT -6. The time now is 02:08 PM.