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 > Strategy Analyzer

Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer.

Closed Thread
 
Thread Tools Display Modes
Old 08-27-2011, 01:24 PM   #1
drolles
Senior Member
 
Join Date: Mar 2009
Posts: 292
Thanks: 12
Thanked 1 time in 1 post
Default Problems with backtesting of FX in .7

NT Support,

I’ve just upgraded .7 and I’ve got problems back testing my strategies. I’m getting errors with Forex position size values when using a fixed factional position sizing.

See screen shot attached. It looks to be around JPY crosses (see Strategy Analyser screen shot attached).

Has an old error been reintroduced? There was a problem around JPY crosses previously. We had to be connected to a price feed – something about cross rate calculation.


Could you please give us a view of the scripts you test to confirm a build is right to ship? What Fx strategies do you run through your builds to confirm they work?


Thanks and regards,

drolles
Attached Images
File Type: jpg Upgrade error 7.7.JPG (32.0 KB, 12 views)
drolles is offline  
Old 08-27-2011, 01:33 PM   #2
NinjaTrader_Austin
NinjaTrader Customer Service
 
NinjaTrader_Austin's Avatar
 
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
Default

Hi Drolles, there was some change regarding $EURJPY.. I'm not sure if that would apply here but the change (as described in the release notes) is this -
"Fixed
4507
Performance Report
In currency mode, the report from a historical backtest on $EURJPY could have differed from the report of the same strategy ran on a live chart"

I will have someone get back to you on Monday with more clarification.
NinjaTrader_Austin is offline  
Old 08-27-2011, 02:12 PM   #3
drolles
Senior Member
 
Join Date: Mar 2009
Posts: 292
Thanks: 12
Thanked 1 time in 1 post
Default

Austin,

Thanks for the reply.

As per the screen shot the errors not only appearing in EURJPY. My example here is AUDJPY. And I’m seeing other errors on JPY crosses.

Thanks and regards,

drolles
drolles is offline  
Old 08-29-2011, 06:35 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 974 times in 957 posts
Default

Hi drolles hope you're well, thanks for the report and clarification - we're looking into it.
NinjaTrader_Bertrand is offline  
Old 08-29-2011, 02:49 PM   #5
drolles
Senior Member
 
Join Date: Mar 2009
Posts: 292
Thanks: 12
Thanked 1 time in 1 post
Default

Thanks for that.

Given this is a critical issue could we please have an update? Without a messy rollback process I can’t backtest now I’ve upgraded. I’ve resorted to my backup machine.

Thanks,

drolles
drolles is offline  
Old 08-30-2011, 03:11 AM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 974 times in 957 posts
Default

drolles, what version is your backup machine then running on? Could you please clarify?
NinjaTrader_Bertrand is offline  
Old 08-30-2011, 03:48 PM   #7
drolles
Senior Member
 
Join Date: Mar 2009
Posts: 292
Thanks: 12
Thanked 1 time in 1 post
Default

Bertrand,

My backup install is running 7.0.1000.5.

As per the previous request can I please have an update here? What process is being used for issue? How many resources are deployed to fixing this? What has been found from your testing to date?

Thanks and regards,

drolles
drolles is offline  
Old 08-31-2011, 06:14 AM   #8
drolles
Senior Member
 
Join Date: Mar 2009
Posts: 292
Thanks: 12
Thanked 1 time in 1 post
Default

NT Support,

Again, can we please have an update here? When are we going to see some answers to the questions raised?

Thanks,

drolles
drolles is offline  
Old 08-31-2011, 09:29 AM   #9
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 974 times in 957 posts
Default

Thanks for the clarifications Daniel, I've reproduced the issue going from the R6 to the R7, so this what you saw updating from your R5 to R7 - I've now asked development to take a look and will reply back as soon as I have more information, for now please stay on the R5 (if you would like to downgrade to it, please send me a PM or email to support).

To clarify another ithem : you would also see no conversion in backtesting, here the execution rate seen would be 1 and that would be expected (which is in contrast to live execution where the needed rate can be streamed in provided the MA / Chart is pulling the data in).
NinjaTrader_Bertrand is offline  
The following user says thank you to NinjaTrader_Bertrand for this post:
Old 09-02-2011, 01:38 PM   #10
drolles
Senior Member
 
Join Date: Mar 2009
Posts: 292
Thanks: 12
Thanked 1 time in 1 post
Default

Bertrand,

Thanks for your effort on working through this. I see we have taken a big step that this is a reproducible error.

Could we have an update please?

Thanks and regards,

drolles
drolles is offline  
Old 09-03-2011, 10:40 AM   #11
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,781
Thanks: 159
Thanked 565 times in 556 posts
Default

drolles,

Bertrand should be follow up with you on Monday.

Thanks for your patience and enjoy your weekend.
NinjaTrader_Matthew is offline  
Old 09-05-2011, 06:41 AM   #12
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 974 times in 957 posts
Default

Hi Daniel, development is out for the holiday weekend - once I have an update this week I'll get back to you promptly here.

Thanks for your patience and report,
NinjaTrader_Bertrand is offline  
Old 09-07-2011, 02:55 AM   #13
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 974 times in 957 posts
Default

Daniel, thanks for the patience here - we closely looked into matters and actually R7 is working correctly while R6 and prior versions unfortunately had a bug in this respect - in backtesting there's simply no conversion done to any PnL generated (as opposed to trading on live data), NT7 would use the lotsize, point value and ticksize set to arrive at the PnL here, which according to this definition is correct for the results we see. Apologies this took so long to get to the bottom of things.
NinjaTrader_Bertrand is offline  
Old 09-10-2011, 05:37 PM   #14
drolles
Senior Member
 
Join Date: Mar 2009
Posts: 292
Thanks: 12
Thanked 1 time in 1 post
Default

Bertrand,

I’m sorry I’m lost.

I’ve been doing some testing on this tonight, are you saying that in backtest now uses lot and not an outright purchase as it appeared to be using in .6?

If so that doesn’t make sense. I’ve been doing some testing with this tonight. Why would a position size of 10000 behave like a mini-lot? Is that correct?

I’ve shown two screen shots of a backtest using .7 which gives some funny results if it is using lot size.

This just doesn’t make any sense as it looks as if the lot sizing hasn’t changed for USD crosses vis JPY crosses.

I’m sorry but I think this is getting silly now. This issue has been open 2 weeks now and NT still can’t give me an answer that appears to make sense.

Thanks and regards,

Dan
Attached Images
File Type: jpg Currency - PnL.JPG (55.8 KB, 13 views)
File Type: jpg Currency wt JPY - PnL.JPG (80.4 KB, 9 views)
File Type: jpg Points - PnL.JPG (53.3 KB, 7 views)
drolles is offline  
Old 09-10-2011, 05:45 PM   #15
drolles
Senior Member
 
Join Date: Mar 2009
Posts: 292
Thanks: 12
Thanked 1 time in 1 post
Default

Bertrand,

This issue has now been open for two weeks.

I think it is time to escalate this. I effectively can’t backtest on my development machine while this issue is outstanding, which is just unacceptable.

If we can’t get this fix I would like someone from sales to explain to me while I shouldn’t receive money back for my license purchase if I’m not able to use the software that I’ve purchased for the purpose it is intended.

Thanks and regards,

Dan
drolles is offline  
Closed Thread

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
Problems with FirstBarOfSession in FX sessions molecool Indicator Development 7 03-24-2011 02:11 PM
More backtesting problems lookOutBelow Version 7 Beta General Questions & Bug Reports 20 11-17-2010 01:21 PM
Backtesting Currencies/FX with spread TakisTakis Strategy Analyzer 3 07-08-2010 06:07 AM
What are the problems with backtesting? jeffbg123 Strategy Analyzer 76 03-10-2010 03:16 PM
FX backtesting d.allen101 Strategy Development 13 11-24-2009 06:13 AM


All times are GMT -6. The time now is 01:00 AM.