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 01-26-2010, 04:52 AM   #1
nebeno
Junior Member
 
Join Date: Nov 2009
Posts: 3
Default problems backtesting with tick data

I currently have 3 months worth of ES tick data. Unfortunately backtesting is horribly slow if I test tick by tick (which my strategy necessitates). I can only run a test 1 month at a time, if I try much more it crashes NinjaTrader. So I have to run it a month at a time, paste the results into Excel, and then analyze it there. And I really need is to test for the past year at least. I'm running a P4 with 2GB ram. Do I just need a super computer? Is there a different way to setup or program something to make this run faster? Again, the strategy is very simple, just using a few variables and checking against an SMA. Let me know if there's anything I can do. And if anyone else has trouble with tick data, or if it runs fine, let me know you system specs. Maybe it's just time for an upgrade. thanks.
nebeno is offline  
Reply With Quote
Old 01-26-2010, 07:00 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Hamburg / Lueneburg - Germany
Posts: 11,858
Default

nebeno, most likely your running out of memory with this operation on tick data (expected on 6.5) - NinjaTrader 7 will offer much more efficient handling of this -

http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
__________________
Bertrand, NinjaTrader Customer Service
NinjaTrader is a FREE application for advanced charting, market analytics, system development and trade simulation.

View schedule of upcoming online product training events.

NinjaTrader_Bertrand is offline  
Reply With Quote
Old 02-08-2010, 12:21 PM   #3
trade4$
Junior Member
 
Join Date: Jun 2009
Posts: 3
Default

Hi Nebero,
Could you tell me how you tested with tick data? My system is also based on tick data. From what I saw, there is no way to back test tick data in NT(the "OnMarketData" method was never called during the testing). I ever tried moving my code to "OnBarUpdate" then calling GetCurrentAsk and GetCurrentBid but it still didn't trigger any orders. My system runs fine in live, so I have to do forward testing only and manually adjusting settings.
Thanks!
trade4$ is offline  
Reply With Quote
Old 02-09-2010, 03:54 PM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Hamburg / Lueneburg - Germany
Posts: 11,858
Default

trade4$, correct OnMarketDate() is for realtime use only, same as for GetCurrentBid() and GetCurrentAsk() - those will be replaced with Close in backtesting. NinjaTrader 7 will offer accessing historical bid / ask data if supported by the provider -

http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
__________________
Bertrand, NinjaTrader Customer Service
NinjaTrader is a FREE application for advanced charting, market analytics, system development and trade simulation.

View schedule of upcoming online product training events.

NinjaTrader_Bertrand is offline  
Reply With Quote
Old 03-05-2010, 05:09 AM   #5
DaveE
Member
 
Join Date: Mar 2010
Posts: 39
Default

Quote:
Originally Posted by NinjaTrader_Bertrand View Post
NinjaTrader 7 will offer accessing historical bid / ask data if supported by the provider -

http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
Do you have a list of providers who support historical bid/ask?
If there is no list, can you confirm whether Interactive Brokers provide this to NT7?
DaveE is offline  
Reply With Quote
Old 03-05-2010, 05:21 AM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Hamburg / Lueneburg - Germany
Posts: 11,858
Default

Dave, would unfortunately not have a list yet - IB would support this as I just tested here...
__________________
Bertrand, NinjaTrader Customer Service
NinjaTrader is a FREE application for advanced charting, market analytics, system development and trade simulation.

View schedule of upcoming online product training events.

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
Backtesting with tick data history boscap Strategy Development 3 11-03-2009 04:10 AM
Problems with importing historical data (tick) Lumpi Miscellaneous Support 3 08-21-2009 12:23 AM
Backtesting Tick Data billyb Strategy Analyzer 4 04-02-2009 03:55 PM
importing tick data into fictitious symbol for backtesting diffused Strategy Analyzer 2 03-02-2009 02:54 PM
Backtesting with tick data johannes Strategy Analyzer 8 02-21-2009 08:21 PM


All times are GMT -6. The time now is 01:41 PM.