PDA

View Full Version : Error on Importing Tick Data


sdooley
03-13-2007, 04:09 PM
Hi,

I've downloaded GBP/JPY Tick Data into a .txt. file and am having trouble importing it.


I keep getting a logged error message saying "Instrument is not supported by repository."

Can you tell me what kind of data massaging I need to do to getthe datato load?

Currently it's in the form of...
2004.06.16,13:35,200.68,200.72,200.68,200.70,15

Is there sample data that I can look at to get an idea of format?

Thanks,
Steve D.

NinjaTrader_Dierk
03-13-2007, 11:12 PM
What's the name of the data file? Should be something like "$GBPJPY.txt".

sdooley
03-14-2007, 02:24 AM
OK I named it "$GBPJPY.txt". I get the following error message: "$GBPJPY: Unexpected number of fields in line '1', should be 6 or 3."

Here are the first few lines of data:
2004.06.16,13:35,200.68,200.72,200.68,200.70,15
2004.06.16,13:36,200.71,200.81,200.69,200.81,21
2004.06.16,13:37,200.80,200.82,200.80,200.80,5


There are 7 fields of data. For experimentation, I have tried to load the data without the last field (so that there's just 6 fields but still get same message. ("$GBPJPY: Unexpected number of fields in line '1', should be 6 or 3.")

This is how the data looks with the last field chopped off
2004.06.16,13:35,200.68,200.72,200.68,200.70
2004.06.16,13:36,200.71,200.81,200.69,200.81
2004.06.16,13:37,200.80,200.82,200.80,200.80

I'm assuming the fields need to be comma-delimited? Is there a sample template of data available?

Thanks,
Steve D

NinjaTrader_Dierk
03-14-2007, 02:28 AM
Please consult the docs: Historical data -> Import

sdooley
03-14-2007, 03:08 AM
Perfect. Very helpful. Thanks.