import struct import os import csv from datetime import datetime
If you download fresh CSV data every day after market close, manually converting is tedious. You need . convert csv to metastock format
If you own a licensed copy of MetaStock, you already own . This is the official utility for converting data. import struct import os import csv from datetime
Free, fully customizable, great for servers. Cons: High learning curve; risk of corrupting the database if binary writing is off by one byte. convert csv to metastock format