NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM 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 > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 07-13-2009, 02:02 PM   #1
jeffshantz
Junior Member
 
Join Date: May 2009
Posts: 15
Thanks: 0
Thanked 0 times in 0 posts
Default Importing Historical Data

Hello,

I am running NinjaTrader 6.5.1000.10 connected to Interactive Brokers. I am running TWS 892.7.

I am having problems importing historical data. I understand the limits that IB has imposed on their API (2 days max worth of 1 minute bars per request, as per http://www.interactivebrokers.com/ph...imitations.htm).

The problem is that I am simply trying to import a day or two worth of 1 minute bars for SRS (an ETF traded on NYSE's ARCA). I'm just starting small to at least get something working. So, I go to Tools > Historical Data > Reload. I have the following settings:

Type: <Default>
Name: SRS
From: 7/10/2009
To: 7/10/2009
Intervals: Minute

I click OK, and get no error message, but no other message either indicating that it imported successfully. Nothing is shown on the NT log tab either.

So, to test to see if any data came through, I select Tools > Historical Data > Export, and try to export 1 minute data on SRS for the same day (7/10/2009). It tells me that no such data exists.

Now, before you suggest that I go and reset my instruments or repair my DB, trust me, I've read the forums, I've done it. And I know that my instrument is working since if I go to File > New Chart, I can get as much historical chart data on SRS as I please.

So, can someone tell me how to get my historical data imported so that I can start backtesting my strategies? Thank you.
jeffshantz is offline  
Reply With Quote
Old 07-13-2009, 02:24 PM   #2
NinjaTrader_RJ
NinjaTrader Customer Service
 
NinjaTrader_RJ's Avatar
 
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
Default

Hello Jeffshantz,

Thank you for your post.

I have the same behavior on my end.

I will send this issue to development and post back.

Thank you for reporting!
NinjaTrader_RJ is offline  
Reply With Quote
Old 07-14-2009, 05:16 AM   #3
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
Default

Hello jeffshantz,

I tested the process on my end, but I could not reproduce the error. I performed the following steps.

Start NinjaTrader and connect to IB. Set 'Type:' to 'Stock' in the Control Center. Type 'SRS' in the Name:' field and hit Enter.

I went to Tools-->Instrument Manager and added the SRS stock to my default instrument list.

I reloaded historical data for the same date via Tools-->Historical Data-->Reload by selecting it from the default instrument list.

Subsequently I exported minute data for 7/10 and it exported successful.
I suggest to perform the same steps and check if this will work.

To perform these steps please remove any current SRS instrument from the Instrument Manager before typing SRS in the Control Center.
NinjaTrader_Jason is offline  
Reply With Quote
Old 07-14-2009, 08:01 AM   #4
jeffshantz
Junior Member
 
Join Date: May 2009
Posts: 15
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Jason View Post
Hello jeffshantz,

I tested the process on my end, but I could not reproduce the error. I performed the following steps.

Start NinjaTrader and connect to IB. Set 'Type:' to 'Stock' in the Control Center. Type 'SRS' in the Name:' field and hit Enter.

I went to Tools-->Instrument Manager and added the SRS stock to my default instrument list.

I reloaded historical data for the same date via Tools-->Historical Data-->Reload by selecting it from the default instrument list.

Subsequently I exported minute data for 7/10 and it exported successful.
I suggest to perform the same steps and check if this will work.

To perform these steps please remove any current SRS instrument from the Instrument Manager before typing SRS in the Control Center.
Jason, I've removed and readded the instrument (and reset my instruments list, and reset the DB, and repaired the DB, and deleted all imported data) 100,000 times. It's still not working. Great, it worked for you. It doesn't work for me. It also didn't work for your colleague. So this comment really doesn't help me and doesn't address the underlying issue.

I should mention that I had to write a custom program using the Java TWS API to get the data I needed. When I use my program and go through the API, I'm able to download the data just fine (so there's nothing wrong with my data subscription). When I go through NinjaTrader, I get nothing. Go figure. You pay money for a product, and then have to write your own program to do exactly what that product is supposed to do.
Last edited by jeffshantz; 07-14-2009 at 08:05 AM.
jeffshantz is offline  
Reply With Quote
Old 07-14-2009, 11:11 AM   #5
NinjaTrader_RJ
NinjaTrader Customer Service
 
NinjaTrader_RJ's Avatar
 
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
Default

I was able to get this working, please try the following:

1.) Open a 1 minute SDS chart starting 7/9 and ending 7/10

2.) Try an export from 7/9 to 7/10

Let me know if that works.
NinjaTrader_RJ is offline  
Reply With Quote
Old 04-27-2010, 01:33 PM   #6
sharpie
Member
 
Join Date: Jul 2009
Location: Victoria BC
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
Default reloading data from IB

I want to reload some historical data from IB. I cannot select "reload historical data" from a chart nor from Tools > Historical Data. It is ahaded and not accessible.

I am connected live to IB, build 900, NT6.5 current.

Thx
sharpie is offline  
Reply With Quote
Old 04-27-2010, 02:53 PM   #7
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 sharpie,

In which interval are you charting?
NinjaTrader_Kyle is offline  
Reply With Quote
Old 04-27-2010, 11:50 PM   #8
sharpie
Member
 
Join Date: Jul 2009
Location: Victoria BC
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
Default

I was trying to reload 1 min data, but that doesn't seem to be the issue because I cannot get to the facility even through "tools". Like, I can't get to the point where it asks me about intervals or start dates. It is as if I don't have a switch turned on somewhere, be in NT or TWS.

I should also note that I previously subscribed to Barchart.com and was able to pick up historical data without a problem.

Thx
sharpie is offline  
Reply With Quote
Old 04-28-2010, 04:20 AM   #9
NinjaTrader_Vincent
NinjaTrader Customer Service
 
NinjaTrader_Vincent's Avatar
 
Join Date: Mar 2005
Location: Amsterdam, The Netherlands
Posts: 2,042
Thanks: 0
Thanked 3 times in 3 posts
Default

Are you connected to your Live account or to the Sim account? You can only do this when connected to your Live account.
NinjaTrader_Vincent is offline  
Reply With Quote
Old 04-28-2010, 07:49 AM   #10
sharpie
Member
 
Join Date: Jul 2009
Location: Victoria BC
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
Default

I am connected to my live account.
sharpie is offline  
Reply With Quote
Old 04-28-2010, 08:46 AM   #11
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 sharpie,

Please send a note to Support [AT] NinjaTrader [DOT] com with 'ATTN: Kyle' in the subject line.

In the message, please include the following:
1.) A link to this forum thread.

2.) Your most current trace file.
You will find the trace file in the My Documents > NinjaTrader 6.5 > Trace folder.
The file will be named 'trace.YYYYMMDD.txt' (where YYYYMMDD is the most recent date available)
NinjaTrader_Kyle is offline  
Reply With Quote
Old 04-28-2010, 04:25 PM   #12
sharpie
Member
 
Join Date: Jul 2009
Location: Victoria BC
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
Default

I sent the trace file as requested, but problem solved....

When I cancelled my BarChart subscription I did not change the IB connection to reflect that IB backup data feed should be set to "none".

Sorry for not realizing that sooner.
sharpie is offline  
Reply With Quote
Old 04-29-2010, 07:43 AM   #13
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 sharpie,

I'm glad to hear that you identified and resolved this issue!
Please let us know if anything else comes up.
Have a great day!
NinjaTrader_Kyle 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
ANfutures Historical Data Importing? davidwm88 Charting 4 08-12-2009 12:01 AM
Importing Historical Data Liujs Miscellaneous Support 8 05-28-2009 07:40 AM
Importing historical data hanoakihiro Charting 1 04-23-2009 06:46 AM
trouble importing historical data rymondo Connecting 1 03-08-2009 05:00 PM
Importing Historical Data Forex Skyhr Miscellaneous Support 1 05-31-2007 04:42 AM


All times are GMT -6. The time now is 03:36 AM.