This is great acidburn!
Got it working with minor changes for filenames and formatting.
I added a printf to try and confirm the writing, but it isn't working out like I expected. Here's the .csv line:
20120102 024400,1.04098,1.04108,1.04098,1.04102,0
here's the printf statement:
printf("\n %f %f %f %f %f",tick.time,tick.fOpen,tick.fHigh,tick.fLow,tick.fClose);
here's the results:
40910.113889 0.010380 0.010376 0.000000 0.000000
The time appears to be OK. the values, not so much.
Is there a better way to confirm the writing?
Thanks,
P

Last edited by Pork; 01/06/14 15:53.