Reading/Writing arrays from/to file?
Author: ZDavid
Creation Date: 4/14/2009 1:44 PM
profile picture

ZDavid

#1
Whenever a trade is made I'd like to store some data in an array (so basically a list or array of arrays) about the stock: Price/Quant/P&L/Date/Time, etc.

I'd also like it to write it to a file at EOD. And at the beginning of each day read that file and store it once more.

profile picture

Eugene

#2
Here's a couple of links on saving trade data to a file to start with:

SaveTrades
profile picture

ZDavid

#3
Thanks again. Is reading that data much more complicated?
profile picture

Eugene

#4
No, see here for some Text File Read tutorials.

Or from a different perspective, how to populate a Price Series with data from a file (and the source file: SeriesHelper.cs)
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).