marketsim.py reads/writes