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 > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 07-04-2008, 02:36 PM   #1
cls71
Senior Member
 
Join Date: Jan 2008
Location: Madrid, Spain
Posts: 229
Thanks: 2
Thanked 0 times in 0 posts
Default Import Historical Data

Hello,
I have a problem with importing historical data.
I detail the steps:

I have a 1min-database for Mini-Russel with data from 2001 to 30-may-2008.
I want to load this database into a new instrument (named VCER).
The filename is "VCER 06-08.txt".

First step:
I create the instrument in the Instrument Manager. Its name is "VCER".
Finally I add the VCER with Exchange=Default and Expiry=06-08 to Default list.









Second step:
I run the "Import Historical Data" that finishes ok.

However, when I want to see a chart for VCER, shows nothing.



Could you help me, please ?
Thanks very much.
Attached Images
File Type: jpg instrument_manager01.jpg (92.0 KB, 119 views)
File Type: jpg instrument_editor01.jpg (37.7 KB, 114 views)
File Type: jpg instrument_editor02.jpg (37.7 KB, 113 views)
File Type: jpg format_dataseries01.jpg (29.5 KB, 115 views)
cls71 is offline  
Reply With Quote
Old 07-04-2008, 04:53 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Hi cls71,

How is your data formatted? Is it in this format? http://www.ninjatrader-support.com/H...V6/Import.html
NinjaTrader_Josh is offline  
Reply With Quote
Old 07-05-2008, 12:26 AM   #3
cls71
Senior Member
 
Join Date: Jan 2008
Location: Madrid, Spain
Posts: 229
Thanks: 2
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by Josh View Post
Hi cls71,

How is your data formatted? Is it in this format? http://www.ninjatrader-support.com/H...V6/Import.html
Hello Josh,

yes, the format is correct. The load process finishes right. I paste some lines of the file:

20080530 220300;747.3;747.9;747.3;747.7;844
20080530 220400;747.7;747.8;747.4;747.5;488
20080530 220500;747.6;748.2;747.6;747.9;592
20080530 220600;747.9;748.2;747.7;747.8;900
20080530 220700;747.8;748.8;747.6;748.6;798
20080530 220800;748.5;748.5;748.2;748.3;180
20080530 220900;748.4;748.5;748.3;748.4;286
20080530 221000;748.3;748.5;748.2;748.3;239
20080530 221100;748.3;748.7;748.2;748.6;329
20080530 221200;748.6;748.7;748.4;748.5;242
20080530 221300;748.4;748.5;748.2;748.5;270
20080530 221400;748.5;748.8;748.4;748.6;306
20080530 221500;748.5;748.9;748.3;748.7;473
cls71 is offline  
Reply With Quote
Old 07-05-2008, 12:36 AM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

- please double check by opening a 1 minute chart on "VCER 06-08" at 20080530
- anything in the logs?
NinjaTrader_Dierk is offline  
Reply With Quote
Old 07-05-2008, 01:02 AM   #5
cls71
Senior Member
 
Join Date: Jan 2008
Location: Madrid, Spain
Posts: 229
Thanks: 2
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Dierk View Post
- please double check by opening a 1 minute chart on "VCER 06-08" at 20080530
- anything in the logs?

Hello Dierk,

the logs are empty.

Setting the "First date" to 30/05/2008 and "Last date" to 30/05/2008 works fine. (However with "Bars back" didn`t work )

Now, after the chart showed first once, all options work fine ("Bars back" included).

Thanks and best regards.
cls71 is offline  
Reply With Quote
Old 07-05-2008, 01:26 AM   #6
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Perhaps it wasn't included in the back seeking range earlier. Glad you got it working now though.
NinjaTrader_Josh is offline  
Reply With Quote
Old 05-29-2009, 05:08 AM   #7
Zoltar
Junior Member
 
Join Date: May 2009
Posts: 10
Thanks: 0
Thanked 0 times in 0 posts
Default

I am bumping this thread as it explains exactly all steps I tried importing CAC40 06-09 data. Unfortunatelly my data still doesn't show... all other futures I tried so far work perfectly.

I have read all other threads about import problems but nothing seems to work. I also tried deleting the data, repairing the database, importing just 3 days and build a chart with start end enddate as the second imported day. Rebuild my import file, trying multiple dates, all show an empty chart.

Export data says no historical data found.
Zoltar is offline  
Reply With Quote
Old 05-29-2009, 05:26 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

Hello Zoltar,

When you import the data, do you receive a message that states the import was successful?

Make sure the CAC 06-09 is added to your instrument list in the Instrument Manager. Ensure the .txt file is named; CAC 40 06-09.txt.

In addition, check if the data in the .txt file uses the format listed at the link below.
http://www.ninjatrader-support.com/H...V6/Import.html
NinjaTrader_Jason is offline  
Reply With Quote
Old 05-29-2009, 06:02 AM   #9
Zoltar
Junior Member
 
Join Date: May 2009
Posts: 10
Thanks: 0
Thanked 0 times in 0 posts
Default

The symbol was already in my NT. I did added CAC40 06-09 future to my Instrument list. The filename is "CAC40 06-09.csv". After an import I recieve the message:

Historical data imported succesfully.

Exporting is not possible as there is no data to export says NT. The first time I had errors as the last lines in my csv file contained invalid records containing only zeros.

My file goes back to 2006 with 15 minute data, here is a small part:

20090529 084500;3303.30;3313.00;3303.30;3307.00;1
20090529 090000;3307.50;3315.30;3300.00;3312.80;1
20090529 091500;3312.80;3314.30;3299.80;3307.30;1
20090529 093000;3307.80;3311.30;3302.30;3310.30;1
20090529 094500;3310.30;3313.30;3303.30;3306.00;1
20090529 100000;3306.00;3306.00;3297.30;3302.80;1
20090529 101500;3302.30;3307.30;3301.30;3301.30;1
20090529 103000;3301.30;3308.80;3300.00;3306.30;1
20090529 104500;3305.80;3311.30;3301.30;3306.80;1
20090529 110000;3306.80;3310.80;3305.30;3305.80;1
20090529 111500;3305.80;3312.30;3304.80;3306.30;1
20090529 113000;3306.30;3317.00;3304.30;3314.00;1
20090529 114500;3314.00;3314.30;3309.50;3310.80;1
20090529 120000;3310.50;3313.00;3308.80;3309.30;1
20090529 121500;3309.30;3312.80;3302.30;3305.00;1
20090529 123000;3305.00;3311.30;3303.80;3308.50;1
20090529 124500;3308.50;3312.80;3307.30;3308.50;1
Zoltar is offline  
Reply With Quote
Old 05-29-2009, 06:25 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

Unfortunately only 1 minute bars can be imported as per the link below.
http://www.ninjatrader-support.com/H...V6/Import.html
NinjaTrader_Jason is offline  
Reply With Quote
Old 05-29-2009, 06:31 AM   #11
Zoltar
Junior Member
 
Join Date: May 2009
Posts: 10
Thanks: 0
Thanked 0 times in 0 posts
Default

I overlooked that in the help file as I managed to import 15 minute data for ES, NQ, N225, etc!

Does this implies my backtests on these indices are worthless? Or does it imply that wierd things are going on ?
Zoltar is offline  
Reply With Quote
Old 05-29-2009, 06:36 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

What type of interval is used in your backtest? It does not imply your backtests are worthless. I am not sure why importing 15 minute data worked.

Could you please send me the CAC40 06-09.txt file. Send it to jason@ninjatrader.com and reference this thread.
NinjaTrader_Jason 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
Chart not displaying tick data after historical tick data import Big D Miscellaneous Support 17 10-18-2010 03:14 AM
Use standard CSV format for historical data import Iggy22 Suggestions And Feedback 8 10-17-2010 10:43 PM
Historical data import question iplaygames Miscellaneous Support 7 05-13-2008 08:01 AM
Issue Import Historical Data cls71 Miscellaneous Support 2 04-23-2008 12:25 PM
import/export historical data ATI user Miscellaneous Support 11 04-17-2008 10:39 AM


All times are GMT -6. The time now is 11:22 PM.