Dear All,
Finally, I found a way to load the large size csv file in this link (http://code.kx.com/wiki/Cookbook/LoadingFromLargeFiles).
.Q.fs[{`:newfile upsert flip `DateTime`Bid`Ask!("ZFF";",")0:x}]`:EURUSD.csv
I believe this one is the right one. I just have little trouble on datetime.
here is my EURUSD.csv format:
According the code above, I only read first three column datetime, bid and ask. I have trouble to split the datetime into the date and hh:mm:ss.xxx. The code above would update the table persisted on disk called `newfile directly and the table will only have three column. I prefer to have four column: date, time, bid, ask.
How could i modify the code above to convert the large csv data in to persisted table directly? The reason I would have code to do it DIRECTLY is he the EURUSD.csv is really large and I could not load the whole EURUSD into a in-memory table first and split the first column by updating the table, then writing it. Anyone could help me to split the first column?
Thank you very much and have a nice day
Wenhao SHE