MetaStock(r) Data Conversion Command Line Utilities v1.3.2
Submitted By:
mimansoor
Rating:
(Not rated) (
Rate It)
=============================================================================
COPYRIGHT AND DISCLAIMER NOTICE -
MetaStock (r) Command Line Data Conversion Utilities release 1.3
Copyright (C) 2004 Mohammed Illyas Mansoor ([[Email Removed]]).
These utility programs are free to use;
These utility programs are distributed in the hope that it
will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
=============================================================================
These are the release notes for MetaStock Command Line Data Conversion
Utilities version 1.3.2
DOCUMENTATION:
- Two command line utilies are provided in this release.
*) Utility to convert MetaStock (r) Binary Data Files
(MASTER, Fxxx.DAT) format to MetaStock(r) ASCII
(SYMB,D,YYMMDD,O,H,L,C,V,OI) or (SYMB,I,YYMMDD,HH:MM:SS,O,H,L,C,V,OI)
format
Command Usage:
C:\ms2asc --help
ms2asc: Converts MetaStock Binary Data files to MetaStock ASCII file format
Usage:
ms2asc [-m <master-filename>] [-f <ascii-filename>]
[--help|-h] [--version|-v] [--quite|-q] [-i <data-directory>]
Example:
In the directory <data-directory> where your MASTER and Fxxx.DAT files
reside run C:\ms2asc -m MASTER -f myascfile.asc -i masterdir
myascfile.asc file will contain data in MetaStock (r) eight field
ASCII format.
*) Utility to convert MetaStock (r) ASCII
(SYMB,D,YYMMDD,O,H,L,C,V,OI), (SYMB,I,YYMMDD,HH:MM:SS,O,H,L,C,V,OI)
format to MetaStock (r) Binary Data Format (MASTER, Fxxx.DAT),
Check for more supported formats in ChangeLog.txt file.
C:\asc2ms --help
asc2ms: Converts MetaStock ASCII files to MetaStock Binary Data file format
Usage:
asc2ms [-m <master-filename>] [-f <ascii-filename>] [--help|-h]
[--version|-v] [--quite|-q] [-o <data-output-directory>]
[--recordFileExist=appendRecord|recordReplace|fileReplace]
Example:
In the directory where you want to create MASTER and Fxxx.DAT files
run
C:\asc2ms -f myascfiles.asc -r r -o masterdir
You will have MASTER and Fxxx.DAT files created in "masterdir"
directory. Before running this program if you already had MASTER
and Fxxx.DAT files, the records with same date, or with same date
and time for intraday data files, would be replaced with the data
in the ASCII file.
You could also opt for replacing the entire data file by selecting
-r fileReplace option, the default is append data record.
These utilities do not work on standard i/o files, hence these
cannot be piped with other programs.