Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 675 Bytes

README.md

File metadata and controls

14 lines (7 loc) · 675 Bytes

metastock2pd

A simple utility to convert metastock data to pandas dataframe.

You can conda install it from https://anaconda.org/yoavgit/metastock2pd or pip install from https://pypi.org/project/metastock2pd

This is a simpler version of https://github.com/themech/ms2txt and themech should get all the credit for the heavy lifting in parsing the bytes.

There are two functions you care about:

  • metastock_read_master('c:/directory') will read metastock master, emaster and xmaster files as a table of available files. We can then read these files directly using...
  • metastock_read('c:/directory/F1.dat') will read metastock datafiles: either dat or mwd extensions.