I'm trying to import my hystorical data to NT8, but I can't understand what is wrong with it. I made the format like it is in instruction, but import fails. Please, help me.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
What is wrong with my csv file?
Collapse
X
-
Hello,
Thanks for that clarification.
You'll want to use VIX.Last.csv (capitalization is important as well).
Historical data can be imported from a text file with a ".txt" extension within the Load tab of the Historical Data Window. Several formats and data types are supported and NinjaTrader can optionally build 'Minute' bars from tick data as well as 'Day' bars from tick or minute data.
Additionally, you'll need to ensure the data is formatted correctly according to the type of data and what each field is meant to represent:
Please let me know if I may be of any further assistance.Marco G.NinjaTrader Customer Service
Comment
-
The same result. Data is formatted correctly, but import fails.Attached Files
Comment
-
Hello,
Thank you for the reply.
I was also unable to import this data due to the format.
It looks as though you h ve two ';;' semi-colons after each line, which would not match the specified format in the Help Guide.
It looks like it is failing with the error 'Unexpected number of fields,' which means you have too much information in each line for a successful import.
What kind of data are you trying to import? Is this daily data, minute data, etc?
I look forward to your reply.
Melissa J.NinjaTrader Customer Service
Comment
-
Hello,
Thank you for the response.
You have 7 entries per line in your file as well:
According to the Help Guide, daily data should look like this:20200422;35.36;35.52;33.68;33.94;-1.85;0;; 20061023;1377.25;1377.25;1377.25;1377.25;86
I modified your file and removed the -1.85 section for the first few lines, as well as the ';;'.
The result was a new error 'Time stamp is smaller than timestamp of previous line' so you may want to change the order of the lines as well.
I was able to successfully import those four lines by reversing the order, here is a sample file of the format that successfully imported. You would want to make all of the data match this.
Please let us know if you have any further questions.
Attached FilesMelissa J.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
26 views
0 likes
|
Last Post
by wzgy0920
Today, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Today, 10:33 PM
|
||
Started by wzgy0920, Yesterday, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Today, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
192 views
0 likes
|
Last Post
by Hasadafa
Today, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,234 views
0 likes
|
Last Post Today, 08:07 PM |
Comment