Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Convert ASCII to Metastock using VB

95 views
Skip to first unread message

kk12338

unread,
Mar 24, 2002, 10:57:14 PM3/24/02
to
Hi,

I am a newbie in VB. Can anyone show me how to convert ascii stock
data to metastock format using VB ? I require this to automate my
daily download.

Many thanks
kk

Gregory Toomey

unread,
Mar 25, 2002, 1:04:22 AM3/25/02
to
"kk12338" <kk1...@yahoo.com> wrote in message
news:b1f8f08a.02032...@posting.google.com...

Metastock format simple: ticker, date (yyyymmdd), open, high, low, close,
volume
Comma separated , carriage return linefeed terminated, amounts as 99999.99

gtoomey

gtoomey


telstra

unread,
Mar 25, 2002, 4:43:48 AM3/25/02
to
use downloader to convert from
ticker,mm/dd/yy,open,hi,lo,close,vol,openinterest(invented usually)
to metastock format.
all you have to do is convert your ascii to that format.
I use a c program from dos command line depending what form the ascii is in.
email me if you want to know more.at pres...@hotmail.com
I write them so can give you what you want -I use cooltrader.net.au ascii
data
and process each text file after d/l then use result to feed into metastock
downloader

stan
"Gregory Toomey" <nob...@nowhere.com> wrote in message
news:P0zn8.19446$uR5....@newsfeeds.bigpond.com...

B J Foster

unread,
Mar 25, 2002, 8:16:14 AM3/25/02
to
1. Do it manually.
2. Do it again, recording a VB macro
3. Rewrite the macro

Tom N

unread,
Mar 28, 2002, 1:40:46 AM3/28/02
to
What do you means by "metastock format"?

Do you mean something the downloader will read? If so, then you may as well
just find a source that provides metastock format. e.g. cooltrader.net

If you mean writing to the metastock internal data files (e.g. XMASTER
F1.dat F267.mwd), then that's not a task you would try as a newbie. The
documentation on the file formats is not available for a start.

"kk12338" <kk1...@yahoo.com> wrote in message
news:b1f8f08a.02032...@posting.google.com...

John MacIntyre

unread,
Apr 1, 2002, 7:57:42 PM4/1/02
to

Hi kk,

MS has a library for the conversion (or at least used to).

The format of the files though is not a simple one because the singles
& doubles are not the current data type you are familliar with in VB.
They used something called Microsoft Binary Format instead of the IEEE
formats we use now. There is information on the format at
groups.google.com.

IMHO-Buy the library or skip it all together.

Good luck


Regards,
John MacIntyre
=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
HeldUp keeps any program in full view even when working
in another. Great for programs and utilities like :
* Calculator * Video Viewers
* CharMap * Notepad
* Directory software * Any Reference tool
Details at http://www.johnmacintyre.ca/HeldUp.asp
*** 20 DAY TRIAL AVAILABLE ***
=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=

0 new messages