You need to know Java, as I didn't go the full route of packaging this into a directly executable code, and BTW I can't predict what actual use you'd have for such a code
My test bed, actually executable:
If you succeed in recompiling, or want to use Metastock.jar, then you can invoke the included main using:
Code: Select all
java -cp Metastock.jar com.mac.verec.datafeed.metastock.Main <path>
For example, if your "MASTER" file path is : "~/Projects/Quotes/MASTER", pass "~/Project/Quotes/" for the path. YMMV according to your OS.
After a couple dozen lines of display, the program stops. You'll find, in the very directory you specified, as many I*.txt files as they are F*.dat files, Those "I" files are in CSV format directly usable by Excel.
Please, dont try to navigate the site elsewhere, you'd only get 404 ;-(
I hope this will be useful to someone
PLEASE, USE THIS CODE AT YOUR OWN RISK. I DON'T INTEND TO SUPPORT IT BEYOND MY OWN NEEDS.
THIS CODE IS 100% MY OWN WORK. I GOT HINTS FROM USING GOOGLE ON "METASTOCK DATA FORMAT", ALL FROM PUBLIC USENET NEWSGROUPS. I SIGNED NO NDA WHATSOEVER WITH EQUIIS/REUTERS REGARDING THIS CODE OR THIS FORMAT. ALL BUGS ARE MINE. ALL TROUBLES ARE YOURS.