NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Strategy Analyzer

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

Reply
 
Thread Tools Display Modes
Old 02-02-2010, 07:38 AM   #1
kassaindia
Member
 
Join Date: Sep 2009
Posts: 80
Thanks: 0
Thanked 0 times in 0 posts
Default tools>options>data tab>

I trade based on strategies that are loaded on NT, once a week when I compare my real trades (trades that I execute based on orders thrown up by the strategy in real time) to the backtest ( that I do for the same period eg from Mon to Friday) the picture is very different. Backtest shows me profit whereas in reality I have incurred a loss. What in your opinion should I do. Is it a real time data problem .What is the ideal setting for data on ninja so that the real trades are least different when I backtest the trades.
kassaindia is offline  
Reply With Quote
Old 02-02-2010, 08:27 AM   #2
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

kassaindia,

Backtesting and real-time are different from each other and will yield different results. Please see this article here: http://www.ninjatrader-support.com/H...TimeVsBacktest

Backtesting only gives you a theoretical result that could occur under certain assumptions. This assumption is more often than not simply not realistic in real-time. This is why backtesting results should always be taken with a grain of salt and forward testing should always be taken before live trading.
NinjaTrader_Josh is offline  
Reply With Quote
Old 02-02-2010, 09:36 AM   #3
kassaindia
Member
 
Join Date: Sep 2009
Posts: 80
Thanks: 0
Thanked 0 times in 0 posts
Default

How can I do forward testing on Ninja, please advice.


Quote:
Originally Posted by NinjaTrader_Josh View Post
kassaindia,

Backtesting and real-time are different from each other and will yield different results. Please see this article here: http://www.ninjatrader-support.com/H...TimeVsBacktest

Backtesting only gives you a theoretical result that could occur under certain assumptions. This assumption is more often than not simply not realistic in real-time. This is why backtesting results should always be taken with a grain of salt and forward testing should always be taken before live trading.
kassaindia is offline  
Reply With Quote
Old 02-02-2010, 09:49 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

kassaindia,

You can either run the strategy live against the Sim101 account or you can even try the Market Replay features. At the end of the day, forward testing should be also be taken with a grain of salt as it is still simulation and not real trading. As far as simulations go, they are all done to try and give you a big picture of some of the possible outcomes of your strategy. It gives you a range of how your strategy could perform. If you are willing to accept the range of results your tests produce, only then should you proceed to trade live with real money. Otherwise you may want to consider tweaking your strategy further.
NinjaTrader_Josh is offline  
Reply With Quote
Old 02-02-2010, 10:27 AM   #5
kassaindia
Member
 
Join Date: Sep 2009
Posts: 80
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks !

What you think is the correct setting that I must have for the Data in NT Data Tab

Quote:
Originally Posted by NinjaTrader_Josh View Post
kassaindia,

You can either run the strategy live against the Sim101 account or you can even try the Market Replay features. At the end of the day, forward testing should be also be taken with a grain of salt as it is still simulation and not real trading. As far as simulations go, they are all done to try and give you a big picture of some of the possible outcomes of your strategy. It gives you a range of how your strategy could perform. If you are willing to accept the range of results your tests produce, only then should you proceed to trade live with real money. Otherwise you may want to consider tweaking your strategy further.
kassaindia is offline  
Reply With Quote
Old 02-02-2010, 10:49 AM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

kassaindia, I'm not sure I follow - which settings are you looking to modify in the data tab? If you start strategies from the strategies tab in the Control Center, the default lookbacks listed here would be used, so if you then backtest also from the chart directly results could be different as different data ranges could potentially be used.
NinjaTrader_Bertrand 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
InteractiveBrokers>OwnData>TS8>NinjaTrader(Simulation Edition)<Interactive Brokers virtu Automated Trading 28 05-26-2010 03:35 PM
DATA feed for UK Stocks & FTSE >> advice sort !! johncare Charting 11 03-31-2010 10:16 AM
data series minute -> daily , => crash zweistein Version 7 Beta General Questions & Bug Reports 5 10-16-2009 03:28 PM
Adding audio alert to Double MA>>>>? jeffalan2112 General Programming 1 07-24-2009 06:53 AM
Code->test/debug->change code->retest ... cycle process bbarroux Strategy Development 3 10-02-2007 12:44 PM


All times are GMT -6. The time now is 03:27 AM.