![]() |
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
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: May 2009
Posts: 15
Thanks: 0
Thanked 0 times in 0 posts
|
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. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
|
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!
Ray S
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
|
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
NinjaTrader Customer Service |
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: May 2009
Posts: 15
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
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.
|
|
|
|
|
|
|
#5 |
|
NinjaTrader Customer Service
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
|
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.
Ray S
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Member
Join Date: Jul 2009
Location: Victoria BC
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#7 |
|
NinjaTrader Customer Service
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,355
Thanks: 146
Thanked 253 times in 249 posts
|
Hi sharpie,
In which interval are you charting?
Kyle
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Member
Join Date: Jul 2009
Location: Victoria BC
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#9 |
|
NinjaTrader Customer Service
Join Date: Mar 2005
Location: Amsterdam, The Netherlands
Posts: 2,042
Thanks: 0
Thanked 3 times in 3 posts
|
Are you connected to your Live account or to the Sim account? You can only do this when connected to your Live account.
Vincent
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
Member
Join Date: Jul 2009
Location: Victoria BC
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
I am connected to my live account.
|
|
|
|
|
|
#11 |
|
NinjaTrader Customer Service
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,355
Thanks: 146
Thanked 253 times in 249 posts
|
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)
Kyle
NinjaTrader Customer Service |
|
|
|
|
|
#12 |
|
Member
Join Date: Jul 2009
Location: Victoria BC
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
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.
|
|
|
|
|
|
#13 |
|
NinjaTrader Customer Service
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,355
Thanks: 146
Thanked 253 times in 249 posts
|
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!
Kyle
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |