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 04-28-2009, 04:44 PM   #1
pistolpete
Senior Member
 
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
Default Back Testing Data

When I first started building strategies I would test them using opentick then slowly migrate them to live market. Does anyone know of another data source that is cheap or free other then yahoo?
Also, if I am using live yahoo data to run simulated strategies during the day and recording the data, it seems to not let me then use yahoo data to run the backtest using yahoo data for dates that are from before I was recording.
Thanks
Pete
pistolpete is offline  
Reply With Quote
Old 04-28-2009, 04:56 PM   #2
NinjaTrader_Kyle
NinjaTrader Customer Service
 
NinjaTrader_Kyle's Avatar
 
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,355
Thanks: 146
Thanked 253 times in 249 posts
Default

Hello pistolpete,

Thank you for your post.

Unfortunately, Yahoo! is currently the only free data provider.

This occurs when using the Strategy Analyzer?
Do you receive an error message?
NinjaTrader_Kyle is offline  
Reply With Quote
Old 04-28-2009, 05:06 PM   #3
pistolpete
Senior Member
 
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
Default

no error message but if I am in strategy analyzer and I am back testing stocks that I have recorded it doesn't give me the right data, example I back tested FAS on yahoo today from Jan 1 to yesterday and it only gave me 6 days of data, the only explanation for that is that it approximately started around the same time that I started recording. So I went to another computer with NT on it but no recorded and did the same test and it tested right from the date that it was supposed to, 67 trades compared to 6.
Thanks
Pete
pistolpete is offline  
Reply With Quote
Old 04-28-2009, 05:08 PM   #4
NinjaTrader_Kyle
NinjaTrader Customer Service
 
NinjaTrader_Kyle's Avatar
 
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,355
Thanks: 146
Thanked 253 times in 249 posts
Default

Hi pistolpete,

Thank you for your reply.

1.) The strategy analyzer uses historical data, not replay data.

2.) I take it you've set the to-from dates accordingly?
NinjaTrader_Kyle is offline  
Reply With Quote
Old 04-28-2009, 05:16 PM   #5
pistolpete
Senior Member
 
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
Default

If I use my strategy analyzer, I set the dates from Jan 1 to april 27. I am connected to Yahoo, the same source I record from. For some reason the data becomes faulty after you record and then go back to backtest. If I run the exact same strategy with the exact same parameters on a system with no yahoo recorded data it gives the backtested results, much like opentick used to be able to. even if I run a strategy from jan 1 -30 when I was not recording it comes up as '0' across the board.
pistolpete is offline  
Reply With Quote
Old 04-29-2009, 07:37 AM   #6
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

pistolpete,

Make sure you actually have data. Disconnect from your data provider and open a chart. Whatever data you have for that time span will show up in the chart. If you run a backtest it will run it against that data. If you are connected to a data provider it may go off and try to download data for you to backtest on. Remain disconnected if you want to backtest on data already stored in your database.
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
Back Testing vs Live Sim BigDog008 Strategy Development 1 03-20-2009 10:53 AM
Back Testing With The TICK heyligerb Strategy Analyzer 1 02-01-2009 10:39 AM
back testing mary reed Strategy Analyzer 1 01-13-2008 07:23 PM
back testing volume data... bigdaddo Charting 7 11-13-2007 11:14 PM
Re Back testing John_Aus Miscellaneous Support 6 03-15-2005 01:54 AM


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