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 > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 01-02-2009, 04:07 AM   #1
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
Default Ninjatrader gets stuck downloading data from IQFeed

I'm using IQFeed for historical data. When I open a chart and request data going back before IQFeed's start, Ninjatrader gets stuck with the "Loading Data..." window. I've let it run for hours and it doesn't complete. The only solution is to exit Ninjatrader.

If I select a start date that is after the IQFeed's start date, then it works properly. It seems Ninjatrader is requesting data from IQFeed and IQFeed doesn't have it and instead of just displaying the data it can get it hangs up.

Is there a solution to this?
cunparis is offline  
Reply With Quote
Old 01-02-2009, 04:26 AM   #2
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
Default

Hello cunparis,

What date is referred with 'IQFeed's start date'?

Could you please provide me an example so I can test it on my end.

Try closing all windows except the Control Center and open up a new chart that contains a start date before 'IQFeed's start date' and check if the chart will load with data.
NinjaTrader_Jason is offline  
Reply With Quote
Old 01-02-2009, 04:29 AM   #3
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
Default

Quote:
Originally Posted by NinjaTrader_Jason View Post
Hello cunparis,

What date is referred with 'IQFeed's start date'?

Could you please provide me an example so I can test it on my end.

Try closing all windows except the Control Center and open up a new chart that contains a start date before 'IQFeed's start date' and check if the chart will load with data.
Here's what I did:

I went into instrument manager and modified the IQ symbol for CL to be QCL which they recommended so that I get the intraday data.

I then open a 5 min chart start date of 5/2006 to present. It hangs. Apparently IQFeed's data goes back to May 2007. After exiting Ninjatrader I reloaded and then did the chart with a start date of 5/2007 and it worked just fine, loaded up real fast.

It's not just with CL, I've experienced this with all the futures. The only workaround I've found is to request a 5 min chart day by day until I find the beginning of IQFeed's data. This takes a long time and it's very frustrating.

Thanks for looking into it.
cunparis is offline  
Reply With Quote
Old 01-02-2009, 05:10 AM   #4
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
Default

I assume you are trying to retrieve data for the continuous CL contract. Make sure the Expiry for the CL is set to ##-## in that case.

I tested a CL ##-## chart and received data from 2006. Note, it can take a while for all data to be loaded.
NinjaTrader_Jason is offline  
Reply With Quote
Old 01-02-2009, 08:37 AM   #5
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
Default

Quote:
Originally Posted by NinjaTrader_Jason View Post
I assume you are trying to retrieve data for the continuous CL contract. Make sure the Expiry for the CL is set to ##-## in that case.

I tested a CL ##-## chart and received data from 2006. Note, it can take a while for all data to be loaded.
Are you using QCL or CL? Try QCL with ##-##. Try to get data from 8/1/2006 to 10/2/2006. For me it hangs up. More recent than that it works, but this one has been going for maybe 15 minutes now.

I find when there is data it's really fast and when it takes 15 minutes there is no data and I have to exit Ninjatrader and restart to get it working.
cunparis is offline  
Reply With Quote
Old 01-02-2009, 08:48 AM   #6
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
Default

I tested your range settings and was able to load data. It took a few minutes to load the chart.

I deleted all historical data for the CL ##-## first. Using QCL as the symbol mapping.

Please remove all indicators you have applied in the chart and close all other NinjaTrader windows except the Control Center before loading the chart.
Attached Images
File Type: jpg CL##.JPG (88.7 KB, 6 views)
NinjaTrader_Jason is offline  
Reply With Quote
Old 01-02-2009, 09:20 AM   #7
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
Default

Quote:
Originally Posted by NinjaTrader_Jason View Post
I tested your range settings and was able to load data. It took a few minutes to load the chart.

I deleted all historical data for the CL ##-## first. Using QCL as the symbol mapping.

Please remove all indicators you have applied in the chart and close all other NinjaTrader windows except the Control Center before loading the chart.
I didn't know one could delete the historical data for just one symbol, so I did that for CL.

How long did yours take? Mine has been going for 16 minutes now. I find it strange that it would take so long for 2 months of data, and at the same time if I put the most recent 2 months the data loads in a few seconds.
Last edited by cunparis; 01-02-2009 at 09:29 AM.
cunparis is offline  
Reply With Quote
Old 01-02-2009, 09:30 AM   #8
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
Default

It took a few minutes to load the data.

If you are running other applications, I suggest to reduce these to a minimum as well.
NinjaTrader_Jason is offline  
Reply With Quote
Old 01-02-2009, 09:33 AM   #9
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
Default

Quote:
Originally Posted by NinjaTrader_Jason View Post
It took a few minutes to load the data.

If you are running other applications, I suggest to reduce these to a minimum as well.
I will let it go overnight and see what happens. After 16 minutes I exited because I have work to do and can't wait.

So normally, could I just open a chart from say 2004 to present and it will fill up with all the data available for IQFeed? If so I'll start doing this overnight and get all my historical data.
cunparis is offline  
Reply With Quote
Old 01-02-2009, 10:06 AM   #10
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
Default

Correct. Let me know the outcome and if needed I will gladly assist you further.
NinjaTrader_Jason is offline  
Reply With Quote
Old 01-02-2009, 10:15 AM   #11
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
Default

Ok, I tried again with data from 10/1/2006 to 12/1/2006 which had worked before I erased the data. After a half hour I give up. My CPU is 0%, nothing else is running. I just don't get what could cause this.

I exited and then reran ninjatrader. I erased all data and then opened a new chart of CL from 5/2007 to present and it loaded in less than a minute. So there is definitely a problem.

5/2007 - present = 1 minute
8/2006 - 10/2006 = 30 minutes+

Any ideas? Once before I had something similar and I reset my instrument list and it went away. Now I'm afraid to reset my instrument list because I've customized it and I'd have to do all that over again.
cunparis is offline  
Reply With Quote
Old 01-02-2009, 10:19 AM   #12
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
Default

Could you please send me your IQFeed login credentials to support[at]ninjatrader[dot]com, reference this thread and put 'Attn Jason' in the subject header. That way, I can test your connection to check if the connection somehow could be the cause.

You could try removing the CL ##-## from your default instruments and add it back. I suggest to check all its settings before adding the instrument back to your list.
NinjaTrader_Jason is offline  
Reply With Quote
Old 01-04-2009, 02:08 AM   #13
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
Default

Quote:
Originally Posted by NinjaTrader_Jason View Post
Could you please send me your IQFeed login credentials to support[at]ninjatrader[dot]com, reference this thread and put 'Attn Jason' in the subject header. That way, I can test your connection to check if the connection somehow could be the cause.

You could try removing the CL ##-## from your default instruments and add it back. I suggest to check all its settings before adding the instrument back to your list.
I just tried with opentick and it's amazingly fast. So this rules out any problem on my end and narrows it down to one of two possibilities:

1 - IQFeed is really slow when you request data earlier than what they have?
2 - The interface between ninjatrader and IQFeed has a problem that can't detect when IQFeed doesn't have any data

I will send you my connection info.

Thanks
cunparis is offline  
Reply With Quote
Old 01-04-2009, 08:36 AM   #14
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
Default

Quote:
Originally Posted by cunparis View Post
I just tried with opentick and it's amazingly fast. So this rules out any problem on my end and narrows it down to one of two possibilities:

1 - IQFeed is really slow when you request data earlier than what they have?
2 - The interface between ninjatrader and IQFeed has a problem that can't detect when IQFeed doesn't have any data

I will send you my connection info.

Thanks
I tried today, Sunday. IQFeed appears to be working properly. It is slow, but eventually it comes up. I am now pretty sure the problem is on IQFeed's end with their slow servers. It will go 30 seconds before receiving data (see attached image "seconds since last update").
Attached Images
File Type: jpg iqfeed slow.jpg (58.0 KB, 16 views)
cunparis is offline  
Reply With Quote
Old 01-05-2009, 09:33 AM   #15
TapeReader
Member
 
Join Date: Jun 2006
Location: , ,
Posts: 72
Thanks: 0
Thanked 0 times in 0 posts
Default

I too am having slow load times with DTN...But am also using the same DTN connection to feed NeoTicker.

I am not seeing any delay with the feed to NeoTicker.

Perplexing.
Last edited by TapeReader; 01-05-2009 at 09:35 AM.
TapeReader 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
Stuck on Saving or Loading Data pkinoc Miscellaneous Support 9 06-13-2008 12:13 AM
Downloading Zenfire Historical Data jeremymgp Historical NinjaTrader 6.5 Beta Threads 3 02-18-2008 08:49 AM
Add status feedback when downloading historical data cunparis Suggestions And Feedback 1 02-17-2008 08:23 AM
chart window, stuck, loading data kekkis Miscellaneous Support 1 01-07-2008 08:32 AM
Downloading Data HelloHello Miscellaneous Support 3 08-11-2007 11:24 PM


All times are GMT -6. The time now is 05:15 PM.