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.

Reply
 
Thread Tools Display Modes
Old 05-31-2012, 05:44 PM   #1
scottreynolds
Member
 
Join Date: Oct 2011
Posts: 75
Thanks: 5
Thanked 0 times in 0 posts
Default RT vs. Historical Data

I have always tested my strategy using a sim account and market replay since I need the strategy to be tested with tick data. I use the GetCurrentBid() and GetCurrentAsk() functions for entering long and short limit orders.

Now I am trying to use the Strategy Analyzer to save time, however, the results are wildly different from market replay. I had to enable Historical data to get my strategy to take trades in Strategy Analyzer. But if I'm not mistaken, Historical data works by bar and not by tick. Is that correct? If so, then market replay results won't be the same as those in Strategy Analyzer. Can someone shed some light on the issue?

Thank you
scottreynolds is offline  
Reply With Quote
Old 06-01-2012, 01:57 AM   #2
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

You are correct in understanding Scott, comparing those cases the results would be expected to be different, keep also in mind GetCurrentAsk and GetCurrentBid would return just the Close[0] value in backtesting, so this will contribute as well.

http://www.ninjatrader.com/support/h...ime_vs_bac.htm
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
excel RT data feed to NT recshenoy Connecting 1 08-27-2011 12:11 PM
saving RT data with multiple feeds klotzki Connecting 1 05-17-2011 06:40 AM
Does CurrentBar constantly increment in RT? grose General Programming 1 04-11-2010 08:28 PM
Demo NT+Zen-fire rt data delay vero-chan Connecting 1 04-17-2009 02:37 AM
Why doesn't the indicator chart update in RT? henry.omd Charting 1 12-16-2007 07:55 PM


All times are GMT -6. The time now is 12:05 AM.