Hiya. Posting this in the trading forum because the software forum is too illiquid lol. If i have tons and tons of historical data in this format 06/05/2006,0931,79.10,79.11,79.07,79.08,102300 06/05/2006,0932,79.06,79.08,79.06,79.07,14900 06/05/2006,0933,79.06,79.07,79.01,79.05,43700 How do I convert it into the proper format for Ninjatrader? ie- it needs to be like 20060605 for the date. It would take me many moons to do it manually. Much obliged.
Right but i'm going to have about 10 years of 1-minute data on like 1500 symbols. It's just impossible.
You might try importing it into Excel (or any spreadsheet) as comma delimited. Then change the format of the Date column (there are custom formats selectable under "Format"). Then "Save As" into another file as Comma-Delimited (don't overwrite your original just in case!)
Thanks, i'll definitely look into Excel for this. Along with the date, I have to add two zeroes to every line to indicate seconds, and change every comma between prices into a colon. :X
I think it also depends on how you have the data. If it is in smaller files, then Excel would be ok, though still time-consuming. If it is in one huge file, or even if not but you know your way around a database package, importing it into a DB would be better. Then you can build the rule to manipulate the column data and write it out in any format you wanted with any changes you wanted line by line through writing a simple program.
It's going to be something like 1200 txt files, each of them a different stock symbol. I don't even know what a database package is, but is it something that I can quickly learn to do this?
Not sure how quickly you can learn it - that's up to your own aptitude at such things. It's not as simple as using Excel, but Excel would not be best for that kind or work because it isn't really the tool for this kind of thing on a large scale. A C++ or C# program would be even better doing file read/writes, but the hurdle might be higher just from learning the programming. So a DB would be a good intermediate tool between the two. Plus you can manipulate the data any way you like once you have it imported and indexed. Oracle would be a good DB. The Microsoft one in Office may work, but you might want to try importing everything in there first (Indexed by Symbol) to see if it can handle so much data. Good luck.