![]() |
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
|
|||||||
| 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
|
I am a new customer of Iqfeed, primarily so I can backtest data and I have noticed that a lot of the time there are large gaps in the data. I have contacted IQfeed about this problem and they say it is not on their end that it is a problem with ninjatrader. Could you help me resolve this issue?
Below is a jpeg of data that appears to have gapped on me. Thanks Pete |
|
|
|
|
|
#2 | |
|
NinjaTrader Customer Service
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
|
Quote:
Thank you for your post. Can you open a chart for this time period and see if the historical data loads?
Ray S
NinjaTrader Customer Service |
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
|
yes I am getting all the historical data when I bring up the chart.
|
|
|
|
|
|
#4 | |
|
NinjaTrader Customer Service
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
|
Quote:
Do you see data for this period and were there any trades placed? More information on the Charts tab here: http://www.ninjatrader-support.com/H...eDataTabs.html
Ray S
NinjaTrader Customer Service |
|
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
|
I see data and I see trades taking place but there is nothing showing when I go to my graphs - daily net profit.
Thanks Pete |
|
|
|
|
|
#6 | |
|
NinjaTrader Customer Service
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
|
Quote:
Then look at these dates and see if there is a value under "Net." Thank you!
Ray S
NinjaTrader Customer Service |
|
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
|
It isn't showing in periods either.
it goes right from April 1 to May 1. But the chart shows around 1 trade a day which is correct. Thanks Pete |
|
|
|
|
|
#8 | |
|
NinjaTrader Customer Service
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
|
Quote:
Then perform the backtest again and let me know if the issue persists.
Ray S
NinjaTrader Customer Service |
|
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
|
that didn't work.
This is a significant problem because I am basing my live trades on my total net profit of my back tests of 2 months at a time. If one of the months is missing then it is useless. please help. Thanks Pete |
|
|
|
|
|
#10 | |
|
NinjaTrader Customer Service
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
|
Quote:
Can you perform the same period backtest with the SampleMACrossover Strategy? Does the issue happen with this strategy? If so, please let me know what datafeed, period, and instrument, so I can recreate this backtest on my end. Thank you!
Ray S
NinjaTrader Customer Service |
|
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
|
I just ran the test on the sample MA crossover and the same thing happened. I ran it on Apache APA NYSE from iqfeed from 1/1/2009 to 6/10/2009. I have brought up the problem with IQfeed and they have been saying that is deffinately a NT problem and that they have all of the data for the stocks that I am running.
|
|
|
|
|
|
#12 |
|
NinjaTrader Customer Service
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
|
I tested the SampleMaCrossover strategy for stock APA from 1/12009 through today, 6/11/2009. I used 5 and 10 for the fast and slow respectively.
It shows trades as going through every day. Can you try this same backtest?
Ray S
NinjaTrader Customer Service |
|
|
|
|
|
#13 |
|
Senior Member
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
|
Same thing.
I tried multiple time series as well, 10min and 1 min and it shows a month gap. |
|
|
|
|
|
#14 |
|
Senior Member
Join Date: Feb 2008
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
|
sorry it gaps from 1/8/2009 to 4/21/2009 but shows trades on the charts for that period of time.
|
|
|
|
|
|
#15 | |
|
NinjaTrader Customer Service
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
|
Quote:
Please try repairing your database: 1. Go to Tools --> Options --> Misc --> Repair DB Please try repairing your NinjaTrader Installation: 1. Shut Down NinjaTrader 2. Go to Uninstall Programs in the Windows Control Panel 3. Select NinjaTrader and hit the "repair" or "change" button and follow the instructions to repair the installation.
Ray S
NinjaTrader Customer Service |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ETF Data backtest | pistolpete | Automated Trading | 1 | 04-15-2009 12:57 PM |
| Backtest with Yahoo data doesn't work | FireFly | Strategy Analyzer | 6 | 02-11-2009 10:25 AM |
| getting data for backtest | latkinso | General Programming | 8 | 01-23-2009 02:00 PM |
| ExitOnClose at EOD data backtest | sniper29a | Strategy Development | 21 | 12-15-2008 11:40 AM |
| Retrieving data from backtest UI | 8DTK8 | Strategy Analyzer | 1 | 11-13-2008 07:10 AM |