|
Richie Peterson
2023-12-19 02:07:55
|
|
Hi
I know this question probably has been asked many times here but the format selected in those questions is not the one required by Metastock Downloader hence this question again!!
Here's the line I changed :
text.AppendLine(sym.Name + ",D," + quotes.Date[j].ToString("mm/dd/yyyy") + "," + quotes.Open[j] + "," + quotes.High[j] + "," + quotes.Low[j] + "," + quotes.Close[j] + "," + quotes.Volume[j] + "," + quotes.OpenInterest[j]);
As Metastock Downloader needs the data to be arranged in this layout of the ascii file
<ticker>, <per>, <date>, <open>, <high>, <low>, <close>, <vol>, <o/i>
I tried changing the order given in earlier answers but every time I tried to import the data base using Metastock Downloader it gives me an error message saying "Invalid File Format"!!
It changes the date format which spoils everything
How can I get this right in the format below?
<ticker>, <per>, <date>, <open>, <high>, <low>, <close>, <vol>, <o/i>
Thanks!!
|
|