monkeybus:
You Open the File, start the loop, write the first set of values, Close the File, then try to write the rest of the values . . . to a closed file.
Suppose I want to write the last 100 bars to a CSV file, why doesn't this code work?
The loop doesn't seem to be updating.
Can anybody help me out?
You are correct. How could I miss this?
Thanks a lot.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Suppose I want to write the last 100 bars to a CSV file, why doesn't this code work?
The loop doesn't seem to be updating.
Can anybody help me out?
Thanks folks.